# Generated by Django 4.1.4 on 2023-12-04 11:01

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("atlas", "0029_alter_conditionrelationship_child_and_more"),
    ]

    operations = [
        migrations.AlterField(
            model_name="condition",
            name="parent",
            field=models.ManyToManyField(
                blank=True,
                help_text="Use if the condition could be considered a subset of another, e.g. 'Alzheimer disease' and 'Dementia'.",
                related_name="child",
                through="atlas.ConditionRelationship",
                to="atlas.condition",
            ),
        ),
        migrations.AlterField(
            model_name="condition",
            name="primary",
            field=models.BooleanField(
                default="True",
                help_text="Sets if this should be the canonical item, all other synonyms will then redirect to this by default.",
            ),
        ),
        migrations.AlterField(
            model_name="condition",
            name="rcr_curriculum",
            field=models.BooleanField(
                default=False,
                help_text="The condition is from the (non exhaustive) RCR curriculum",
            ),
        ),
        migrations.AlterField(
            model_name="condition",
            name="rcr_curriculum_map",
            field=models.ManyToManyField(
                blank=True,
                help_text="Specifies the related RCR curriculum condition (if it exists).",
                limit_choices_to={"rcr_curriculum": True},
                to="atlas.condition",
            ),
        ),
        migrations.AlterField(
            model_name="condition",
            name="subspecialty",
            field=models.ManyToManyField(
                blank=True,
                help_text="Sets the subspecialty(/ies) that this condition falls under.",
                to="atlas.subspecialty",
            ),
        ),
        migrations.AlterField(
            model_name="condition",
            name="synonym",
            field=models.ManyToManyField(
                blank=True,
                help_text="Use if a direct synonym for the condition exists, e.g. 'Wegener granulomatosis' and 'Granulomatosis with Polyangitis'.",
                to="atlas.condition",
            ),
        ),
    ]
