Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 5 | return [ |
| 6 | { |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 7 | "label": _("Masters"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Patient", |
| 12 | "label": _("Patient"), |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 13 | "onboard": 1 |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 17 | "name": "Healthcare Practitioner", |
| 18 | "label": _("Healthcare Practitioner"), |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 19 | "onboard": 1 |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 20 | }, |
| 21 | { |
| 22 | "type": "doctype", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 23 | "name": "Practitioner Schedule", |
| 24 | "label": _("Practitioner Schedule"), |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 25 | "onboard": 1 |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 26 | }, |
| 27 | { |
| 28 | "type": "doctype", |
| 29 | "name": "Medical Department", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 30 | "label": _("Medical Department"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 31 | }, |
| 32 | { |
| 33 | "type": "doctype", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 34 | "name": "Healthcare Service Unit Type", |
| 35 | "label": _("Healthcare Service Unit Type") |
| 36 | }, |
| 37 | { |
| 38 | "type": "doctype", |
| 39 | "name": "Healthcare Service Unit", |
| 40 | "label": _("Healthcare Service Unit") |
| 41 | }, |
| 42 | { |
| 43 | "type": "doctype", |
| 44 | "name": "Medical Code Standard", |
| 45 | "label": _("Medical Code Standard") |
| 46 | }, |
| 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Medical Code", |
| 50 | "label": _("Medical Code") |
| 51 | } |
| 52 | ] |
| 53 | }, |
| 54 | { |
| 55 | "label": _("Consultation Setup"), |
| 56 | "items": [ |
| 57 | { |
| 58 | "type": "doctype", |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 59 | "name": "Appointment Type", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 60 | "label": _("Appointment Type"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 61 | }, |
| 62 | { |
| 63 | "type": "doctype", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 64 | "name": "Clinical Procedure Template", |
| 65 | "label": _("Clinical Procedure Template") |
| 66 | }, |
| 67 | { |
| 68 | "type": "doctype", |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 69 | "name": "Prescription Dosage", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 70 | "label": _("Prescription Dosage") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 71 | }, |
| 72 | { |
| 73 | "type": "doctype", |
| 74 | "name": "Prescription Duration", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 75 | "label": _("Prescription Duration") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 76 | }, |
| 77 | { |
| 78 | "type": "doctype", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 79 | "name": "Antibiotic", |
| 80 | "label": _("Antibiotic") |
| 81 | } |
| 82 | ] |
| 83 | }, |
| 84 | { |
| 85 | "label": _("Consultation"), |
| 86 | "items": [ |
| 87 | { |
| 88 | "type": "doctype", |
| 89 | "name": "Patient Appointment", |
| 90 | "label": _("Patient Appointment") |
| 91 | }, |
| 92 | { |
| 93 | "type": "doctype", |
| 94 | "name": "Clinical Procedure", |
| 95 | "label": _("Clinical Procedure") |
| 96 | }, |
| 97 | { |
| 98 | "type": "doctype", |
| 99 | "name": "Patient Encounter", |
| 100 | "label": _("Patient Encounter") |
| 101 | }, |
| 102 | { |
| 103 | "type": "doctype", |
| 104 | "name": "Vital Signs", |
| 105 | "label": _("Vital Signs") |
| 106 | }, |
| 107 | { |
| 108 | "type": "doctype", |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 109 | "name": "Complaint", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 110 | "label": _("Complaint") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 111 | }, |
| 112 | { |
| 113 | "type": "doctype", |
| 114 | "name": "Diagnosis", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 115 | "label": _("Diagnosis") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 116 | }, |
| 117 | { |
| 118 | "type": "doctype", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 119 | "name": "Fee Validity", |
| 120 | "label": _("Fee Validity") |
| 121 | } |
| 122 | ] |
| 123 | }, |
| 124 | { |
| 125 | "label": _("Settings"), |
| 126 | "items": [ |
| 127 | { |
| 128 | "type": "doctype", |
| 129 | "name": "Healthcare Settings", |
| 130 | "label": _("Healthcare Settings"), |
| 131 | "onboard": 1 |
| 132 | } |
| 133 | ] |
| 134 | }, |
| 135 | { |
| 136 | "label": _("Laboratory Setup"), |
| 137 | "items": [ |
| 138 | { |
| 139 | "type": "doctype", |
| 140 | "name": "Lab Test Template", |
| 141 | "label": _("Lab Test Template") |
| 142 | }, |
| 143 | { |
| 144 | "type": "doctype", |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 145 | "name": "Lab Test Sample", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 146 | "label": _("Lab Test Sample") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 147 | }, |
| 148 | { |
| 149 | "type": "doctype", |
| 150 | "name": "Lab Test UOM", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 151 | "label": _("Lab Test UOM") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 152 | }, |
| 153 | { |
| 154 | "type": "doctype", |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 155 | "name": "Sensitivity", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 156 | "label": _("Sensitivity") |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 157 | } |
| 158 | ] |
| 159 | }, |
| 160 | { |
| 161 | "label": _("Laboratory"), |
| 162 | "items": [ |
| 163 | { |
| 164 | "type": "doctype", |
| 165 | "name": "Lab Test", |
| 166 | "label": _("Lab Test") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 167 | }, |
| 168 | { |
| 169 | "type": "doctype", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 170 | "name": "Sample Collection", |
| 171 | "label": _("Sample Collection") |
Jamsheer | 0cde6ae | 2018-05-16 10:54:00 +0530 | [diff] [blame] | 172 | }, |
| 173 | { |
| 174 | "type": "doctype", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 175 | "name": "Dosage Form", |
| 176 | "label": _("Dosage Form") |
| 177 | } |
| 178 | ] |
| 179 | }, |
| 180 | { |
| 181 | "label": _("Records and History"), |
| 182 | "items": [ |
| 183 | { |
| 184 | "type": "page", |
| 185 | "name": "patient_history", |
| 186 | "label": _("Patient History"), |
Jamsheer | 425fb4c | 2018-07-23 13:05:35 +0530 | [diff] [blame] | 187 | }, |
| 188 | { |
| 189 | "type": "doctype", |
Rucha Mahabal | 06d1b04 | 2020-03-12 12:16:23 +0530 | [diff] [blame] | 190 | "name": "Patient Medical Record", |
| 191 | "label": _("Patient Medical Record") |
| 192 | }, |
| 193 | { |
| 194 | "type": "doctype", |
| 195 | "name": "Inpatient Record", |
| 196 | "label": _("Inpatient Record") |
| 197 | } |
| 198 | ] |
| 199 | }, |
| 200 | { |
| 201 | "label": _("Reports"), |
| 202 | "items": [ |
| 203 | { |
| 204 | "type": "report", |
| 205 | "is_query_report": True, |
| 206 | "name": "Patient Appointment Analytics", |
| 207 | "doctype": "Patient Appointment" |
| 208 | }, |
| 209 | { |
| 210 | "type": "report", |
| 211 | "is_query_report": True, |
| 212 | "name": "Lab Test Report", |
| 213 | "doctype": "Lab Test", |
| 214 | "label": _("Lab Test Report") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 215 | } |
| 216 | ] |
Rucha Mahabal | eaa956b | 2020-04-22 13:07:12 +0530 | [diff] [blame] | 217 | }, |
| 218 | { |
| 219 | "label": _("Rehabilitation"), |
| 220 | "icon": "icon-cog", |
| 221 | "items": [ |
| 222 | { |
| 223 | "type": "doctype", |
| 224 | "name": "Exercise Type", |
| 225 | "label": _("Exercise Type") |
| 226 | }, |
| 227 | { |
| 228 | "type": "doctype", |
| 229 | "name": "Exercise Difficulty Level", |
| 230 | "label": _("Exercise Difficulty Level") |
| 231 | }, |
| 232 | { |
| 233 | "type": "doctype", |
| 234 | "name": "Therapy Type", |
| 235 | "label": _("Therapy Type") |
| 236 | }, |
| 237 | { |
| 238 | "type": "doctype", |
| 239 | "name": "Therapy Plan", |
| 240 | "label": _("Therapy Plan") |
| 241 | }, |
| 242 | { |
| 243 | "type": "doctype", |
| 244 | "name": "Therapy Session", |
| 245 | "label": _("Therapy Session") |
| 246 | }, |
| 247 | { |
| 248 | "type": "doctype", |
| 249 | "name": "Motor Assessment Scale", |
| 250 | "label": _("Motor Assessment Scale") |
| 251 | } |
| 252 | ] |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 253 | } |
| 254 | ] |