# Generated by Django 4.2.2 on 2023-11-12 20:20

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('baseapp', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='vitals',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('temperature', models.FloatField(blank=True, default=0.0, help_text='Enter temperature in fahrenheit', null=True, verbose_name='Temperature')),
                ('temperature_abnormal', models.BooleanField(blank=True, null=True, verbose_name='Temperature Abnormal')),
                ('temperature_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Temperature Notes')),
                ('Res_rate', models.FloatField(blank=True, default=0.0, help_text='Enter the respiratory rate', null=True, verbose_name='Respiratory Rate')),
                ('Res_rate_abnormal', models.BooleanField(blank=True, null=True, verbose_name='Respiratory Rate Abnormal')),
                ('Res_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Respiratory Notes')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient')),
            ],
            options={
                'verbose_name_plural': 'vitals',
            },
        ),
        migrations.CreateModel(
            name='treatment_details',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('treatment_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Treatment Notes')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient')),
                ('fk_treatment', models.ForeignKey(help_text='Select the treatment', null=True, on_delete=django.db.models.deletion.CASCADE, to='baseapp.treatment', verbose_name='Treatment')),
            ],
            options={
                'verbose_name_plural': 'Treatment details',
            },
        ),
        migrations.CreateModel(
            name='scheduling',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date_scheduled', models.DateTimeField(help_text='Enter the scheduling date', null=True, verbose_name='Date Scheduled')),
                ('time_duration', models.DurationField(blank=True, help_text='Enter the time for scheduling ', null=True, verbose_name='Duration')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient')),
            ],
            options={
                'verbose_name_plural': 'Schedlings',
            },
        ),
        migrations.CreateModel(
            name='observation',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('report_name', models.CharField(help_text='Enter report name', max_length=50, null=True, verbose_name='Report Name')),
                ('report_file', models.FileField(blank=True, help_text='Upload a report file', null=True, upload_to='', verbose_name='Report File')),
                ('report_vaue', models.CharField(blank=True, help_text='Enter report value', max_length=100, null=True, verbose_name='Report Value')),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient')),
            ],
            options={
                'verbose_name_plural': 'Observations',
            },
        ),
        migrations.CreateModel(
            name='nutritional_value',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('height', models.FloatField(default=0.0, help_text="Patient's height in centimeters", null=True, verbose_name='Height(cm')),
                ('weight', models.FloatField(default=0.0, help_text="Patient's weight in kilograms.", null=True, verbose_name='Weight(kg)')),
                ('BMI', models.FloatField(default=0.0, help_text="Patient's weight in kilograms.", null=True, verbose_name='BMI')),
                ('Waistratio', models.FloatField(default=0.0, help_text='WHR = Waist circumference in cms/ hip circumference in cms', null=True, verbose_name='Waist to Hip ratio')),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient')),
            ],
            options={
                'verbose_name_plural': 'Nutrition Values',
            },
        ),
        migrations.CreateModel(
            name='History_examination',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Chief_complaint', models.CharField(blank=True, help_text='Enter the complaints', max_length=250, null=True, verbose_name='Chief Complaints')),
                ('symptom_duration', models.IntegerField(blank=True, help_text='The numeric value of the duration of the sign or symptom.', null=True, verbose_name='Sign/Symptoms duration')),
                ('units', models.CharField(blank=True, choices=[('Hours', 'Hours'), ('Days', 'Days'), ('Weeks', 'Weeks'), ('Months', 'Months'), ('Years', 'Years')], help_text='Units which correspond to the numeric value entered for a duration', max_length=50, null=True, verbose_name='Units')),
                ('present_illness', models.TextField(blank=True, max_length=250, null=True, verbose_name='History of Present illness')),
                ('Smoking_status', models.CharField(blank=True, choices=[('Unknown if ever smoked', 'Unknown if ever smoked'), ('Current every day smoker', 'Current every day smoker'), ('Former smoker', 'Former smoker'), ('Current light tobacco smoker', 'Current light tobacco smoker'), ('Current heavy tobacco smoker', 'Current heavy tobacco smoker'), ('Smoker', 'Smoker'), ('Current some day smoker', 'Current some day smoker'), ('Never smoked', 'Never smoked')], help_text='Select smoking status', max_length=50, null=True, verbose_name='Smoking Status')),
                ('consultation_images', models.ImageField(blank=True, help_text='Upload Consultation image', null=True, upload_to='', verbose_name='Consultation Images')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient')),
            ],
            options={
                'verbose_name_plural': 'History and Examinations',
            },
        ),
        migrations.CreateModel(
            name='blood_Pressure',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sys_bld_pressure', models.FloatField(blank=True, help_text="A patient's systolic blood pressure measurement (taken with a manual cuff in either a sitting or standing position)", null=True, verbose_name='Systolic Blood Pressure(mmHg)')),
                ('sys_bld_abnormal', models.BooleanField(blank=True, null=True, verbose_name='Systolic Blood Pressure Abnormal')),
                ('sys_bld_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Systolic Blood Pressure Notes')),
                ('dias_bld_pressure', models.FloatField(blank=True, help_text="A patient's diastolic blood pressure measurement (taken with a manual cuff in either a sitting or standing position)", null=True, verbose_name='Diastolic Blood Pressure(mmHg)')),
                ('dias_bld_abnormal', models.BooleanField(blank=True, null=True, verbose_name=' Diastolic Blood Pressure Abnormal')),
                ('dias_bld_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Diastolic Blood Pressure Notes')),
                ('body_position', models.CharField(blank=True, choices=[('Sitting', 'Sitting'), ('Recumbent', 'Recumbent'), ('Unknown', 'Unknown'), ('Other', 'Other'), ('Standing', 'Standing'), ("Fowler's Position", "Fowler's Position")], help_text='Body position for procedure or blood pressure measurement', max_length=50, null=True, verbose_name='Body Position')),
                ('body_position_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Body Position Notes')),
                ('pulse', models.FloatField(blank=True, help_text='Patient pulse rate, as measured with a peripheral oximeter.', null=True, verbose_name='Pulse(beats/min)')),
                ('pulse_abnormal', models.BooleanField(blank=True, null=True, verbose_name='Pulse Abnormal')),
                ('bld_oxy_saturation', models.FloatField(blank=True, help_text='Arterial blood oxygen saturation, as measured from a peripheral oximeter', null=True, verbose_name='Arterial Blood Oxygen Saturation(pulse oximeter)(1%)')),
                ('bld_oxy_saturation_abnormal', models.BooleanField(blank=True, null=True, verbose_name='Arterial Blood Oxygen Saturation Abnormal')),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient')),
            ],
            options={
                'verbose_name_plural': 'Blood Pressure',
            },
        ),
    ]
