# Generated by Django 4.2.14 on 2025-02-12 11:40

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('patients', '0007_patientorganizationreference'),
        ('conditions', '0003_conditionallergyintolerancereference'),
        ('clinicalimpressions', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='clinicalimpression',
            name='problem',
            field=models.ManyToManyField(blank=True, related_name='clinical_impression_problem', to='conditions.conditionallergyintolerancereference'),
        ),
        migrations.AddField(
            model_name='clinicalimpression',
            name='prognosis_codeable_concept',
            field=models.ManyToManyField(blank=True, related_name='clinical_impression_prognosis_codeable_concept', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='clinicalimpression',
            name='status_reason',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='clinical_impression_status_reason', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='clinicalimpression',
            name='subject',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='clinical_impression_subject', to='patients.patientgroupreference'),
        ),
        migrations.AddField(
            model_name='clinicalimpression',
            name='supporting_info',
            field=models.ManyToManyField(blank=True, related_name='clinical_impression_supporting_info', to='base.reference'),
        ),
    ]
