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