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

import datetime
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='disease_details',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('disease_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Disease Notes')),
                ('status', models.CharField(choices=[('Uncertainty', 'Uncertainty'), ('Need to verify', 'Need to verify'), ('Confirmed', 'Confirmed')], help_text='Status of disease', max_length=50, null=True, verbose_name='Status')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_disease', models.ForeignKey(help_text='Select a disease', null=True, on_delete=django.db.models.deletion.CASCADE, to='baseapp.disease', verbose_name='Disease')),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee', verbose_name='Employee')),
                ('fk_patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.patient', verbose_name='Patient')),
            ],
            options={
                'verbose_name_plural': 'Disease details',
            },
        ),
        migrations.CreateModel(
            name='diagnose',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('diag', models.CharField(blank=True, help_text='Enter the diagnosis', max_length=50, null=True, verbose_name='Diagnosis')),
                ('diag_accept', models.BooleanField(blank=True, null=True, verbose_name='Accept')),
                ('order', models.CharField(blank=True, choices=[('Primary', 'Primary'), ('Secondary', 'Secondary')], help_text='Select a order', max_length=50, null=True, verbose_name='Order')),
                ('certainty', models.CharField(blank=True, choices=[('Confirmed', 'Confirmed'), ('Presumed', 'Presumed')], help_text='Select a certainty', max_length=50, null=True, verbose_name='Certainty')),
                ('status', models.CharField(blank=True, choices=[('Ruled In', 'Ruled In'), ('Ruled Out', 'Ruled Out')], help_text='Select a status', max_length=50, null=True, verbose_name='Status')),
                ('diag_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Diagnosis 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': 'Diagnosis',
            },
        ),
        migrations.CreateModel(
            name='condition',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('condi', models.CharField(help_text='Enter the condition', max_length=50, null=True, verbose_name='Condition')),
                ('status', models.CharField(choices=[('Active', 'Active'), ('Inactive', 'Inactive'), ('History of', 'History of')], help_text='Select the current status', max_length=20, null=True, verbose_name='Status')),
                ('date_identified', models.DateField(default=datetime.datetime.today, help_text='Date of condition identified', verbose_name='Identified Date')),
                ('action', models.BooleanField(null=True, verbose_name='Action')),
                ('condi_notes', models.TextField(blank=True, max_length=250, null=True, verbose_name='Condition 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': 'Conditions',
            },
        ),
    ]
