mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
Clinical procedure (#13540)
* 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
This commit is contained in:
@@ -17,6 +17,7 @@ def setup_healthcare():
|
||||
create_lab_test_items()
|
||||
create_lab_test_template()
|
||||
create_sensitivity()
|
||||
add_healthcare_service_unit_tree_root()
|
||||
|
||||
def create_medical_departments():
|
||||
departments = [
|
||||
@@ -260,3 +261,13 @@ def create_sensitivity():
|
||||
{"doctype": "Sensitivity", "sensitivity": _("Intermediate")}
|
||||
]
|
||||
insert_record(records)
|
||||
|
||||
def add_healthcare_service_unit_tree_root():
|
||||
record = [
|
||||
{
|
||||
"doctype": "Healthcare Service Unit",
|
||||
"healthcare_service_unit_name": "All Healthcare Service Unit",
|
||||
"is_group": 1
|
||||
}
|
||||
]
|
||||
insert_record(record)
|
||||
|
||||
Reference in New Issue
Block a user