# Generated by Django 4.2.14 on 2025-03-04 21:28

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


class Migration(migrations.Migration):

    dependencies = [
        ("base", "0014_organizationcodeableconcept"),
        ("immunizations", "0002_alter_immunizationreaction_manifestation"),
    ]

    operations = [
        migrations.RenameField(
            model_name="immunizationprotocolapplied",
            old_name="usage_disease",
            new_name="target_disease",
        ),
        migrations.AddField(
            model_name="immunization",
            name="dose_quantity",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="immunization_dose_quantity",
                to="base.simplequantity",
            ),
        ),
        migrations.AddField(
            model_name="immunization",
            name="performer",
            field=models.ManyToManyField(
                blank=True,
                related_name="immunization_performer",
                to="immunizations.immunizationperformer",
            ),
        ),
        migrations.AddField(
            model_name="immunization",
            name="route",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="immunization_route",
                to="base.codeableconcept",
            ),
        ),
        migrations.AlterField(
            model_name="immunization",
            name="expiration_date",
            field=models.DateField(null=True),
        ),
        migrations.AlterField(
            model_name="immunization",
            name="reason",
            field=models.ManyToManyField(
                blank=True,
                related_name="immunization_reason",
                to="base.codeablereference",
            ),
        ),
    ]
