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(): |
| 5 | |
| 6 | return [ |
| 7 | { |
| 8 | "label": _("Consultation"), |
| 9 | "icon": "icon-star", |
| 10 | "items": [ |
| 11 | { |
| 12 | "type": "doctype", |
| 13 | "name": "Patient Appointment", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 14 | "label": _("Patient Appointment"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 15 | }, |
| 16 | { |
| 17 | "type": "doctype", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 18 | "name": "Patient Encounter", |
| 19 | "label": _("Patient Encounter"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 20 | }, |
| 21 | { |
| 22 | "type": "doctype", |
| 23 | "name": "Vital Signs", |
| 24 | "label": _("Vital Signs"), |
| 25 | "description": _("Record Patient Vitals"), |
| 26 | }, |
| 27 | { |
| 28 | "type": "page", |
| 29 | "name": "medical_record", |
| 30 | "label": _("Patient Medical Record"), |
| 31 | }, |
| 32 | { |
| 33 | "type": "page", |
| 34 | "name": "appointment-analytic", |
| 35 | "label": _("Appointment Analytics"), |
Jamsheer | 0cde6ae | 2018-05-16 10:54:00 +0530 | [diff] [blame] | 36 | }, |
| 37 | { |
| 38 | "type": "doctype", |
| 39 | "name": "Clinical Procedure", |
| 40 | "label": _("Clinical Procedure"), |
Jamsheer | 425fb4c | 2018-07-23 13:05:35 +0530 | [diff] [blame] | 41 | }, |
| 42 | { |
| 43 | "type": "doctype", |
| 44 | "name": "Inpatient Record", |
| 45 | "label": _("Inpatient Record"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 46 | } |
| 47 | ] |
| 48 | }, |
| 49 | { |
| 50 | "label": _("Laboratory"), |
| 51 | "icon": "icon-list", |
| 52 | "items": [ |
| 53 | { |
| 54 | "type": "doctype", |
| 55 | "name": "Lab Test", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 56 | "label": _("Lab Test"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 57 | }, |
| 58 | { |
| 59 | "type": "doctype", |
| 60 | "name": "Sample Collection", |
| 61 | "label": _("Sample Collection"), |
| 62 | }, |
| 63 | { |
| 64 | "type": "report", |
| 65 | "name": "Lab Test Report", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 66 | "is_query_report": True, |
| 67 | "label": _("Lab Test Report"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 68 | } |
| 69 | ] |
| 70 | }, |
| 71 | { |
| 72 | "label": _("Masters"), |
| 73 | "icon": "icon-list", |
| 74 | "items": [ |
| 75 | { |
| 76 | "type": "doctype", |
| 77 | "name": "Patient", |
| 78 | "label": _("Patient"), |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 79 | "onboard": 1, |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 80 | }, |
| 81 | { |
| 82 | "type": "doctype", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 83 | "name": "Healthcare Practitioner", |
| 84 | "label": _("Healthcare Practitioner"), |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 85 | "onboard": 1, |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 86 | }, |
| 87 | { |
| 88 | "type": "doctype", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 89 | "name": "Practitioner Schedule", |
| 90 | "label": _("Practitioner Schedule"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 91 | }, |
| 92 | { |
| 93 | "type": "doctype", |
| 94 | "name": "Medical Code Standard", |
| 95 | "label": _("Medical Code Standard"), |
| 96 | }, |
| 97 | { |
| 98 | "type": "doctype", |
| 99 | "name": "Medical Code", |
| 100 | "label": _("Medical Code"), |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 101 | "onboard": 1, |
Jamsheer | 665b487 | 2018-03-08 13:08:35 +0530 | [diff] [blame] | 102 | }, |
| 103 | { |
| 104 | "type": "doctype", |
Jamsheer | 0cde6ae | 2018-05-16 10:54:00 +0530 | [diff] [blame] | 105 | "name": "Healthcare Service Unit", |
| 106 | "label": _("Healthcare Service Unit") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 107 | } |
| 108 | ] |
| 109 | }, |
| 110 | { |
Prateeksha Singh | 9d4a183 | 2019-02-11 15:14:50 +0530 | [diff] [blame] | 111 | "label": _("Settings"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 112 | "icon": "icon-cog", |
| 113 | "items": [ |
| 114 | { |
| 115 | "type": "doctype", |
| 116 | "name": "Healthcare Settings", |
| 117 | "label": _("Healthcare Settings"), |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 118 | "onboard": 1, |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 119 | }, |
| 120 | { |
| 121 | "type": "doctype", |
| 122 | "name": "Medical Department", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 123 | "label": _("Medical Department"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 124 | }, |
| 125 | { |
| 126 | "type": "doctype", |
| 127 | "name": "Appointment Type", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 128 | "label": _("Appointment Type"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 129 | }, |
| 130 | { |
| 131 | "type": "doctype", |
| 132 | "name": "Prescription Dosage", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 133 | "label": _("Prescription Dosage") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 134 | }, |
| 135 | { |
| 136 | "type": "doctype", |
| 137 | "name": "Prescription Duration", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 138 | "label": _("Prescription Duration") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 139 | }, |
| 140 | { |
| 141 | "type": "doctype", |
| 142 | "name": "Complaint", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 143 | "label": _("Complaint") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 144 | }, |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name": "Diagnosis", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 148 | "label": _("Diagnosis") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 149 | }, |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name": "Lab Test Sample", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 153 | "label": _("Lab Test Sample"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
| 157 | "name": "Lab Test UOM", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 158 | "label": _("Lab Test UOM") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 159 | }, |
| 160 | { |
| 161 | "type": "doctype", |
| 162 | "name": "Antibiotic", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 163 | "label": _("Antibiotic") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 164 | }, |
| 165 | { |
| 166 | "type": "doctype", |
| 167 | "name": "Sensitivity", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 168 | "label": _("Sensitivity") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 169 | }, |
| 170 | { |
| 171 | "type": "doctype", |
| 172 | "name": "Lab Test Template", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 173 | "label": _("Lab Test Template") |
Jamsheer | 0cde6ae | 2018-05-16 10:54:00 +0530 | [diff] [blame] | 174 | }, |
| 175 | { |
| 176 | "type": "doctype", |
| 177 | "name": "Clinical Procedure Template", |
| 178 | "label": _("Clinical Procedure Template"), |
Jamsheer | 425fb4c | 2018-07-23 13:05:35 +0530 | [diff] [blame] | 179 | }, |
| 180 | { |
| 181 | "type": "doctype", |
| 182 | "name": "Healthcare Service Unit Type", |
| 183 | "label": _("Healthcare Service Unit Type") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 184 | } |
| 185 | ] |
| 186 | } |
| 187 | ] |