# Generated by Django 4.2.14 on 2025-02-06 11:06

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


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0010_expression_relativetime'),
        ('observations', '0006_alter_observation_instantiates_reference_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='ObservationCodeableReference',
            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)),
                ('concept', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='observation_codeable_reference_concept', to='base.codeableconcept')),
                ('reference', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='observation_codeable_reference_reference', to='observations.observationreference')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.DeleteModel(
            name='BodySite',
        ),
        migrations.DeleteModel(
            name='Interpretation',
        ),
        migrations.DeleteModel(
            name='ObservationCategory',
        ),
        migrations.DeleteModel(
            name='ObservationCodes',
        ),
        migrations.DeleteModel(
            name='ObservationMethod',
        ),
        migrations.DeleteModel(
            name='ReferenceRangeAppliesCodes',
        ),
    ]
