# Generated by Django 5.2 on 2025-04-23 12:46

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('base', '0005_initial'),
        ('practitionerroles', '0001_initial'),
        ('practitioners', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='practitionerrole',
            name='practitioner',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='practitioner_role_practitioner', to='practitioners.practitionerreference'),
        ),
        migrations.AddField(
            model_name='practitionerrole',
            name='specialty',
            field=models.ManyToManyField(blank=True, related_name='practitioner_role_specialty', to='base.codeableconcept'),
        ),
        migrations.AddField(
            model_name='practitionerrolereference',
            name='identifier',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='practitioner_role_reference_identifier', to='base.identifier'),
        ),
        migrations.AddField(
            model_name='practitionerrolereference',
            name='practitioner_role',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='practitioner_role_reference_practitioner_role', to='practitionerroles.practitionerrole'),
        ),
    ]
