# Generated by Django 4.2.14 on 2025-01-16 11:50

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


class Migration(migrations.Migration):

    dependencies = [
        ('conditions', '0002_alter_conditioncodeablereference_concept_and_more'),
        ('careteams', '0001_initial'),
        ('devices', '0001_initial'),
        ('groups', '0001_initial'),
        ('relatedpersons', '0001_initial'),
        ('medicationrequests', '0003_devicedefinitionreference_dispenserequest_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='medicationrequestinformationsourcereference',
            name='related_person',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='relatedpersons.relatedperson'),
        ),
        migrations.AddField(
            model_name='medicationrequestperformerreference',
            name='care_team',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='careteams.careteam'),
        ),
        migrations.AddField(
            model_name='medicationrequestperformerreference',
            name='related_person',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='relatedpersons.relatedperson'),
        ),
        migrations.AddField(
            model_name='medicationrequestreasonreference',
            name='condition',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='conditions.condition'),
        ),
        migrations.AddField(
            model_name='medicationrequestrequesterreference',
            name='device',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='devices.device'),
        ),
        migrations.AddField(
            model_name='medicationrequestrequesterreference',
            name='related_person',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='medication_request_requester_reference_related_person', to='relatedpersons.relatedperson'),
        ),
        migrations.AddField(
            model_name='medicationrequestsubjectreference',
            name='group',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='medication_request_subject_reference_group', to='groups.group'),
        ),
    ]
