5073ac4dcb
* Page - Patient History * Healthcare Utils - get patient vitals * Healthcare Utils - render doc as html for patient history page * Page - Patient History - prcatitioner image in time line * Page - Patient History in menu * fix - page medical history * fix: page patient_history broken img, minor fixes * fix: patient_history page, add pagination, show doc if fetched * fix: Patient Medical Record to Patient History * fix: patient history page - set route options * fix: update to code standards * fix: remove Eidt button form patient history * fix: css update to code standards * fix: Remove page medical_record
188 lines
3.7 KiB
Python
188 lines
3.7 KiB
Python
from __future__ import unicode_literals
|
|
from frappe import _
|
|
|
|
def get_data():
|
|
|
|
return [
|
|
{
|
|
"label": _("Consultation"),
|
|
"icon": "icon-star",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Patient Appointment",
|
|
"label": _("Patient Appointment"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Patient Encounter",
|
|
"label": _("Patient Encounter"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Vital Signs",
|
|
"label": _("Vital Signs"),
|
|
"description": _("Record Patient Vitals"),
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "patient_history",
|
|
"label": _("Patient History"),
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "appointment-analytic",
|
|
"label": _("Appointment Analytics"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Clinical Procedure",
|
|
"label": _("Clinical Procedure"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Inpatient Record",
|
|
"label": _("Inpatient Record"),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Laboratory"),
|
|
"icon": "icon-list",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Lab Test",
|
|
"label": _("Lab Test"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sample Collection",
|
|
"label": _("Sample Collection"),
|
|
},
|
|
{
|
|
"type": "report",
|
|
"name": "Lab Test Report",
|
|
"is_query_report": True,
|
|
"label": _("Lab Test Report"),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Masters"),
|
|
"icon": "icon-list",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Patient",
|
|
"label": _("Patient"),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Healthcare Practitioner",
|
|
"label": _("Healthcare Practitioner"),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Practitioner Schedule",
|
|
"label": _("Practitioner Schedule"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Medical Code Standard",
|
|
"label": _("Medical Code Standard"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Medical Code",
|
|
"label": _("Medical Code"),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Healthcare Service Unit",
|
|
"label": _("Healthcare Service Unit")
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Settings"),
|
|
"icon": "icon-cog",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Healthcare Settings",
|
|
"label": _("Healthcare Settings"),
|
|
"onboard": 1,
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Medical Department",
|
|
"label": _("Medical Department"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Appointment Type",
|
|
"label": _("Appointment Type"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Prescription Dosage",
|
|
"label": _("Prescription Dosage")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Prescription Duration",
|
|
"label": _("Prescription Duration")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Complaint",
|
|
"label": _("Complaint")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Diagnosis",
|
|
"label": _("Diagnosis")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Lab Test Sample",
|
|
"label": _("Lab Test Sample"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Lab Test UOM",
|
|
"label": _("Lab Test UOM")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Antibiotic",
|
|
"label": _("Antibiotic")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Sensitivity",
|
|
"label": _("Sensitivity")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Lab Test Template",
|
|
"label": _("Lab Test Template")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Clinical Procedure Template",
|
|
"label": _("Clinical Procedure Template"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Healthcare Service Unit Type",
|
|
"label": _("Healthcare Service Unit Type")
|
|
}
|
|
]
|
|
}
|
|
]
|