# Generated by Django 4.2.14 on 2025-01-21 10:24

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ("patients", "0006_patientgroupreference_group_and_more"),
        ("base", "0005_codeablereference"),
        ("communications", "0002_communicationsenderreference_and_more"),
        ("base", "0005_codeablereference"),
        ("communications", "0002_communicationsenderreference_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="communication",
            name="subject",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="communication_subject",
                to="patients.patientgroupreference",
            ),
        ),
        migrations.AddField(
            model_name="communication",
            name="topic",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="communication_topic",
                to="base.codeableconcept",
            ),
        ),
        migrations.AlterField(
            model_name="communicationreference",
            name="communication",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="communication_reference_communication",
                to="communications.communication",
            ),
        ),
    ]
