# Generated by Django 4.2.14 on 2025-03-13 17:24

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


class Migration(migrations.Migration):

    dependencies = [
        ("biologicallyderivedproducts", "0001_initial"),
        (
            "medicationknowledges",
            "0004_medicationknowledgeindicationguidelinedosingguidelinedosage_and_more",
        ),
        ("nutritionproducts", "0003_remove_nutritionproductnutrients_allergen"),
        ("base", "0018_merge_20250307_1944"),
        ("inventoryitems", "0002_alter_inventoryitem_identifier"),
    ]

    operations = [
        migrations.AddField(
            model_name="inventoryitemassociationtypereference",
            name="biological_derived_product",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="association_type_reference_biological_derived_products",
                to="biologicallyderivedproducts.biologicallyderivedproduct",
            ),
        ),
        migrations.AddField(
            model_name="inventoryitemassociationtypereference",
            name="medication_knowledge",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="association_type_reference_medication_knowledge",
                to="medicationknowledges.medicationknowledge",
            ),
        ),
        migrations.AddField(
            model_name="inventoryitemassociationtypereference",
            name="nutrition_product",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="association_type_reference_nutrition_products",
                to="nutritionproducts.nutritionproduct",
            ),
        ),
        migrations.AddField(
            model_name="inventoryitemproductreference",
            name="biologically_derived_product",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="inventory_item_product_references_biologicallyderived_product",
                to="biologicallyderivedproducts.biologicallyderivedproduct",
            ),
        ),
        migrations.AddField(
            model_name="inventoryitemproductreference",
            name="nutrition_product",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="inventory_item_product_references_nutrition_product",
                to="nutritionproducts.nutritionproduct",
            ),
        ),
        migrations.AlterField(
            model_name="inventoryitemresponsibleorganization",
            name="code",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="inventory_item_responsible_organization_codes",
                to="base.codeableconcept",
            ),
        ),
    ]
