# Generated by Django 2.0.7 on 2018-09-07 10:57

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Ficha',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('data', models.DateField(blank=True, null=True)),
                ('nome', models.CharField(blank=True, max_length=100)),
                ('idade', models.IntegerField(blank=True, null=True)),
                ('sexo', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', 'Masculino'), ('2', 'Feminino'), ('9', 'Não se aplica')], default='0', max_length=10)),
                ('cpf', models.CharField(blank=True, max_length=30)),
                ('hosp', models.CharField(blank=True, max_length=50)),
                ('convenio', models.CharField(blank=True, max_length=30)),
                ('cirurgia', models.CharField(blank=True, max_length=100)),
                ('cirurgiao', models.CharField(blank=True, max_length=50)),
                ('peso', models.DecimalField(blank=True, decimal_places=1, max_digits=5, null=True)),
                ('altura', models.DecimalField(blank=True, decimal_places=0, max_digits=5, null=True)),
                ('imc', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
                ('n_previa', models.BooleanField(default=True)),
                ('c_previa', models.CharField(blank=True, max_length=100)),
                ('a_previa', models.CharField(blank=True, max_length=100)),
                ('n_adversos', models.BooleanField(default=True)),
                ('adversos', models.CharField(blank=True, max_length=100)),
                ('mets', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', 'Maior que 4 mets'), ('2', 'Menor que 4 mets'), ('9', 'Impossível Avaliar')], default='1', max_length=20)),
                ('cardio_neg', models.BooleanField(default=True)),
                ('cardio_has', models.BooleanField(default=False)),
                ('cardio_arr', models.BooleanField(default=False)),
                ('cardio_cor', models.BooleanField(default=False)),
                ('cardio_icc', models.BooleanField(default=False)),
                ('cardio_out', models.BooleanField(default=False)),
                ('neuro_neg', models.BooleanField(default=True)),
                ('neuro_avc', models.BooleanField(default=False)),
                ('neuro_cef', models.BooleanField(default=False)),
                ('neuro_con', models.BooleanField(default=False)),
                ('neuro_lme', models.BooleanField(default=False)),
                ('neuro_out', models.BooleanField(default=False)),
                ('resp_neg', models.BooleanField(default=True)),
                ('resp_asm', models.BooleanField(default=False)),
                ('resp_dpo', models.BooleanField(default=False)),
                ('resp_tbg', models.BooleanField(default=False)),
                ('resp_iva', models.BooleanField(default=False)),
                ('resp_out', models.BooleanField(default=False)),
                ('gastro_neg', models.BooleanField(default=True)),
                ('gastro_rge', models.BooleanField(default=False)),
                ('gastro_gas', models.BooleanField(default=False)),
                ('gastro_vom', models.BooleanField(default=False)),
                ('gastro_obs', models.BooleanField(default=False)),
                ('gastro_out', models.BooleanField(default=False)),
                ('endocrino_neg', models.BooleanField(default=True)),
                ('endocrino_dia', models.BooleanField(default=False)),
                ('endocrino_dti', models.BooleanField(default=False)),
                ('endocrino_dlp', models.BooleanField(default=False)),
                ('endocrino_out', models.BooleanField(default=False)),
                ('renal_neg', models.BooleanField(default=True)),
                ('renal_irc', models.BooleanField(default=False)),
                ('renal_ira', models.BooleanField(default=False)),
                ('renal_dia', models.BooleanField(default=False)),
                ('renal_out', models.BooleanField(default=False)),
                ('hem_neg', models.BooleanField(default=True)),
                ('hem_coa', models.BooleanField(default=False)),
                ('hem_ane', models.BooleanField(default=False)),
                ('hem_tra', models.BooleanField(default=False)),
                ('hem_hep', models.BooleanField(default=False)),
                ('hem_hiv', models.BooleanField(default=False)),
                ('hem_out', models.BooleanField(default=False)),
                ('musc_neg', models.BooleanField(default=True)),
                ('musc_lom', models.BooleanField(default=False)),
                ('musc_des', models.BooleanField(default=False)),
                ('musc_ati', models.BooleanField(default=False)),
                ('musc_ato', models.BooleanField(default=False)),
                ('musc_dis', models.BooleanField(default=False)),
                ('musc_out', models.BooleanField(default=False)),
                ('medicacoes', models.CharField(blank=True, max_length=300)),
                ('medicacoes2', models.CharField(blank=True, max_length=300)),
                ('alergias', models.CharField(blank=True, default='DESCONHECE ALERGIAS', max_length=200)),
                ('geral', models.CharField(blank=True, default='BEG, L.O.T.E., EUPNEICO, NORMOCORADO, HIDRATADO', max_length=100)),
                ('acv', models.CharField(blank=True, default='BULHAS RÍTMICAS, NORMOFONÉTICAS, EM DOIS TEMPOS, SEM SOPROS', max_length=100)),
                ('ar', models.CharField(blank=True, default='MURMÚRIOS VESICULARES PRESENTES BILATERALMENTE, SEM RUÍDOS ADVENTÍCIOS', max_length=100)),
                ('abd', models.CharField(blank=True, default='N.D.N.', max_length=100)),
                ('ext', models.CharField(blank=True, default='N.D.N.', max_length=100)),
                ('pas', models.IntegerField(default=0)),
                ('pad', models.IntegerField(default=0)),
                ('fc', models.IntegerField(default=0)),
                ('fr', models.IntegerField(default=0)),
                ('temp', models.CharField(blank=True, default='AFEBRIL', max_length=10)),
                ('mallampati', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', '1'), ('2', '2'), ('3', '3'), ('4', '4')], max_length=20)),
                ('distem', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', 'Maior que 12cm'), ('2', 'Menor que 12cm')], max_length=20)),
                ('mobcer', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', 'Boa'), ('2', 'Limitada')], max_length=20)),
                ('aboral', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', 'Maior que 4cm'), ('2', 'Menor que 4cm')], max_length=20)),
                ('protese', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', 'Não'), ('2', 'Sim')], max_length=20)),
                ('vad', models.CharField(blank=True, choices=[('0', 'Desconhecido'), ('1', 'Não'), ('2', 'Sim')], max_length=20)),
                ('hb', models.DecimalField(blank=True, decimal_places=1, max_digits=8, null=True)),
                ('ht', models.DecimalField(blank=True, decimal_places=1, max_digits=8, null=True)),
                ('leuco', models.DecimalField(blank=True, decimal_places=0, max_digits=8, null=True)),
                ('plt', models.DecimalField(blank=True, decimal_places=0, max_digits=8, null=True)),
                ('gli', models.DecimalField(blank=True, decimal_places=1, max_digits=8, null=True)),
                ('u', models.DecimalField(blank=True, decimal_places=1, max_digits=8, null=True)),
                ('cr', models.DecimalField(blank=True, decimal_places=2, max_digits=8, null=True)),
                ('na', models.DecimalField(blank=True, decimal_places=1, max_digits=8, null=True)),
                ('k', models.DecimalField(blank=True, decimal_places=2, max_digits=8, null=True)),
                ('ts', models.DecimalField(blank=True, decimal_places=2, max_digits=8, null=True)),
                ('tc', models.DecimalField(blank=True, decimal_places=2, max_digits=8, null=True)),
                ('inr', models.DecimalField(blank=True, decimal_places=2, max_digits=8, null=True)),
                ('tp', models.DecimalField(blank=True, decimal_places=2, max_digits=8, null=True)),
                ('ttpa', models.DecimalField(blank=True, decimal_places=2, max_digits=8, null=True)),
                ('ecg', models.CharField(blank=True, max_length=200)),
                ('eco', models.CharField(blank=True, max_length=200)),
                ('rx', models.CharField(blank=True, max_length=200)),
                ('ergo', models.CharField(blank=True, max_length=200)),
                ('outroex', models.CharField(blank=True, max_length=200)),
                ('anotacoes', models.CharField(blank=True, max_length=200)),
                ('anotacoes2', models.CharField(blank=True, max_length=200)),
                ('proposta', models.CharField(blank=True, max_length=200)),
                ('jejum', models.CharField(blank=True, max_length=200)),
                ('prescricao', models.CharField(blank=True, max_length=200)),
                ('prescricao2', models.CharField(blank=True, max_length=200)),
                ('prescricao3', models.CharField(blank=True, max_length=200)),
                ('asa', models.PositiveSmallIntegerField(blank=True, default=1)),
                ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
