# Generated by Django 4.2.14 on 2025-01-26 17:13

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


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0007_merge_20250121_1502'),
        ('provenances', '0001_initial'),
        ('procedures', '0001_initial'),
        ('medicationadministrations', '0002_medicationadministrationperformeractorcodeablereference_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='medicationadministration',
            name='event_history',
            field=models.ManyToManyField(blank=True, related_name='medication_administration_event_history', to='provenances.provenancereference'),
        ),
        migrations.AddField(
            model_name='medicationadministration',
            name='occurrence_timing',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='medication_administration_occurrence_timing', to='base.timing'),
        ),
        migrations.AddField(
            model_name='medicationadministrationpartof',
            name='procedure',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='medication_administration_part_of_procedure', to='procedures.procedure'),
        ),
        migrations.AddField(
            model_name='medicationadministrationreasonreference',
            name='procedure',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='medication_administration_reason_reference_procedure', to='procedures.procedure'),
        ),
    ]
