# Generated by Django 4.2.14 on 2025-03-25 11:29

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


class Migration(migrations.Migration):

    dependencies = [
        ('base', '0018_merge_20250307_1944'),
        ('explanationofbenefits', '0003_remove_explanationofbenefit_identifier_and_more'),
    ]

    operations = [
        migrations.RenameField(
            model_name='explanationofbenefitbenefitbalancefinancial',
            old_name='allowed_money_unsigned_int',
            new_name='allowed_unsigned_int',
        ),
        migrations.RenameField(
            model_name='explanationofbenefitbenefitbalancefinancial',
            old_name='used_money_unsigned_int',
            new_name='used_unsigned_int',
        ),
        migrations.RemoveField(
            model_name='explanationofbenefitadditem',
            name='item_sequence',
        ),
        migrations.AddField(
            model_name='explanationofbenefit',
            name='trace_number',
            field=models.ManyToManyField(blank=True, related_name='explanation_of_benefits_trace_number', to='base.identifier'),
        ),
        migrations.AddField(
            model_name='explanationofbenefitadditem',
            name='revenue',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='explanation_of_benefit_add_item_revenue', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='explanationofbenefitbenefitbalance',
            name='excluded',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='explanationofbenefititem',
            name='review_outcome',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='explanation_of_benefit_item_review_outcome', to='explanationofbenefits.explanationofbenefititemreviewoutcome'),
        ),
        migrations.AddField(
            model_name='explanationofbenefititem',
            name='tax',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='explanation_of_benefit_item_tax', to='base.money'),
        ),
        migrations.RemoveField(
            model_name='explanationofbenefitprocedure',
            name='type',
        ),
        migrations.AddField(
            model_name='explanationofbenefitprocedure',
            name='type',
            field=models.ManyToManyField(blank=True, related_name='explanation_of_benefit_procedure_type', to='base.codeableconcept'),
        ),
    ]
