# Generated by Django 4.2.14 on 2025-02-13 12:27

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


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0013_money'),
        ('episodeofcare', '0003_episodeofcarereasonvaluereference_procedure_and_more'),
        ('encounters', '0008_alter_encounterlocation_location'),
    ]

    operations = [
        migrations.CreateModel(
            name='EncounterEpisodeOfCareReference',
            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)),
                ('reference', models.CharField(max_length=255, null=True)),
                ('type', models.CharField(max_length=255, null=True)),
                ('display', models.CharField(max_length=255, null=True)),
                ('encounter', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='encounter_episode_of_care_reference_encounter', to='encounters.encounter')),
                ('episode_of_care', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='encounter_episode_of_care_reference_episode_of_care', to='episodeofcare.episodeofcare')),
                ('identifier', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='encounter_episode_of_care_reference_identifier', to='base.identifier')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
