blob: 2b461273ad4ceae5d48d04c924de3addf01c892c [file] [log] [blame]
Rushabh Mehtaf0569742017-09-13 12:52:30 +05301from __future__ import unicode_literals
2from frappe import _
3
4def get_data():
Rushabh Mehtaf0569742017-09-13 12:52:30 +05305 return [
6 {
Rushabh Mehtaf0569742017-09-13 12:52:30 +05307 "label": _("Masters"),
Rushabh Mehtaf0569742017-09-13 12:52:30 +05308 "items": [
9 {
10 "type": "doctype",
11 "name": "Patient",
12 "label": _("Patient"),
Rucha Mahabal06d1b042020-03-12 12:16:23 +053013 "onboard": 1
Rushabh Mehtaf0569742017-09-13 12:52:30 +053014 },
15 {
16 "type": "doctype",
Jamsheerf9269112018-07-16 18:08:53 +053017 "name": "Healthcare Practitioner",
18 "label": _("Healthcare Practitioner"),
Rucha Mahabal06d1b042020-03-12 12:16:23 +053019 "onboard": 1
Rushabh Mehtaf0569742017-09-13 12:52:30 +053020 },
21 {
22 "type": "doctype",
Jamsheerf9269112018-07-16 18:08:53 +053023 "name": "Practitioner Schedule",
24 "label": _("Practitioner Schedule"),
Rucha Mahabal06d1b042020-03-12 12:16:23 +053025 "onboard": 1
Rushabh Mehtaf0569742017-09-13 12:52:30 +053026 },
27 {
28 "type": "doctype",
29 "name": "Medical Department",
Jamsheerc90195d2017-12-29 14:32:13 +053030 "label": _("Medical Department"),
Rushabh Mehtaf0569742017-09-13 12:52:30 +053031 },
32 {
33 "type": "doctype",
Rucha Mahabal06d1b042020-03-12 12:16:23 +053034 "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 Mehtaf0569742017-09-13 12:52:30 +053059 "name": "Appointment Type",
Jamsheerc90195d2017-12-29 14:32:13 +053060 "label": _("Appointment Type"),
Rushabh Mehtaf0569742017-09-13 12:52:30 +053061 },
62 {
63 "type": "doctype",
Rucha Mahabal06d1b042020-03-12 12:16:23 +053064 "name": "Clinical Procedure Template",
65 "label": _("Clinical Procedure Template")
66 },
67 {
68 "type": "doctype",
Rushabh Mehtaf0569742017-09-13 12:52:30 +053069 "name": "Prescription Dosage",
Jamsheerc90195d2017-12-29 14:32:13 +053070 "label": _("Prescription Dosage")
Rushabh Mehtaf0569742017-09-13 12:52:30 +053071 },
72 {
73 "type": "doctype",
74 "name": "Prescription Duration",
Jamsheerc90195d2017-12-29 14:32:13 +053075 "label": _("Prescription Duration")
Rushabh Mehtaf0569742017-09-13 12:52:30 +053076 },
77 {
78 "type": "doctype",
Rucha Mahabal06d1b042020-03-12 12:16:23 +053079 "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 Mehtaf0569742017-09-13 12:52:30 +0530109 "name": "Complaint",
Jamsheerc90195d2017-12-29 14:32:13 +0530110 "label": _("Complaint")
Rushabh Mehtaf0569742017-09-13 12:52:30 +0530111 },
112 {
113 "type": "doctype",
114 "name": "Diagnosis",
Jamsheerc90195d2017-12-29 14:32:13 +0530115 "label": _("Diagnosis")
Rushabh Mehtaf0569742017-09-13 12:52:30 +0530116 },
117 {
118 "type": "doctype",
Rucha Mahabal06d1b042020-03-12 12:16:23 +0530119 "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 Mehtaf0569742017-09-13 12:52:30 +0530145 "name": "Lab Test Sample",
Rucha Mahabal06d1b042020-03-12 12:16:23 +0530146 "label": _("Lab Test Sample")
Rushabh Mehtaf0569742017-09-13 12:52:30 +0530147 },
148 {
149 "type": "doctype",
150 "name": "Lab Test UOM",
Jamsheer00c1cf02018-02-12 11:24:12 +0530151 "label": _("Lab Test UOM")
Rushabh Mehtaf0569742017-09-13 12:52:30 +0530152 },
153 {
154 "type": "doctype",
Rushabh Mehtaf0569742017-09-13 12:52:30 +0530155 "name": "Sensitivity",
Jamsheer00c1cf02018-02-12 11:24:12 +0530156 "label": _("Sensitivity")
Rucha Mahabal06d1b042020-03-12 12:16:23 +0530157 }
158 ]
159 },
160 {
161 "label": _("Laboratory"),
162 "items": [
163 {
164 "type": "doctype",
165 "name": "Lab Test",
166 "label": _("Lab Test")
Rushabh Mehtaf0569742017-09-13 12:52:30 +0530167 },
168 {
169 "type": "doctype",
Rucha Mahabal06d1b042020-03-12 12:16:23 +0530170 "name": "Sample Collection",
171 "label": _("Sample Collection")
Jamsheer0cde6ae2018-05-16 10:54:00 +0530172 },
173 {
174 "type": "doctype",
Rucha Mahabal06d1b042020-03-12 12:16:23 +0530175 "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"),
Jamsheer425fb4c2018-07-23 13:05:35 +0530187 },
188 {
189 "type": "doctype",
Rucha Mahabal06d1b042020-03-12 12:16:23 +0530190 "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 Mehtaf0569742017-09-13 12:52:30 +0530215 }
216 ]
217 }
218 ]