0cde6ae3c5
* Clinical Procesdure Template and Clinical Procedure Doctype * Consultation - Create procedure and procedure prescription * Patient Appointment - Create Procedure and Procedure appointment invoice * Physician Schedule - Validate slot overlap * Clinical Procedure Item - batch_no for Clinical Procedure not for Template * Clinical Procedure - manage item batch_no * Codacy - fixes * Yet another Codacy and travic-ci fix * Codacy - fixes * Clinical Procedure - Codacy fix * Permissions updated * fixed Qty Indicators, Minor fixes * Patient appointment for procedure prescription * Doctype Patient Service Unit to Healthcare Service Unit * Add healthcare service unit tree root * Healthcare Service Unit - Tree view script * Healthcare Service Unit - allow appointments check * Clinical Procedure - remove unused variable * Clinical Procedure - Get actual quantity from ledger - fix * Clinical Procedure - apply transilation for message * Warehouse in Healthcare Service Unit * Service Unit in Clinical Procedure * Codacy fix * Missing semicolon
174 lines
3.3 KiB
Python
174 lines
3.3 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": "Consultation",
|
|
"label": _("Consultation"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Vital Signs",
|
|
"label": _("Vital Signs"),
|
|
"description": _("Record Patient Vitals"),
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "medical_record",
|
|
"label": _("Patient Medical Record"),
|
|
},
|
|
{
|
|
"type": "page",
|
|
"name": "appointment-analytic",
|
|
"label": _("Appointment Analytics"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Clinical Procedure",
|
|
"label": _("Clinical Procedure"),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Physician",
|
|
"label": _("Physician"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Physician Schedule",
|
|
"label": _("Physician Schedule"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Medical Code Standard",
|
|
"label": _("Medical Code Standard"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Medical Code",
|
|
"label": _("Medical Code"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Healthcare Service Unit",
|
|
"label": _("Healthcare Service Unit")
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Setup"),
|
|
"icon": "icon-cog",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Healthcare Settings",
|
|
"label": _("Healthcare Settings"),
|
|
},
|
|
{
|
|
"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"),
|
|
}
|
|
]
|
|
}
|
|
]
|