# Generated by Django 4.2.14 on 2025-01-06 22:48

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('slots', '0001_initial'),
        ('practitioners', '0001_initial'),
        ('appointments', '0003_initial'),
        ('healthcareservices', '0001_initial'),
        ('base', '0002_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='appointmentactor',
            name='practitioner',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_actor_practitioner', to='practitioners.practitioner'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='appointment_type',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_type', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='based_on',
            field=models.ManyToManyField(blank=True, related_name='appointment_based_on', to='appointments.appointmentbasedon'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='cancellation_reason',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='identifier',
            field=models.ManyToManyField(blank=True, related_name='appointment_identifier', to='base.identifier'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='klass',
            field=models.ManyToManyField(blank=True, related_name='appointment_class', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='note',
            field=models.ManyToManyField(blank=True, related_name='appointment_note', to='base.annotation'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='originating_appointment',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_originating_appointment', to='appointments.appointment'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='participant',
            field=models.ManyToManyField(blank=True, related_name='appointment_participant', to='appointments.appointmentparticipant'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='patient_instruction',
            field=models.ManyToManyField(blank=True, related_name='appointment_patient_instruction', to='appointments.patientinstructioncodeablereference'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='previous_appointment',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_previous_appointment', to='appointments.appointment'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='priority',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_priority', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='reason',
            field=models.ManyToManyField(blank=True, related_name='appointment_reason', to='appointments.encounterreason'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='replaces',
            field=models.ManyToManyField(blank=True, to='appointments.appointment'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='requested_period',
            field=models.ManyToManyField(blank=True, related_name='appointment_requested_period', to='base.period'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='service_category',
            field=models.ManyToManyField(blank=True, related_name='service_category', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='service_type',
            field=models.ManyToManyField(blank=True, related_name='appointment_service_type', to='healthcareservices.servicetype'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='slot',
            field=models.ManyToManyField(blank=True, related_name='appointment_slot', to='slots.slot'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='specialty',
            field=models.ManyToManyField(blank=True, related_name='appointment_specialty', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='subject',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='appointment_subject', to='appointments.appointmentsubject'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='supporting_information',
            field=models.ManyToManyField(blank=True, related_name='appointment_supporting_information', to='base.reference'),
        ),
        migrations.AddField(
            model_name='appointment',
            name='virtual_service_details',
            field=models.ManyToManyField(blank=True, related_name='appointment_virtual_service_details', to='base.virtualservicedetails'),
        ),
    ]
