class Migration(migrations.Migration): dependencies = [ ('cvd_portal', '0010_device_user_type'), ] operations = [ migrations.CreateModel( name='Image', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('byte', models.TextField()), ('time_stamp', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('patient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='image', to='cvd_portal.Patient')), ], ), migrations.AlterField( model_name='patientdata', name='time_stamp', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), ]
class Migration(migrations.Migration): dependencies = [ ('cvd_portal', '0014_auto_20180225_1139'), ] operations = [ migrations.CreateModel( name='Notifications', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('text', models.TextField()), ('time_stamp', cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now)), ('doctor', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='notifications_d', to='cvd_portal.Doctor')), ('patient', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='notifications_p', to='cvd_portal.Patient')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('cvd_portal', '0001_initial'), ] operations = [ migrations.CreateModel( name='DoctorInChikitsaData', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('doctor_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='doctorInChikitsaData', to='cvd_portal.Doctor')), ], ), migrations.CreateModel( name='Medicine', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=100)), ('medicine_Image', models.TextField()), ('compunds', models.TextField()), ], ), migrations.CreateModel( name='PatientInChikitsaData', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('problems_faced', models.TextField()), ('next_visit', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('doctor_comments', models.TextField()), ('patient_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='patientInChikitsaData', to='cvd_portal.Patient')), ], ), migrations.CreateModel( name='ReminderDataForParticularMed', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('number_of_times_to_take_day', models.PositiveIntegerField(default=1)), ('number_of_times_to_take_week', models.PositiveIntegerField(default=1)), ('times', models.PositiveIntegerField(default=1, null=True)), ('extra_comments', models.CharField(max_length=100, null=True)), ('start_time', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('time_gap', models.DecimalField(decimal_places=1, max_digits=2)), ('medicine', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='medicine_reminder.Medicine')), ('patient_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='medRemData', to='cvd_portal.Patient')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('swasthGarbhApp', '0008_auto_20180620_2331'), ] operations = [ migrations.RemoveField( model_name='pregnancydata', name='abdominal_pain', ), migrations.RemoveField( model_name='pregnancydata', name='bleeding_per_vaginum', ), migrations.RemoveField( model_name='pregnancydata', name='decreased_fetal_movements', ), migrations.RemoveField( model_name='pregnancydata', name='headache', ), migrations.RemoveField( model_name='pregnancydata', name='swelling_in_hands_or_face', ), migrations.RemoveField( model_name='pregnancydata', name='urine_albumin', ), migrations.RemoveField( model_name='pregnancydata', name='visual_problems', ), migrations.AddField( model_name='medicine', name='medicine_extra_comments', field=models.TextField(default=''), ), migrations.AddField( model_name='medicine', name='medicine_period', field=models.CharField(default='', max_length=50), ), migrations.AddField( model_name='medicine', name='medicine_time_of_day', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='medicine', name='medicine_timespan_days', field=models.IntegerField(default=7), ), migrations.AddField( model_name='pregnancydata', name='anc1_anemia', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc1_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc1_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc1_hiv', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc1_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc1_tetnus', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc1_ultrasound', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc1_urine', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc2_anemia', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc2_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc2_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc2_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc3_anemia', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc3_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc3_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc3_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc3_urine', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc4_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc4_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc4_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc5_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc5_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc5_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc5_urine', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc6_anemia', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc6_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc6_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc6_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc7_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc7_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc7_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc8_diabtese', field=models.BooleanField(default=0), ), migrations.AddField( model_name='pregnancydata', name='anc8_dueDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='anc8_safeDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='pregnancydata', name='startDate', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AlterField( model_name='medicine', name='medicine_Image', field=models.TextField(default=''), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('cvd_portal', '0001_initial'), ] operations = [ migrations.CreateModel( name='Complication', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('informationByDoc', models.TextField()), ('complicationImage', models.TextField()), ('tookAction', models.BooleanField(default=0)), ('informationByPatient', models.TextField()), ], ), migrations.CreateModel( name='Hospital', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('xCoordinate', models.DecimalField(decimal_places=15, max_digits=20)), ('yCoordinate', models.DecimalField(decimal_places=15, max_digits=20)), ], ), migrations.CreateModel( name='Medicine', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('medicine_name', models.CharField(max_length=50)), ('medicine_freq', models.CharField(default='', max_length=50)), ('medicine_Image', models.TextField(default='')), ('medicine_extra_comments', models.TextField(default='')), ('medicine_start', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('medicine_end', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('isSOS', models.BooleanField(default=False)), ], ), migrations.CreateModel( name='PregnancyData', fields=[ ('patient_id', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='cvd_portal.Patient')), ('startDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_1', models.BooleanField(default=0)), ('anc1_diabtese', models.BooleanField(default=0)), ('anc1_anemia', models.BooleanField(default=0)), ('anc1_hiv', models.BooleanField(default=0)), ('anc1_ultrasound', models.BooleanField(default=0)), ('anc1_tetnus', models.BooleanField(default=0)), ('anc1_urine', models.BooleanField(default=0)), ('anc1_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc1_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_2', models.BooleanField(default=0)), ('anc2_diabtese', models.BooleanField(default=0)), ('anc2_anemia', models.BooleanField(default=0)), ('anc2_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc2_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_3', models.BooleanField(default=0)), ('anc3_diabtese', models.BooleanField(default=0)), ('anc3_anemia', models.BooleanField(default=0)), ('anc3_urine', models.BooleanField(default=0)), ('anc3_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc3_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_4', models.BooleanField(default=0)), ('anc4_diabtese', models.BooleanField(default=0)), ('anc4_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc4_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_5', models.BooleanField(default=0)), ('anc5_diabtese', models.BooleanField(default=0)), ('anc5_urine', models.BooleanField(default=0)), ('anc5_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc5_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_6', models.BooleanField(default=0)), ('anc6_diabtese', models.BooleanField(default=0)), ('anc6_anemia', models.BooleanField(default=0)), ('anc6_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc6_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_7', models.BooleanField(default=0)), ('anc7_diabtese', models.BooleanField(default=0)), ('anc7_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc7_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc_8', models.BooleanField(default=0)), ('anc8_diabtese', models.BooleanField(default=0)), ('anc8_dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc8_safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('anc8_his_breath', models.BooleanField(default=0)), ('anc8_his_fatigue', models.BooleanField(default=0)), ('anc8_his_head', models.BooleanField(default=0)), ('anc8_his_bleed', models.BooleanField(default=0)), ('anc8_his_burn', models.BooleanField(default=0)), ('anc8_his_fetal_move', models.BooleanField(default=0)), ('anc8_his_itching', models.BooleanField(default=0)), ('anc8_exam_pallor', models.BooleanField(default=0)), ('anc8_exam_pedal', models.BooleanField(default=0)), ('anc8_exam_pa', models.BooleanField(default=0)), ('anc8_advice_DFMC', models.BooleanField(default=0)), ('anc8_advice_Fe_Ca', models.BooleanField(default=0)), ('anc8_advice_induction', models.BooleanField(default=0)), ('time_stamp', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('invest_chronic_hyper', models.BooleanField(default=0)), ('invest_type_2_diabetes', models.BooleanField(default=0)), ('invest_RHD_native', models.BooleanField(default=0)), ('invest_RHD_post', models.BooleanField(default=0)), ('invest_acyanotic', models.BooleanField(default=0)), ('invest_cyanotic', models.BooleanField(default=0)), ('invest_chronic_liver', models.BooleanField(default=0)), ('invest_chronic_kidney', models.BooleanField(default=0)), ('invest_APLA', models.BooleanField(default=0)), ('invest_SLE', models.BooleanField(default=0)), ('anc1_his_fever', models.BooleanField(default=0)), ('anc1_his_rash', models.BooleanField(default=0)), ('anc1_his_nausea_vomit', models.BooleanField(default=0)), ('anc1_his_bleed', models.BooleanField(default=0)), ('anc1_his_abdpain', models.BooleanField(default=0)), ('anc1_drugin', models.BooleanField(default=0)), ('anc1_his_smoke', models.BooleanField(default=0)), ('anc1_his_alcohol', models.BooleanField(default=0)), ('anc1_his_tob', models.BooleanField(default=0)), ('anc1_his_caff', models.BooleanField(default=0)), ('anc1_his_int', models.BooleanField(default=0)), ('anc1_exam_pallor', models.BooleanField(default=0)), ('anc1_exam_lcterus', models.BooleanField(default=0)), ('anc1_exam_clubbing', models.BooleanField(default=0)), ('anc1_exam_cyanosis', models.BooleanField(default=0)), ('anc1_exam_edem', models.BooleanField(default=0)), ('anc1_exam_lymp', models.BooleanField(default=0)), ('anc1_invest_HIV', models.BooleanField(default=0)), ('anc1_invest_hbsag', models.BooleanField(default=0)), ('anc1_invest_VDRL', models.BooleanField(default=0)), ('anc1_invest_urineRM', models.BooleanField(default=0)), ('anc1_invest_urineCS', models.BooleanField(default=0)), ('anc1_invest_CRL', models.BooleanField(default=0)), ('anc1_invest_NT', models.BooleanField(default=0)), ('anc1_invest_centile', models.BooleanField(default=0)), ('anc1_invest_text', models.BooleanField(default=0)), ('anc1_advice_Tfolate', models.BooleanField(default=0)), ('anc1_advice_TFe', models.BooleanField(default=0)), ('anc1_general_TSH', models.BooleanField(default=0)), ('anc1_general_T_nitro', models.BooleanField(default=0)), ('anc1_general_syp', models.BooleanField(default=0)), ('anc1_general_Tvit', models.BooleanField(default=0)), ('anc1_general_plenty', models.BooleanField(default=0)), ('anc2_his_breath', models.BooleanField(default=0)), ('anc2_his_fatigue', models.BooleanField(default=0)), ('anc2_his_head', models.BooleanField(default=0)), ('anc2_his_bleed', models.BooleanField(default=0)), ('anc2_his_burn', models.BooleanField(default=0)), ('anc2_his_quick_percieve', models.BooleanField(default=0)), ('anc2_exam_pallor', models.BooleanField(default=0)), ('anc2_exam_pedal', models.BooleanField(default=0)), ('anc2_exam_pa', models.BooleanField(default=0)), ('anc2_invest_quad', models.BooleanField(default=0)), ('anc2_invest_fetal', models.BooleanField(default=0)), ('anc2_advice_OGTT', models.BooleanField(default=0)), ('anc2_advice_TFe', models.BooleanField(default=0)), ('anc2_advice_TCa', models.BooleanField(default=0)), ('anc2_advice_Hb_Talb', models.BooleanField(default=0)), ('anc2_advice_Hb_TFe', models.BooleanField(default=0)), ('anc2_advice_Hb_HPLC', models.BooleanField(default=0)), ('anc2_advice_Hb_peri', models.BooleanField(default=0)), ('anc2_advice_Hb_serum', models.BooleanField(default=0)), ('anc2_advice_tetanus', models.BooleanField(default=0)), ('anc3_his_breath', models.BooleanField(default=0)), ('anc3_his_fatigue', models.BooleanField(default=0)), ('anc3_his_head', models.BooleanField(default=0)), ('anc3_his_bleed', models.BooleanField(default=0)), ('anc3_his_leak', models.BooleanField(default=0)), ('anc3_his_burn', models.BooleanField(default=0)), ('anc3_his_fetal_move', models.BooleanField(default=0)), ('anc3_his_itching', models.BooleanField(default=0)), ('anc3_exam_pallor', models.BooleanField(default=0)), ('anc3_exam_pedal', models.BooleanField(default=0)), ('anc3_exam_pa', models.BooleanField(default=0)), ('anc3_invest_GTT_fast', models.BooleanField(default=0)), ('anc3_invest_GTT_1hr', models.BooleanField(default=0)), ('anc3_invest_GTT_2hr', models.BooleanField(default=0)), ('anc3_invest_CBC', models.BooleanField(default=0)), ('anc3_invest_urine', models.BooleanField(default=0)), ('anc3_invest_ICT', models.BooleanField(default=0)), ('anc3_advice_TFe', models.BooleanField(default=0)), ('anc3_advice_DFMC', models.BooleanField(default=0)), ('anc3_advice_BleedPV', models.BooleanField(default=0)), ('anc3_advice_spotPV', models.BooleanField(default=0)), ('anc3_advice_leakPV', models.BooleanField(default=0)), ('anc3_advice_fetalmove', models.BooleanField(default=0)), ('anc3_advice_abdpain', models.BooleanField(default=0)), ('anc3_advice_injAntiD', models.BooleanField(default=0)), ('anc4_his_breath', models.BooleanField(default=0)), ('anc4_his_fatigue', models.BooleanField(default=0)), ('anc4_his_head', models.BooleanField(default=0)), ('anc4_his_bleed', models.BooleanField(default=0)), ('anc4_his_burn', models.BooleanField(default=0)), ('anc4_his_fetal_move', models.BooleanField(default=0)), ('anc4_his_itching', models.BooleanField(default=0)), ('anc4_exam_pallor', models.BooleanField(default=0)), ('anc4_exam_pedal', models.BooleanField(default=0)), ('anc4_exam_pa', models.BooleanField(default=0)), ('anc4_advice_TFe', models.BooleanField(default=0)), ('anc4_advice_TCa', models.BooleanField(default=0)), ('anc4_advice_DFMC', models.BooleanField(default=0)), ('anc4_advice_BleedPV', models.BooleanField(default=0)), ('anc4_advice_spotPV', models.BooleanField(default=0)), ('anc4_advice_leakPV', models.BooleanField(default=0)), ('anc4_advice_fetalmove', models.BooleanField(default=0)), ('anc4_advice_abdpain', models.BooleanField(default=0)), ('anc4_advice_injAntiD', models.BooleanField(default=0)), ('anc4_advice_USG', models.BooleanField(default=0)), ('anc5_his_breath', models.BooleanField(default=0)), ('anc5_his_fatigue', models.BooleanField(default=0)), ('anc5_his_head', models.BooleanField(default=0)), ('anc5_his_bleed', models.BooleanField(default=0)), ('anc5_his_burn', models.BooleanField(default=0)), ('anc5_his_fetal_move', models.BooleanField(default=0)), ('anc5_his_itching', models.BooleanField(default=0)), ('anc5_his_vaginal_del', models.BooleanField(default=0)), ('anc5_his_LSCS_del', models.BooleanField(default=0)), ('anc5_his_birth_attendant', models.BooleanField(default=0)), ('anc5_exam_pallor', models.BooleanField(default=0)), ('anc5_exam_pedal', models.BooleanField(default=0)), ('anc5_exam_pa', models.BooleanField(default=0)), ('anc5_invest_CBC', models.BooleanField(default=0)), ('anc5_invest_LFT', models.BooleanField(default=0)), ('anc5_invest_KFT', models.BooleanField(default=0)), ('anc5_invest_CPR', models.BooleanField(default=0)), ('anc5_advice_DFMC', models.BooleanField(default=0)), ('anc5_advice_TFe_Ca', models.BooleanField(default=0)), ('anc5_advice_BleedPV', models.BooleanField(default=0)), ('anc5_advice_spotPV', models.BooleanField(default=0)), ('anc5_advice_leakPV', models.BooleanField(default=0)), ('anc5_advice_fetalmove', models.BooleanField(default=0)), ('anc5_advice_abdpain', models.BooleanField(default=0)), ('anc5_advice_NST', models.BooleanField(default=0)), ('anc6_his_breath', models.BooleanField(default=0)), ('anc6_his_fatigue', models.BooleanField(default=0)), ('anc6_his_head', models.BooleanField(default=0)), ('anc6_his_bleed', models.BooleanField(default=0)), ('anc6_his_burn', models.BooleanField(default=0)), ('anc6_his_fetal_move', models.BooleanField(default=0)), ('anc6_his_itching', models.BooleanField(default=0)), ('anc6_exam_pallor', models.BooleanField(default=0)), ('anc6_exam_pedal', models.BooleanField(default=0)), ('anc6_exam_pa', models.BooleanField(default=0)), ('anc6_advice_DFMC', models.BooleanField(default=0)), ('anc6_advice_TFe_Ca', models.BooleanField(default=0)), ('anc6_advice_BleedPV', models.BooleanField(default=0)), ('anc6_advice_spotPV', models.BooleanField(default=0)), ('anc6_advice_leakPV', models.BooleanField(default=0)), ('anc6_advice_fetalmove', models.BooleanField(default=0)), ('anc6_advice_abdpain', models.BooleanField(default=0)), ('anc6_advice_NST', models.BooleanField(default=0)), ('anc7_his_breath', models.BooleanField(default=0)), ('anc7_his_fatigue', models.BooleanField(default=0)), ('anc7_his_head', models.BooleanField(default=0)), ('anc7_his_bleed', models.BooleanField(default=0)), ('anc7_his_burn', models.BooleanField(default=0)), ('anc7_his_fetal_move', models.BooleanField(default=0)), ('anc7_his_itching', models.BooleanField(default=0)), ('anc7_exam_pallor', models.BooleanField(default=0)), ('anc7_exam_pedal', models.BooleanField(default=0)), ('anc7_exam_pa', models.BooleanField(default=0)), ('anc7_advice_DFMC', models.BooleanField(default=0)), ('anc7_advice_TFe_Ca', models.BooleanField(default=0)), ('anc7_advice_BleedPV', models.BooleanField(default=0)), ('anc7_advice_spotPV', models.BooleanField(default=0)), ('anc7_advice_leakPV', models.BooleanField(default=0)), ('anc7_advice_fetalmove', models.BooleanField(default=0)), ('anc7_advice_abdpain', models.BooleanField(default=0)), ('invest_others', models.CharField(blank=True, default='', max_length=100)), ('invest_drug_history', models.CharField(blank=True, default='', max_length=100)), ('anc_1_date', models.CharField(blank=True, default='', max_length=100)), ('anc_1_POG', models.CharField(blank=True, default='', max_length=100)), ('anc1_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_height', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_BMI', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_PR', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_RR', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_temp', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_proteinuria', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_chest', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_PA', models.CharField(blank=True, default='', max_length=100)), ('anc1_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_bg', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_husband_bg', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_hemo', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_bloodsugar_fast', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_bloodsugar_post', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_GTT_fast', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_GTT_1hr', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_GTT_2hr', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_TSH', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_NT_done', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_PAPP', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_b_hcg', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_levelII_done', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_normal', models.CharField(blank=True, default='', max_length=100)), ('anc1_invest_others', models.CharField(blank=True, default='', max_length=100)), ('anc1_general_nutritional', models.CharField(blank=True, default='', max_length=100)), ('anc_1_GeneralDeranged_fasting', models.CharField(blank=True, default='', max_length=100)), ('anc_1_GeneralDeranged_breakfast', models.CharField(blank=True, default='', max_length=100)), ('anc_1_GeneralDeranged_lunch', models.CharField(blank=True, default='', max_length=100)), ('anc_1_GeneralDeranged_dinner', models.CharField(blank=True, default='', max_length=100)), ('anc1_general_ailment', models.CharField(blank=True, default='', max_length=100)), ('anc1_general_ICT', models.CharField(blank=True, default='', max_length=100)), ('anc1_general_others', models.CharField(blank=True, default='', max_length=100)), ('anc2_POG', models.CharField(blank=True, default='', max_length=100)), ('anc_2_pa_2weeks', models.CharField(blank=True, default='', max_length=100)), ('anc2_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc2_exam_PR', models.CharField(blank=True, default='', max_length=100)), ('anc2_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc2_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc2_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc2_invest_others', models.CharField(blank=True, default='', max_length=100)), ('anc2_advice_nutri', models.CharField(blank=True, default='', max_length=100)), ('anc2_advice_general', models.CharField(blank=True, default='', max_length=100)), ('anc2_advice_common', models.CharField(blank=True, default='', max_length=100)), ('anc2_advice_others', models.CharField(blank=True, default='', max_length=100)), ('anc3_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc3_exam_PR', models.CharField(blank=True, default='', max_length=100)), ('anc3_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc_3_pa_2weeks', models.CharField(blank=True, default='', max_length=100)), ('anc3_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc3_investigation_others', models.CharField(blank=True, default='', max_length=100)), ('anc3_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc3_advice_nutri', models.CharField(blank=True, default='', max_length=100)), ('anc3_advice_general', models.CharField(blank=True, default='', max_length=100)), ('anc3_advice_common', models.CharField(blank=True, default='', max_length=100)), ('anc3_advice_others', models.CharField(blank=True, default='', max_length=100)), ('anc4_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc4_exam_PR', models.CharField(blank=True, default='', max_length=100)), ('anc4_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc_4_pa_2weeks', models.CharField(blank=True, default='', max_length=100)), ('anc4_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc4_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc4_advice_nutri', models.CharField(blank=True, default='', max_length=100)), ('anc4_advice_general', models.CharField(blank=True, default='', max_length=100)), ('anc4_advice_common', models.CharField(blank=True, default='', max_length=100)), ('anc4_advice_others', models.CharField(blank=True, default='', max_length=100)), ('anc5_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc5_his_timing', models.CharField(blank=True, default='', max_length=100)), ('anc5_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc_5_pa_2weeks', models.CharField(blank=True, default='', max_length=100)), ('anc5_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc5_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc5_invest_others', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_BPD_cm', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_BPD_weeks', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_BPD_centile', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_HC_cm', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_HC_weeks', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_HC_centile', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_AC_cm', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_AC_weeks', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_AC_centile', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_FL_cm', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_FL_weeks', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_FL_centile', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_EFW_gm', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_EFW_weeks', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_EFW_centile', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_liquor_SLP', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_liquor_AFI', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_UAPI', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_UAPI_centile', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_MCAPI', models.CharField(blank=True, default='', max_length=100)), ('anc5_USG_MCAPI_centile', models.CharField(blank=True, default='', max_length=100)), ('anc5_advice_nutri', models.CharField(blank=True, default='', max_length=100)), ('anc5_advice_general', models.CharField(blank=True, default='', max_length=100)), ('anc5_advice_common', models.CharField(blank=True, default='', max_length=100)), ('anc5_advice_others', models.CharField(blank=True, default='', max_length=100)), ('anc6_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc6_exam_PR', models.CharField(blank=True, default='', max_length=100)), ('anc6_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc6_pa_2weeks', models.CharField(blank=True, default='', max_length=100)), ('anc6_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc6_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc6_exam_pelvic', models.CharField(blank=True, default='', max_length=100)), ('anc6_advice_others', models.CharField(blank=True, default='', max_length=100)), ('anc7_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc7_exam_PR', models.CharField(blank=True, default='', max_length=100)), ('anc7_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc7_pa_2weeks', models.CharField(blank=True, default='', max_length=100)), ('anc7_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc7_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc7_advice_others', models.CharField(blank=True, default='', max_length=100)), ('anc8_his_others', models.CharField(blank=True, default='', max_length=100)), ('anc8_exam_PR', models.CharField(blank=True, default='', max_length=100)), ('anc8_exam_BP', models.CharField(blank=True, default='', max_length=100)), ('anc8_exam_weight', models.CharField(blank=True, default='', max_length=100)), ('anc8_exam_others', models.CharField(blank=True, default='', max_length=100)), ('anc8_advice_others', models.CharField(blank=True, default='', max_length=100)), ], ), migrations.AddField( model_name='medicine', name='patient_id', field=models.ForeignKey( null=True, on_delete=django.db.models.deletion.CASCADE, to='cvd_portal.Patient'), ), migrations.AddField( model_name='hospital', name='patient_id', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='patientsPregHospitals', to='cvd_portal.Patient'), ), migrations.AddField( model_name='complication', name='patient_id', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='patientsComplication', to='cvd_portal.Patient'), ), ]
class Migration(migrations.Migration): dependencies = [ ('cvd_portal', '0016_auto_20180225_1455'), ('swasthGarbhApp', '0001_initial'), ] operations = [ migrations.CreateModel( name='Anc7', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('diabtese', models.BooleanField(default=0)), ('dueDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('safeDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('patient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='patientsInAnc7', to='cvd_portal.Patient')), ], ), migrations.CreateModel( name='Complication', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('informationByDoc', models.TextField()), ('complicationImage', models.TextField()), ('tookAction', models.BooleanField(default=0)), ('informationByPatient', models.TextField()), ('patient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='patientsComplication', to='cvd_portal.Patient')), ], ), migrations.CreateModel( name='Hospital', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('xCoordinate', models.DecimalField(decimal_places=4, max_digits=10)), ('yCoordinate', models.DecimalField(decimal_places=4, max_digits=10)), ('patient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='patientsPregHospitals', to='cvd_portal.Patient')), ], ), migrations.CreateModel( name='Medicine', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('medicine_name', models.CharField(max_length=50)), ('medicine_Image', models.TextField()), ('patient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='patientsMedicine', to='cvd_portal.Patient')), ], ), migrations.CreateModel( name='Pregenancy', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('startDate', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('patient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='patientsPreg', to='cvd_portal.Patient')), ], ), migrations.AddField( model_name='anc1', name='dueDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc1', name='safeDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc2', name='anemia', field=models.BooleanField(default=0), ), migrations.AddField( model_name='anc2', name='dueDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc2', name='safeDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc3', name='dueDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc3', name='safeDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc4', name='dueDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc4', name='safeDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc5', name='dueDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc5', name='safeDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc6', name='dueDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc6', name='safeDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc8', name='dueDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AddField( model_name='anc8', name='safeDate', field=cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now), ), migrations.AlterField( model_name='anc2', name='patient', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='patientsInAnc2', to='cvd_portal.Patient'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Device', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('user_type', models.CharField(blank=True, default='', max_length=20)), ('device_id', models.TextField()), ], ), migrations.CreateModel( name='Doctor', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(default='Default Doctor', max_length=60)), ('hospital', models.CharField(blank=True, max_length=30)), ('email', models.EmailField(max_length=254)), ('mobile', models.IntegerField(blank=True)), ('speciality', models.CharField(blank=True, max_length=100)), ('designation', models.CharField(blank=True, max_length=100)), ('verified', models.BooleanField(default=False)), ('device', models.OneToOneField( null=True, on_delete=django.db.models.deletion.CASCADE, related_name='doctor', to='cvd_portal.Device')), ('user', models.OneToOneField( null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Image', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('byte', models.TextField()), ('extra_comments_image', models.TextField(default='')), ('time_stamp', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ], ), migrations.CreateModel( name='Notifications', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('text', models.TextField()), ('context_of_notification', models.CharField(default='None', max_length=50)), ('type', models.PositiveIntegerField(null=True)), ('time_stamp', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('priority', models.PositiveIntegerField(null=True)), ('doctor', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='cvd_portal.Doctor')), ], ), migrations.CreateModel( name='OTP', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('otp', models.IntegerField()), ('user_type', models.TextField()), ('user_type_id', models.IntegerField()), ('user', models.OneToOneField( null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Patient', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(default='Sahil', max_length=60)), ('date_of_birth', models.IntegerField(default=0)), ('gender', models.IntegerField(default=1)), ('UHID', models.CharField(max_length=60, null=True)), ('email', models.EmailField(blank=True, max_length=254)), ('address', models.TextField(null=True)), ('mobile', models.IntegerField(blank=True)), ('lmp', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ('history_high_blood_pressure', models.BooleanField(default=False)), ('history_of_preeclampsia', models.BooleanField(default=False)), ('mother_or_sister_had_preeclampsia', models.BooleanField(default=False)), ('history_of_obesity', models.BooleanField(default=False)), ('more_than_one_baby', models.BooleanField(default=False)), ('history_of_diseases', models.BooleanField(default=False)), ('verified', models.BooleanField(default=False)), ], ), migrations.CreateModel( name='PatientData', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('systolic', models.IntegerField()), ('diastolic', models.IntegerField(default=0)), ('weight', models.IntegerField()), ('heart_rate', models.IntegerField()), ('urine_albumin', models.DecimalField(decimal_places=1, default=0, max_digits=2)), ('headache', models.BooleanField(default=False)), ('abdominal_pain', models.BooleanField(default=False)), ('visual_problems', models.BooleanField(default=False)), ('bleeding_per_vaginum', models.DecimalField(decimal_places=1, default=0, max_digits=2)), ('decreased_fetal_movements', models.BooleanField(default=False)), ('swelling_in_hands_or_face', models.BooleanField(default=False)), ('hyper_tension', models.BooleanField(default=False)), ('extra_comments', models.TextField(blank=True, default='')), ('time_stamp', cvd_portal.models.CustomDateTimeField( default=datetime.datetime.now)), ], ), migrations.CreateModel( name='PatientDataByDoctor', fields=[ ('preeclampsia', models.BooleanField(default=False)), ('patient_id', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='cvd_portal.Patient')), ], ), migrations.AddField( model_name='patientdata', name='patient', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='data', to='cvd_portal.Patient'), ), migrations.AddField( model_name='patient', name='device', field=models.OneToOneField( null=True, on_delete=django.db.models.deletion.CASCADE, related_name='patient', to='cvd_portal.Device'), ), migrations.AddField( model_name='patient', name='doctor', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='patients', to='cvd_portal.Doctor'), ), migrations.AddField( model_name='patient', name='user', field=models.OneToOneField( null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='notifications', name='patient', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='cvd_portal.Patient'), ), migrations.AddField( model_name='image', name='patient', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='image', to='cvd_portal.Patient'), ), ]
class Migration(migrations.Migration): dependencies = [ ('cvd_portal', '0025_auto_20181106_1810'), ('medicine_reminder', '0005_auto_20180705_0411'), ] operations = [ migrations.CreateModel( name='Image', fields=[ ('byte', models.TextField()), ('medicine_id', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='medicine_reminder.Medicine')), ('extra_comments_image', models.TextField(default='')), ('time_stamp', cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now)), ], ), migrations.RemoveField( model_name='doctorinchikitsadata', name='doctor_id', ), migrations.RemoveField( model_name='reminderdataforparticularmed', name='medicine', ), migrations.RemoveField( model_name='reminderdataforparticularmed', name='patient_id', ), migrations.RemoveField( model_name='medicine', name='compunds', ), migrations.RemoveField( model_name='medicine', name='medicine_Image', ), migrations.RemoveField( model_name='medicine', name='name', ), migrations.AddField( model_name='medicine', name='medicine_end', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='medicine', name='medicine_extra_comments', field=models.TextField(default=''), ), migrations.AddField( model_name='medicine', name='medicine_freq', field=models.CharField(default='DAILY', max_length=50), ), migrations.AddField( model_name='medicine', name='medicine_name', field=models.CharField(default='No Name', max_length=50), ), migrations.AddField( model_name='medicine', name='medicine_start', field=cvd_portal.models.CustomDateTimeField(default=datetime.datetime.now), ), migrations.AddField( model_name='medicine', name='patient_id', field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='cvd_portal.Patient'), ), migrations.DeleteModel( name='DoctorInChikitsaData', ), migrations.DeleteModel( name='ReminderDataForParticularMed', ), ]