# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-07-27 15:39
from __future__ import unicode_literals

from django.db import migrations, models
import src.patients.models.patient


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Cohort',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(db_index=True, max_length=100, unique=True)),
                ('description', models.TextField(null=True)),
            ],
            options={
                'db_table': 'curation_cohort',
            },
        ),
        migrations.CreateModel(
            name='CRFQuestion',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('text', models.CharField(db_index=True, default='', max_length=100, unique=True)),
                ('description', models.TextField(blank=True, null=True)),
                ('type', models.TextField(default='')),
                ('responses', models.TextField(blank=True, null=True)),
                ('note', models.TextField(blank=True, null=True)),
            ],
            options={
                'db_table': 'curation_crf_question',
            },
        ),
        migrations.CreateModel(
            name='CRFTemplate',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(db_index=True, max_length=100, unique=True)),
                ('description', models.TextField(null=True)),
            ],
            options={
                'db_table': 'curation_crf_template',
            },
        ),
        migrations.CreateModel(
            name='CRFTemplateQuestion',
            fields=[
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('text', models.TextField()),
                ('question_id', models.IntegerField()),
                ('question_type', models.TextField()),
                ('responses', models.TextField(blank=True, null=True)),
                ('parent_question', models.TextField(blank=True, null=True)),
                ('parent_condition', models.TextField(blank=True, null=True)),
                ('parent_response', models.TextField(blank=True, null=True)),
                ('note', models.TextField(blank=True, null=True)),
            ],
            options={
                'db_table': 'curation_crf_template_question',
            },
        ),
        migrations.CreateModel(
            name='Diagnosis',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('code', models.CharField(db_index=True, max_length=100)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('code_type', models.CharField(max_length=100, null=True)),
                ('category', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('name', models.CharField(max_length=100, null=True)),
                ('status', models.CharField(max_length=100, null=True)),
                ('pl_flag', models.CharField(max_length=100, null=True)),
                ('onset_dttm', models.CharField(max_length=100, null=True)),
                ('resolution_dttm', models.CharField(max_length=100, null=True)),
                ('principal_dx_flag', models.CharField(max_length=100, null=True)),
                ('admitting_dx_flag', models.CharField(max_length=100, null=True)),
                ('discharge_dx_flag', models.CharField(max_length=100, null=True)),
                ('present_on_admission', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_diagnosis',
            },
        ),
        migrations.CreateModel(
            name='Encounter',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('patient_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('admission_dttm', models.CharField(max_length=100, null=True)),
                ('admitting_physician_id', models.CharField(max_length=100, null=True)),
                ('arrival_dttm', models.CharField(max_length=100, null=True)),
                ('attending_physician_id', models.CharField(max_length=100, null=True)),
                ('billing_provider_id', models.CharField(max_length=100, null=True)),
                ('claim_statement_from_dttm', models.CharField(max_length=100, null=True)),
                ('claim_statement_to_dttm', models.CharField(max_length=100, null=True)),
                ('discharge_disposition', models.CharField(max_length=100, null=True)),
                ('discharge_dttm', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('dttm', models.CharField(max_length=100, null=True)),
                ('location', models.CharField(max_length=100, null=True)),
                ('place_of_service', models.CharField(max_length=100, null=True)),
                ('rendering_provider_id', models.CharField(max_length=100, null=True)),
                ('type', models.CharField(max_length=100, null=True)),
                ('type_of_bill', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_encounter',
            },
        ),
        migrations.CreateModel(
            name='Insurance',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('benefit_code', models.CharField(max_length=100, null=True)),
                ('benefit_name', models.CharField(max_length=100, null=True)),
                ('financial_class_code', models.CharField(max_length=100, null=True)),
                ('financial_class_name', models.CharField(max_length=100, null=True)),
                ('company_code', models.CharField(max_length=100, null=True)),
                ('company_name', models.CharField(max_length=100, null=True)),
                ('plan_code', models.CharField(max_length=100, null=True)),
                ('plan_name', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_insurance',
            },
        ),
        migrations.CreateModel(
            name='JointExam',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('performing_provider_id', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('esr', models.CharField(max_length=100, null=True)),
                ('status', models.CharField(max_length=100, null=True)),
                ('total_normal_28_joint_count', models.CharField(max_length=100, null=True)),
                ('total_swollen_28_joint_count', models.CharField(max_length=100, null=True)),
                ('total_tender_28_joint_count', models.CharField(max_length=100, null=True)),
                ('total_normal_76_joint_count', models.CharField(max_length=100, null=True)),
                ('total_swollen_76_joint_count', models.CharField(max_length=100, null=True)),
                ('total_tender_76_joint_count', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_joint_exam',
            },
        ),
        migrations.CreateModel(
            name='MedicationRecord',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('medication_record_type', models.CharField(max_length=100, null=True)),
                ('action', models.CharField(max_length=100, null=True)),
                ('administering_provider_id', models.CharField(max_length=100, null=True)),
                ('code', models.CharField(max_length=100, null=True)),
                ('daw_flag', models.CharField(max_length=100, null=True)),
                ('days_supply', models.CharField(max_length=100, null=True)),
                ('days_supply_derived', models.CharField(max_length=100, null=True)),
                ('discontinue_flag', models.CharField(max_length=100, null=True)),
                ('dispense_quantity', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('documenting_prov_id', models.CharField(max_length=100, null=True)),
                ('doses_per_day', models.CharField(max_length=100, null=True)),
                ('doses_per_day_derived', models.CharField(max_length=100, null=True)),
                ('end_dttm', models.CharField(max_length=100, null=True)),
                ('expire_dttm', models.CharField(max_length=100, null=True)),
                ('form', models.CharField(max_length=100, null=True)),
                ('frequency', models.CharField(max_length=100, null=True)),
                ('gpi', models.CharField(max_length=100, null=True)),
                ('infusion_dose', models.CharField(max_length=100, null=True)),
                ('infusion_end_dttm', models.CharField(max_length=100, null=True)),
                ('infusion_expiry_1_dttm', models.CharField(max_length=100, null=True)),
                ('infusion_expiry_2_dttm', models.CharField(max_length=100, null=True)),
                ('infusion_expiry_3_dttm', models.CharField(max_length=100, null=True)),
                ('infusion_expiry_4_dttm', models.CharField(max_length=100, null=True)),
                ('infusion_flag', models.CharField(max_length=100, null=True)),
                ('infusion_patient_weight', models.CharField(max_length=100, null=True)),
                ('infusion_patient_weight_unit', models.CharField(max_length=100, null=True)),
                ('infusion_planned_dose', models.CharField(max_length=100, null=True)),
                ('infusion_planned_dose_unit', models.CharField(max_length=100, null=True)),
                ('infusion_rate', models.CharField(max_length=100, null=True)),
                ('infusion_rate_unit', models.CharField(max_length=100, null=True)),
                ('infusion_reason_for_adjustment', models.CharField(max_length=100, null=True)),
                ('infusion_start_dttm', models.CharField(max_length=100, null=True)),
                ('infusion_therapy_type', models.CharField(max_length=100, null=True)),
                ('infusion_volume_infused', models.CharField(max_length=100, null=True)),
                ('infusion_volume_infused_unit', models.CharField(max_length=100, null=True)),
                ('name', models.CharField(max_length=100, null=True)),
                ('ndc', models.CharField(max_length=100, null=True)),
                ('or_dispense', models.CharField(max_length=100, null=True)),
                ('pharmacy_fill_number', models.CharField(max_length=100, null=True)),
                ('pharmacy_prescription_id', models.CharField(max_length=100, null=True)),
                ('prescribing_provider_id', models.CharField(max_length=100, null=True)),
                ('prescription_fill_number', models.CharField(max_length=100, null=True)),
                ('reason_for_discontinuation', models.CharField(max_length=100, null=True)),
                ('reason_for_start', models.CharField(max_length=100, null=True)),
                ('refills_authorized', models.CharField(max_length=100, null=True)),
                ('refills_authorized_numeric', models.CharField(max_length=100, null=True)),
                ('route_of_admin', models.CharField(max_length=100, null=True)),
                ('rxnorm', models.CharField(max_length=100, null=True)),
                ('sig', models.CharField(max_length=100, null=True)),
                ('start_dttm', models.CharField(max_length=100, null=True)),
                ('status', models.CharField(max_length=100, null=True)),
                ('strength', models.CharField(max_length=100, null=True)),
                ('total_dose', models.CharField(max_length=100, null=True)),
                ('type', models.CharField(max_length=100, null=True)),
                ('unit', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_medication_record',
            },
        ),
        migrations.CreateModel(
            name='Note',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('name', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('text', models.TextField()),
            ],
            options={
                'db_table': 'curation_note',
            },
        ),
        migrations.CreateModel(
            name='Observation',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('documenting_prov_id', models.CharField(max_length=100, null=True)),
                ('name', models.CharField(max_length=100, null=True)),
                ('code', models.CharField(max_length=100, null=True)),
                ('value', models.CharField(max_length=100, null=True)),
                ('unit', models.CharField(max_length=100, null=True)),
                ('status', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_observation',
            },
        ),
        migrations.CreateModel(
            name='Patient',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('patient_id', models.CharField(db_index=True, max_length=100)),
                ('address_state', models.CharField(max_length=100, null=True)),
                ('deceased_indicator', models.CharField(max_length=100, null=True)),
                ('employment_status', models.CharField(max_length=100, null=True)),
                ('ethnicity', models.CharField(max_length=100, null=True)),
                ('language', models.CharField(max_length=100, null=True)),
                ('living_situation_status', models.CharField(max_length=100, null=True)),
                ('marital_status', models.CharField(max_length=100, null=True)),
                ('pcp_id', models.CharField(max_length=100, null=True)),
                ('race', models.CharField(max_length=100, null=True)),
                ('sex', models.CharField(max_length=100, null=True)),
                ('year_of_birth', models.CharField(max_length=100, null=True)),
                ('year_of_death', models.CharField(max_length=100, null=True)),
                ('zip_3', models.CharField(max_length=100, null=True)),
                ('curation_status', models.CharField(choices=[('PENDING', 'pending'), ('INPROGRESS', 'inprogress'), ('COMPLETED', 'completed')], default='PENDING', max_length=20, null=True)),
            ],
            options={
                'db_table': 'curation_patient',
            },
            managers=[
                ('objects', src.patients.models.patient.PatientManager()),
            ],
        ),
        migrations.CreateModel(
            name='PatientChartReview',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('status', models.CharField(choices=[('NOTSTARTED', 'notstarted'), ('INPROGRESS', 'inprogress'), ('COMPLETED', 'completed')], max_length=20)),
            ],
            options={
                'db_table': 'curation_patient_chart_review',
            },
        ),
        migrations.CreateModel(
            name='PatientChartReviewQuestion',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('question_id', models.CharField(max_length=100)),
                ('responses', models.TextField(blank=True, null=True)),
            ],
            options={
                'db_table': 'curation_patient_chart_review_question',
            },
        ),
        migrations.CreateModel(
            name='Procedure',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('anatomic_location', models.CharField(max_length=100, null=True)),
                ('billing_provider_id', models.CharField(max_length=100, null=True)),
                ('code', models.CharField(max_length=100, null=True)),
                ('code_type', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('ordering_provider_id', models.CharField(max_length=100, null=True)),
                ('performing_provider_id', models.CharField(max_length=100, null=True)),
                ('principal_procedure_flag', models.CharField(max_length=100, null=True)),
                ('quantity', models.CharField(max_length=100, null=True)),
                ('results', models.CharField(max_length=100, null=True)),
                ('rev_code', models.CharField(max_length=100, null=True)),
                ('status', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_procedure',
            },
        ),
        migrations.CreateModel(
            name='Project',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(db_index=True, max_length=100, unique=True)),
                ('description', models.TextField(max_length=250, null=True)),
            ],
            options={
                'db_table': 'curation_project',
            },
        ),
        migrations.CreateModel(
            name='ProjectCohort',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
            ],
            options={
                'db_table': 'curation_project_cohort',
            },
        ),
        migrations.CreateModel(
            name='ProjectCrfTemplate',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('is_required', models.BooleanField(db_index=True, default=False)),
            ],
            options={
                'db_table': 'curation_project_crf_template',
            },
        ),
        migrations.CreateModel(
            name='ProjectCurator',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
            ],
            options={
                'db_table': 'curation_project_curator',
            },
        ),
        migrations.CreateModel(
            name='Provider',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('department_local', models.CharField(max_length=100, null=True)),
                ('department_mapped', models.CharField(max_length=100, null=True)),
                ('npi', models.CharField(max_length=100, null=True)),
                ('specialty_code_local', models.CharField(max_length=100, null=True)),
                ('specialty_code_mapped', models.CharField(max_length=100, null=True)),
                ('specialty_is_primary_flag', models.CharField(max_length=100, null=True)),
                ('specialty_sequence_number', models.CharField(max_length=100, null=True)),
                ('status_local', models.CharField(max_length=100, null=True)),
                ('status_mapped', models.CharField(max_length=100, null=True)),
                ('type_local', models.CharField(max_length=100, null=True)),
                ('type_mapped', models.CharField(max_length=100, null=True)),
                ('zip_code', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_provider',
            },
        ),
        migrations.CreateModel(
            name='Questionnaire',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('category', models.CharField(max_length=100, null=True)),
                ('code', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('name', models.CharField(max_length=100, null=True)),
                ('result', models.CharField(max_length=100, null=True)),
                ('result_unit', models.CharField(max_length=100, null=True)),
                ('subcategory', models.CharField(max_length=100, null=True)),
                ('status', models.CharField(max_length=100, null=True)),
                ('type', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_questionnaire',
            },
        ),
        migrations.CreateModel(
            name='Result',
            fields=[
                ('is_active', models.BooleanField(db_index=True, default=True)),
                ('created_on', models.DateTimeField(auto_now_add=True, db_index=True)),
                ('created_by', models.CharField(max_length=256, null=True)),
                ('updated_on', models.DateTimeField(auto_now=True, db_index=True)),
                ('updated_by', models.CharField(max_length=256, null=True)),
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('encounter_id', models.CharField(db_index=True, max_length=100, null=True)),
                ('status', models.CharField(max_length=100, null=True)),
                ('order_id', models.CharField(max_length=100, null=True)),
                ('order_code', models.CharField(max_length=100, null=True)),
                ('panel_code', models.CharField(max_length=100, null=True)),
                ('panel_name', models.CharField(max_length=100, null=True)),
                ('code', models.CharField(max_length=100, null=True)),
                ('name', models.CharField(max_length=100, null=True)),
                ('value', models.CharField(max_length=100, null=True)),
                ('unit', models.CharField(max_length=100, null=True)),
                ('reference_range', models.CharField(max_length=100, null=True)),
                ('loinc', models.CharField(max_length=100, null=True)),
                ('performed_dttm', models.CharField(max_length=100, null=True)),
                ('performing_provider_id', models.CharField(max_length=100, null=True)),
                ('documenting_provider_id', models.CharField(max_length=100, null=True)),
                ('microbio_organism', models.CharField(max_length=100, null=True)),
                ('microbio_antibiotic', models.CharField(max_length=100, null=True)),
                ('microbio_sensitivity', models.CharField(max_length=100, null=True)),
                ('microbio_mic', models.CharField(max_length=100, null=True)),
                ('abnormal_flag', models.CharField(max_length=100, null=True)),
                ('specimen_source', models.CharField(max_length=100, null=True)),
                ('reference_range_lower', models.CharField(max_length=100, null=True)),
                ('reference_range_upper', models.CharField(max_length=100, null=True)),
            ],
            options={
                'db_table': 'curation_result',
            },
        ),
    ]
