# Generated by Django 6.0.1 on 2026-06-07 04:37

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


class Migration(migrations.Migration):

    dependencies = [
        ('observations', '0009_remove_sub_subsection'),
        ('organizations', '0011_area_department_area'),
    ]

    operations = [
        migrations.AddField(
            model_name='observation',
            name='location_type',
            field=models.CharField(blank=True, choices=[('OP', 'Outpatient'), ('IP', 'Inpatient'), ('ER', 'Emergency'), ('GENERAL', 'General')], help_text='Where the observation occurred (OP/IP/ER/GO)', max_length=20),
        ),
        migrations.AlterField(
            model_name='observation',
            name='legacy_location',
            field=models.ForeignKey(blank=True, help_text="[DEPRECATED] Use 'department' and 'section' fields instead. This field is read-only and will be removed in a future release.", null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='observations', to='organizations.legacylocation'),
        ),
        migrations.AlterField(
            model_name='observation',
            name='legacy_main_section',
            field=models.ForeignKey(blank=True, help_text="[DEPRECATED] Use 'department' and 'section' fields instead. This field is read-only and will be removed in a future release.", null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='observations', to='organizations.legacymainsection'),
        ),
        migrations.AlterField(
            model_name='observation',
            name='legacy_subsection',
            field=models.ForeignKey(blank=True, help_text="[DEPRECATED] Use 'department' and 'section' fields instead. This field is read-only and will be removed in a future release.", null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='observations', to='organizations.legacysubsection'),
        ),
    ]
