RichardZhu52 commited on
Commit
e1029b2
·
1 Parent(s): ebba480

update w specialties maps

Browse files
Files changed (3) hide show
  1. app.py +2 -2
  2. specialties.json +38 -0
  3. subspecialties.json +94 -0
app.py CHANGED
@@ -394,8 +394,8 @@ with gr.Blocks(css=centered_col_css) as demo:
394
  data_subset_state = gr.State()
395
 
396
  # Load specialty data
397
- specialties_path = os.path.join("specialties_preprocessing", "specialties.json")
398
- subspecialties_path = os.path.join("specialties_preprocessing", "subspecialties.json")
399
 
400
  try:
401
  with open(specialties_path, 'r') as f:
 
394
  data_subset_state = gr.State()
395
 
396
  # Load specialty data
397
+ specialties_path = "specialties.json"
398
+ subspecialties_path = "subspecialties.json"
399
 
400
  try:
401
  with open(specialties_path, 'r') as f:
specialties.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "Aerospace Medicine",
3
+ "Allergy and Immunology",
4
+ "Anesthesiology",
5
+ "Clinical Biochemical Genetics",
6
+ "Clinical Genetics and Genomics (MD)",
7
+ "Colon and Rectal Surgery",
8
+ "Dermatology",
9
+ "Diagnostic Radiology",
10
+ "Emergency Medicine",
11
+ "Family Medicine",
12
+ "General Surgery",
13
+ "Internal Medicine",
14
+ "Interventional Radiology and Diagnostic Radiology",
15
+ "Laboratory Genetics and Genomics",
16
+ "Medical Physics (Diagnostic, Nuclear, Therapeutic)",
17
+ "Neurological Surgery",
18
+ "Neurology",
19
+ "Neurology with Special Qualification in Child Neurology",
20
+ "Nuclear Medicine",
21
+ "Obstetrics and Gynecology",
22
+ "Occupational and Environmental Medicine",
23
+ "Ophthalmology",
24
+ "Orthopaedic Surgery",
25
+ "Otolaryngology – Head and Neck Surgery",
26
+ "Pathology – Anatomic",
27
+ "Pathology – Anatomic/Pathology - Clinical",
28
+ "Pathology – Clinical",
29
+ "Pediatrics",
30
+ "Physical Medicine and Rehabilitation",
31
+ "Plastic Surgery",
32
+ "Psychiatry",
33
+ "Public Health and General Preventive Medicine",
34
+ "Radiation Oncology",
35
+ "Thoracic and Cardiac Surgery",
36
+ "Urology",
37
+ "Vascular Surgery"
38
+ ]
subspecialties.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "Addiction Medicine",
3
+ "Addiction Psychiatry",
4
+ "Adolescent Medicine",
5
+ "Adult Cardiac Anesthesiology",
6
+ "Adult Congenital Heart Disease",
7
+ "Advanced Heart Failure and Transplant Cardiology",
8
+ "Anesthesiology Critical Care Medicine",
9
+ "Blood Banking/Transfusion Medicine",
10
+ "Brain Injury Medicine",
11
+ "Cardiovascular Disease",
12
+ "Child Abuse Pediatrics",
13
+ "Child and Adolescent Psychiatry",
14
+ "Clinical Cardiac Electrophysiology",
15
+ "Clinical Informatics",
16
+ "Clinical Neurophysiology",
17
+ "Complex Family Planning",
18
+ "Complex General Surgical Oncology",
19
+ "Complex Pediatric Otolaryngology",
20
+ "Congenital Cardiac Surgery",
21
+ "Consultation-Liaison Psychiatry",
22
+ "Critical Care Medicine",
23
+ "Cytopathology",
24
+ "Dermatopathology",
25
+ "Developmental-Behavioral Pediatrics",
26
+ "Emergency Medical Services",
27
+ "Endocrinology, Diabetes and Metabolism",
28
+ "Epilepsy",
29
+ "Forensic Psychiatry",
30
+ "Gastroenterology",
31
+ "Geriatric Medicine",
32
+ "Geriatric Psychiatry",
33
+ "Gynecologic Oncology",
34
+ "Health Care Administration, Leadership, and Management*",
35
+ "Hematology",
36
+ "Hematopathology",
37
+ "Hospice and Palliative Medicine",
38
+ "Infectious Disease",
39
+ "Internal Medicine-Critical Care Medicine",
40
+ "Interventional Cardiology",
41
+ "Maternal–Fetal Medicine",
42
+ "Medical Biochemical Genetics",
43
+ "Medical Oncology",
44
+ "Medical Toxicology",
45
+ "Micrographic Dermatologic Surgery",
46
+ "Molecular Genetic Pathology",
47
+ "Neonatal-Perinatal Medicine",
48
+ "Nephrology",
49
+ "Neurocritical Care",
50
+ "Neurodevelopmental Disabilities",
51
+ "Neuromuscular Medicine",
52
+ "Neuropathology",
53
+ "Neuroradiology",
54
+ "Neurotology",
55
+ "Nuclear Radiology",
56
+ "Orthopaedic Sports Medicine",
57
+ "Pain Medicine",
58
+ "Pathology – Chemical",
59
+ "Pathology – Forensic",
60
+ "Pathology – Medical Microbiology",
61
+ "Pathology – Molecular Genetic",
62
+ "Pathology – Pediatric",
63
+ "Pediatric Anesthesiology",
64
+ "Pediatric Cardiology",
65
+ "Pediatric Critical Care Medicine",
66
+ "Pediatric Dermatology",
67
+ "Pediatric Emergency Medicine",
68
+ "Pediatric Endocrinology",
69
+ "Pediatric Gastroenterology",
70
+ "Pediatric Hematology-Oncology",
71
+ "Pediatric Hospital Medicine",
72
+ "Pediatric Infectious Diseases",
73
+ "Pediatric Nephrology",
74
+ "Pediatric Pulmonology",
75
+ "Pediatric Radiology",
76
+ "Pediatric Rehabilitation Medicine",
77
+ "Pediatric Rheumatology",
78
+ "Pediatric Surgery",
79
+ "Pediatric Transplant Hepatology",
80
+ "Pediatric Urology",
81
+ "Plastic Surgery Within the Head and Neck*",
82
+ "Pulmonary Disease",
83
+ "Reproductive Endocrinology and Infertility",
84
+ "Rheumatology",
85
+ "Sleep Medicine",
86
+ "Spinal Cord Injury Medicine",
87
+ "Sports Medicine",
88
+ "Surgery of the Hand",
89
+ "Surgical Critical Care",
90
+ "Transplant Hepatology",
91
+ "Undersea and Hyperbaric Medicine",
92
+ "Urogynecology and Reconstructive Pelvic Surgery",
93
+ "Vascular Neurology"
94
+ ]