# Generated by Django 4.2.14 on 2025-03-08 23:09

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


class Migration(migrations.Migration):

    dependencies = [
        ("bodystructures", "0006_bodystructurecodeablereference"),
        ("imagingselections", "0004_rename_bodysite_imagingselection_body_site"),
        ("imagingstudy", "0003_imagingstudybasedonreference_appointment_response_and_more"),
    ]

    operations = [
        migrations.RenameField(
            model_name="imagingselection",
            old_name="issues",
            new_name="issued",
        ),
        migrations.AddField(
            model_name="imagingselection",
            name="derived_from",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="image_selection_derived_from",
                to="imagingstudy.imagingstudyreference",
            ),
        ),
        migrations.AlterField(
            model_name="imagingselection",
            name="body_site",
            field=models.ManyToManyField(
                blank=True,
                related_name="imaging_selection_bodysite",
                to="bodystructures.bodystructurecodeablereference",
            ),
        ),
    ]
