# Generated by Django 4.2.14 on 2025-03-04 12:24

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


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0013_money'),
        ('conditions', '0006_merge_20250217_1423'),
        ('coverageeligibilityrequests', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='CoverageEligibilityRequestItemDiagnosis',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('diagnosis_codeable_concept', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='coverage_eligibility_request_item_diagnosis_codeable_concept', to='base.codeableconcept')),
                ('diagnosis_reference', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='coverage_eligibility_request_item_diagnosis_reference', to='conditions.conditionreference')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.DeleteModel(
            name='CoverageEligibilityRequestDiagnosis',
        ),
        migrations.AlterField(
            model_name='coverageeligibilityrequestitem',
            name='diagnosis',
            field=models.ManyToManyField(blank=True, related_name='coverage_eligibility_request_item_diagnosis', to='coverageeligibilityrequests.coverageeligibilityrequestitemdiagnosis'),
        ),
    ]
