# Phase 1: Remove area field, add LocationType choices to location_type

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('organizations', '0006_alter_department_code_alter_orgsubsection_code_and_more'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='department',
            name='area',
        ),
        migrations.AlterField(
            model_name='department',
            name='location_type',
            field=models.CharField(
                blank=True,
                choices=[
                    ('OP', 'Outpatient'),
                    ('IP', 'Inpatient'),
                    ('ER', 'Emergency'),
                    ('GENERAL', 'General'),
                ],
                help_text='Location type (OP, IP, ER, GENERAL)',
                max_length=20,
            ),
        ),
        migrations.AlterField(
            model_name='department',
            name='category',
            field=models.CharField(
                blank=True,
                choices=[
                    ('medical', 'Medical'),
                    ('non_medical', 'Non-Medical'),
                    ('nursing', 'Nursing'),
                    ('support_services', 'Support Services'),
                    ('administrative', 'Administrative'),
                ],
                db_index=True,
                default='',
                max_length=30,
            ),
        ),
    ]
