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"), |
| 79 | }, |
| 80 | { |
| 81 | "type": "doctype", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 82 | "name": "Healthcare Practitioner", |
| 83 | "label": _("Healthcare Practitioner"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 84 | }, |
| 85 | { |
| 86 | "type": "doctype", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 87 | "name": "Practitioner Schedule", |
| 88 | "label": _("Practitioner Schedule"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 89 | }, |
| 90 | { |
| 91 | "type": "doctype", |
| 92 | "name": "Medical Code Standard", |
| 93 | "label": _("Medical Code Standard"), |
| 94 | }, |
| 95 | { |
| 96 | "type": "doctype", |
| 97 | "name": "Medical Code", |
| 98 | "label": _("Medical Code"), |
Jamsheer | 665b487 | 2018-03-08 13:08:35 +0530 | [diff] [blame] | 99 | }, |
| 100 | { |
| 101 | "type": "doctype", |
Jamsheer | 0cde6ae | 2018-05-16 10:54:00 +0530 | [diff] [blame] | 102 | "name": "Healthcare Service Unit", |
| 103 | "label": _("Healthcare Service Unit") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 104 | } |
| 105 | ] |
| 106 | }, |
| 107 | { |
| 108 | "label": _("Setup"), |
| 109 | "icon": "icon-cog", |
| 110 | "items": [ |
| 111 | { |
| 112 | "type": "doctype", |
| 113 | "name": "Healthcare Settings", |
| 114 | "label": _("Healthcare Settings"), |
| 115 | }, |
| 116 | { |
| 117 | "type": "doctype", |
| 118 | "name": "Medical Department", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 119 | "label": _("Medical Department"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 120 | }, |
| 121 | { |
| 122 | "type": "doctype", |
| 123 | "name": "Appointment Type", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 124 | "label": _("Appointment Type"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 125 | }, |
| 126 | { |
| 127 | "type": "doctype", |
| 128 | "name": "Prescription Dosage", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 129 | "label": _("Prescription Dosage") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 130 | }, |
| 131 | { |
| 132 | "type": "doctype", |
| 133 | "name": "Prescription Duration", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 134 | "label": _("Prescription Duration") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 135 | }, |
| 136 | { |
| 137 | "type": "doctype", |
| 138 | "name": "Complaint", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 139 | "label": _("Complaint") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 140 | }, |
| 141 | { |
| 142 | "type": "doctype", |
| 143 | "name": "Diagnosis", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 144 | "label": _("Diagnosis") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 145 | }, |
| 146 | { |
| 147 | "type": "doctype", |
| 148 | "name": "Lab Test Sample", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 149 | "label": _("Lab Test Sample"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 150 | }, |
| 151 | { |
| 152 | "type": "doctype", |
| 153 | "name": "Lab Test UOM", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 154 | "label": _("Lab Test UOM") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 155 | }, |
| 156 | { |
| 157 | "type": "doctype", |
| 158 | "name": "Antibiotic", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 159 | "label": _("Antibiotic") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 160 | }, |
| 161 | { |
| 162 | "type": "doctype", |
| 163 | "name": "Sensitivity", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 164 | "label": _("Sensitivity") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 165 | }, |
| 166 | { |
| 167 | "type": "doctype", |
| 168 | "name": "Lab Test Template", |
Jamsheer | 00c1cf0 | 2018-02-12 11:24:12 +0530 | [diff] [blame] | 169 | "label": _("Lab Test Template") |
Jamsheer | 0cde6ae | 2018-05-16 10:54:00 +0530 | [diff] [blame] | 170 | }, |
| 171 | { |
| 172 | "type": "doctype", |
| 173 | "name": "Clinical Procedure Template", |
| 174 | "label": _("Clinical Procedure Template"), |
Jamsheer | 425fb4c | 2018-07-23 13:05:35 +0530 | [diff] [blame] | 175 | }, |
| 176 | { |
| 177 | "type": "doctype", |
| 178 | "name": "Healthcare Service Unit Type", |
| 179 | "label": _("Healthcare Service Unit Type") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 180 | } |
| 181 | ] |
| 182 | } |
| 183 | ] |