# Generated by Django 5.2 on 2025-04-16 11:08

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


class Migration(migrations.Migration):

    dependencies = [
        ('accounts', '0005_accountcoverage_coverage'),
        ('appointments', '0004_initial'),
        ('careplans', '0005_initial'),
        ('careteams', '0002_initial'),
        ('communications', '0004_initial'),
        ('devicerequests', '0003_initial'),
        ('devices', '0001_initial'),
        ('documentreferences', '0004_initial'),
        ('groups', '0002_initial'),
        ('nutritionorders', '0003_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='appointment',
            name='account',
            field=models.ManyToManyField(blank=True, related_name='appointment_account', to='accounts.accountreference'),
        ),
        migrations.AddField(
            model_name='appointmentbasedonreference',
            name='care_plan',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_based_on_reference_care_plan', to='careplans.careplan'),
        ),
        migrations.AddField(
            model_name='appointmentbasedonreference',
            name='device_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_based_on_reference_device_request', to='devicerequests.devicerequest'),
        ),
        migrations.AddField(
            model_name='appointmentbasedonreference',
            name='nutrition_order',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_based_on_reference_nutrition_order', to='nutritionorders.nutritionorder'),
        ),
        migrations.AddField(
            model_name='appointmentparticipantactor',
            name='care_team',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_participant_actor_care_team', to='careteams.careteam'),
        ),
        migrations.AddField(
            model_name='appointmentparticipantactor',
            name='device',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_participant_actor_device', to='devices.device'),
        ),
        migrations.AddField(
            model_name='appointmentparticipantactor',
            name='group',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_participant_actor_group', to='groups.group'),
        ),
        migrations.AddField(
            model_name='documentreferencebinarycommunicationreference',
            name='communication',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='document_reference_binary_communication_reference_communication', to='communications.communication'),
        ),
        migrations.AddField(
            model_name='documentreferencebinarycommunicationreference',
            name='document_reference',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='document_reference_binary_communication_reference_document_reference', to='documentreferences.documentreference'),
        ),
    ]
