# Generated by Django 4.2.14 on 2025-02-04 15:18

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


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0010_expression_relativetime'),
        ('specimendefinitions', '0003_specimendefinition_type_tested'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='specimendefinitiontypetestedcontainer',
            name='additive_codeable_concept',
        ),
        migrations.RemoveField(
            model_name='specimendefinitiontypetestedcontainer',
            name='preparation',
        ),
        migrations.CreateModel(
            name='SpecimenDefinitionTypeTestedContainerAdditive',
            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)),
                ('preparation', models.TextField(null=True)),
                ('additive_codeable_concept', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='specimen_definition_type_tested_container_additive_codeable_concept', to='base.codeableconcept')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='specimendefinitiontypetestedcontainer',
            name='additive',
            field=models.ManyToManyField(blank=True, related_name='specimen_definition_type_tested_container_additive', to='specimendefinitions.specimendefinitiontypetestedcontaineradditive'),
        ),
    ]
