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", |
| 18 | "name": "Consultation", |
| 19 | "label": _("Consultation"), |
| 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"), |
| 36 | } |
| 37 | ] |
| 38 | }, |
| 39 | { |
| 40 | "label": _("Laboratory"), |
| 41 | "icon": "icon-list", |
| 42 | "items": [ |
| 43 | { |
| 44 | "type": "doctype", |
| 45 | "name": "Lab Test", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 46 | "label": _("Lab Test"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 47 | }, |
| 48 | { |
| 49 | "type": "doctype", |
| 50 | "name": "Sample Collection", |
| 51 | "label": _("Sample Collection"), |
| 52 | }, |
| 53 | { |
| 54 | "type": "report", |
| 55 | "name": "Lab Test Report", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 56 | "is_query_report": True, |
| 57 | "label": _("Lab Test Report"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 58 | } |
| 59 | ] |
| 60 | }, |
| 61 | { |
| 62 | "label": _("Masters"), |
| 63 | "icon": "icon-list", |
| 64 | "items": [ |
| 65 | { |
| 66 | "type": "doctype", |
| 67 | "name": "Patient", |
| 68 | "label": _("Patient"), |
| 69 | }, |
| 70 | { |
| 71 | "type": "doctype", |
| 72 | "name": "Physician", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 73 | "label": _("Physician"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 74 | }, |
| 75 | { |
| 76 | "type": "doctype", |
| 77 | "name": "Physician Schedule", |
| 78 | "label": _("Physician Schedule"), |
| 79 | }, |
| 80 | { |
| 81 | "type": "doctype", |
| 82 | "name": "Medical Code Standard", |
| 83 | "label": _("Medical Code Standard"), |
| 84 | }, |
| 85 | { |
| 86 | "type": "doctype", |
| 87 | "name": "Medical Code", |
| 88 | "label": _("Medical Code"), |
| 89 | } |
| 90 | ] |
| 91 | }, |
| 92 | { |
| 93 | "label": _("Setup"), |
| 94 | "icon": "icon-cog", |
| 95 | "items": [ |
| 96 | { |
| 97 | "type": "doctype", |
| 98 | "name": "Healthcare Settings", |
| 99 | "label": _("Healthcare Settings"), |
| 100 | }, |
| 101 | { |
| 102 | "type": "doctype", |
| 103 | "name": "Medical Department", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 104 | "label": _("Medical Department"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 105 | }, |
| 106 | { |
| 107 | "type": "doctype", |
| 108 | "name": "Appointment Type", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 109 | "label": _("Appointment Type"), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 110 | }, |
| 111 | { |
| 112 | "type": "doctype", |
| 113 | "name": "Prescription Dosage", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 114 | "label": _("Prescription Dosage") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 115 | }, |
| 116 | { |
| 117 | "type": "doctype", |
| 118 | "name": "Prescription Duration", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 119 | "label": _("Prescription Duration") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 120 | }, |
| 121 | { |
| 122 | "type": "doctype", |
| 123 | "name": "Complaint", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 124 | "label": _("Complaint") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 125 | }, |
| 126 | { |
| 127 | "type": "doctype", |
| 128 | "name": "Diagnosis", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 129 | "label": _("Diagnosis") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 130 | }, |
| 131 | { |
| 132 | "type": "doctype", |
| 133 | "name": "Lab Test Sample", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 134 | "label": _("Test Sample."), |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 135 | }, |
| 136 | { |
| 137 | "type": "doctype", |
| 138 | "name": "Lab Test UOM", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 139 | "label": _("Lab Test UOM.") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 140 | }, |
| 141 | { |
| 142 | "type": "doctype", |
| 143 | "name": "Antibiotic", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 144 | "label": _("Antibiotic.") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 145 | }, |
| 146 | { |
| 147 | "type": "doctype", |
| 148 | "name": "Sensitivity", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 149 | "label": _("Sensitivity Naming.") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 150 | }, |
| 151 | { |
| 152 | "type": "doctype", |
| 153 | "name": "Lab Test Template", |
Jamsheer | c90195d | 2017-12-29 14:32:13 +0530 | [diff] [blame] | 154 | "label": _("Lab Test Template.") |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 155 | } |
| 156 | ] |
| 157 | } |
| 158 | ] |