# Generated by Django 4.2.14 on 2025-02-06 13:14

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


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0010_expression_relativetime'),
        ('careplans', '0004_careplancustodianreference_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='CarePlanAddressesCodeableReference',
            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(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='care_plan_addresses_concept', to='base.codeableconcept')),
                ('reference', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='care_plan_addresses_codeable_reference', to='careplans.careplanaddressreference')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AlterField(
            model_name='careplan',
            name='addresses',
            field=models.ManyToManyField(blank=True, related_name='care_plan_addresses', to='careplans.careplanaddressescodeablereference'),
        ),
    ]
