From b4cb9878ec55e4ec0d92a7cf7d0ceb0cd0a26924 Mon Sep 17 00:00:00 2001 From: Shivank Kacker Date: Mon, 15 Jul 2024 01:18:57 +0530 Subject: [PATCH 1/4] Added new skills --- care/facility/models/facility.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/care/facility/models/facility.py b/care/facility/models/facility.py index f5a0013540..6f5ea4eb14 100644 --- a/care/facility/models/facility.py +++ b/care/facility/models/facility.py @@ -124,7 +124,7 @@ (23, "Nephrologist"), (24, "Neuro Surgeon"), (25, "Neurologist"), - (26, "Obstetrician and Gynecologist"), + (26, "Obstetrician/Gynecologist (OB/GYN)"), (27, "Oncologist"), (28, "Oncology Surgeon"), (29, "Ophthalmologist"), @@ -147,6 +147,22 @@ (46, "Transfusion Medicine Specialist"), (47, "Urologist"), (48, "Nurse"), + (49, "Allergist/Immunologist"), + (50, "Cardiothoracic Surgeon"), + (51, "Gynecologic Oncologist"), + (52, "Hepatologist"), + (53, "Internist"), + (54, "Neonatologist"), + (55, "Pain Management Specialist"), + (56, "Physiatrist (Physical Medicine and Rehabilitation)"), + (57, "Podiatrist"), + (58, "Preventive Medicine Specialist"), + (59, "Radiation Oncologist"), + (60, "Sleep Medicine Specialist"), + (61, "Transplant Surgeon"), + (62, "Trauma Surgeon"), + (63, "Vascular Surgeon"), + (64, "Critical Care Physician"), ] REVERSE_DOCTOR_TYPES = reverse_choices(DOCTOR_TYPES) From 91a07765ccfac98dbde022278eb3d813b0090b1f Mon Sep 17 00:00:00 2001 From: Shivank Kacker Date: Mon, 15 Jul 2024 01:19:56 +0530 Subject: [PATCH 2/4] Migration --- .../0445_alter_hospitaldoctors_area.py | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 care/facility/migrations/0445_alter_hospitaldoctors_area.py diff --git a/care/facility/migrations/0445_alter_hospitaldoctors_area.py b/care/facility/migrations/0445_alter_hospitaldoctors_area.py new file mode 100644 index 0000000000..b86d70592a --- /dev/null +++ b/care/facility/migrations/0445_alter_hospitaldoctors_area.py @@ -0,0 +1,85 @@ +# Generated by Django 4.2.10 on 2024-07-14 19:49 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("facility", "0444_alter_medicineadministration_dosage_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="hospitaldoctors", + name="area", + field=models.IntegerField( + choices=[ + (1, "General Medicine"), + (2, "Pulmonology"), + (3, "Intensivist"), + (4, "Pediatrician"), + (5, "Others"), + (6, "Anesthesiologist"), + (7, "Cardiac Surgeon"), + (8, "Cardiologist"), + (9, "Dentist"), + (10, "Dermatologist"), + (11, "Diabetologist"), + (12, "Emergency Medicine Physician"), + (13, "Endocrinologist"), + (14, "Family Physician"), + (15, "Gastroenterologist"), + (16, "General Surgeon"), + (17, "Geriatrician"), + (18, "Hematologist"), + (29, "Immunologist"), + (20, "Infectious Disease Specialist"), + (21, "MBBS doctor"), + (22, "Medical Officer"), + (23, "Nephrologist"), + (24, "Neuro Surgeon"), + (25, "Neurologist"), + (26, "Obstetrician/Gynecologist (OB/GYN)"), + (27, "Oncologist"), + (28, "Oncology Surgeon"), + (29, "Ophthalmologist"), + (30, "Oral and Maxillofacial Surgeon"), + (31, "Orthopedic"), + (32, "Orthopedic Surgeon"), + (33, "Otolaryngologist (ENT)"), + (34, "Palliative care Physician"), + (35, "Pathologist"), + (36, "Pediatric Surgeon"), + (37, "Physician"), + (38, "Plastic Surgeon"), + (39, "Psychiatrist"), + (40, "Pulmonologist"), + (41, "Radio technician"), + (42, "Radiologist"), + (43, "Rheumatologist"), + (44, "Sports Medicine Specialist"), + (45, "Thoraco-Vascular Surgeon"), + (46, "Transfusion Medicine Specialist"), + (47, "Urologist"), + (48, "Nurse"), + (49, "Allergist/Immunologist"), + (50, "Cardiothoracic Surgeon"), + (51, "Gynecologic Oncologist"), + (52, "Hepatologist"), + (53, "Internist"), + (54, "Neonatologist"), + (55, "Pain Management Specialist"), + (56, "Physiatrist (Physical Medicine and Rehabilitation)"), + (57, "Podiatrist"), + (58, "Preventive Medicine Specialist"), + (59, "Radiation Oncologist"), + (60, "Sleep Medicine Specialist"), + (61, "Transplant Surgeon"), + (62, "Trauma Surgeon"), + (63, "Vascular Surgeon"), + (64, "Critical Care Physician"), + ] + ), + ), + ] From 14707fda14ece07eeae3e9158c7676be978ef171 Mon Sep 17 00:00:00 2001 From: Shivank Kacker Date: Wed, 17 Jul 2024 23:13:54 +0530 Subject: [PATCH 3/4] remade migrations --- ...italdoctors_area.py => 0446_alter_hospitaldoctors_area.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename care/facility/migrations/{0445_alter_hospitaldoctors_area.py => 0446_alter_hospitaldoctors_area.py} (96%) diff --git a/care/facility/migrations/0445_alter_hospitaldoctors_area.py b/care/facility/migrations/0446_alter_hospitaldoctors_area.py similarity index 96% rename from care/facility/migrations/0445_alter_hospitaldoctors_area.py rename to care/facility/migrations/0446_alter_hospitaldoctors_area.py index b86d70592a..3f2ad707df 100644 --- a/care/facility/migrations/0445_alter_hospitaldoctors_area.py +++ b/care/facility/migrations/0446_alter_hospitaldoctors_area.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.10 on 2024-07-14 19:49 +# Generated by Django 4.2.10 on 2024-07-17 17:43 from django.db import migrations, models @@ -6,7 +6,7 @@ class Migration(migrations.Migration): dependencies = [ - ("facility", "0444_alter_medicineadministration_dosage_and_more"), + ("facility", "0445_merge_20240715_0301"), ] operations = [ From 6a7e391bd88bac28e7f492aa65db1334f37ca2b1 Mon Sep 17 00:00:00 2001 From: vigneshhari Date: Fri, 23 Aug 2024 16:18:09 +0530 Subject: [PATCH 4/4] Add Merge Migration --- .../facility/migrations/0450_merge_20240823_1617.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 care/facility/migrations/0450_merge_20240823_1617.py diff --git a/care/facility/migrations/0450_merge_20240823_1617.py b/care/facility/migrations/0450_merge_20240823_1617.py new file mode 100644 index 0000000000..00bee19cc2 --- /dev/null +++ b/care/facility/migrations/0450_merge_20240823_1617.py @@ -0,0 +1,13 @@ +# Generated by Django 4.2.10 on 2024-08-23 10:47 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("facility", "0446_alter_hospitaldoctors_area"), + ("facility", "0449_merge_20240822_1343"), + ] + + operations = []