From 7cc205946c3855c9d0e19b2152f3c07dc2370ccf Mon Sep 17 00:00:00 2001 From: Jamsheer Date: Mon, 6 Aug 2018 11:48:03 +0530 Subject: [PATCH] Restrict to Healthcare --- .../clinical_procedure.json | 1 + .../healthcare_service_unit_type.json | 3 +- .../inpatient_record/inpatient_record.json | 3 +- .../appointment_analytic.json | 34 +++++++++--------- .../page/medical_record/medical_record.json | 36 ++++++++++--------- .../lab_test_report/lab_test_report.json | 12 +++++-- 6 files changed, 51 insertions(+), 38 deletions(-) diff --git a/erpnext/healthcare/doctype/clinical_procedure/clinical_procedure.json b/erpnext/healthcare/doctype/clinical_procedure/clinical_procedure.json index a830c37d96..c755b7fe79 100644 --- a/erpnext/healthcare/doctype/clinical_procedure/clinical_procedure.json +++ b/erpnext/healthcare/doctype/clinical_procedure/clinical_procedure.json @@ -912,6 +912,7 @@ "quick_entry": 0, "read_only": 0, "read_only_onload": 0, + "restrict_to_domain": "Healthcare", "show_name_in_global_search": 0, "sort_field": "modified", "sort_order": "DESC", diff --git a/erpnext/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.json b/erpnext/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.json index f8bb75e500..431e66e53d 100644 --- a/erpnext/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.json +++ b/erpnext/healthcare/doctype/healthcare_service_unit_type/healthcare_service_unit_type.json @@ -547,7 +547,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-07-30 14:31:58.025819", + "modified": "2018-08-06 11:43:03.679223", "modified_by": "Administrator", "module": "Healthcare", "name": "Healthcare Service Unit Type", @@ -577,6 +577,7 @@ "quick_entry": 0, "read_only": 0, "read_only_onload": 0, + "restrict_to_domain": "Healthcare", "show_name_in_global_search": 0, "sort_field": "modified", "sort_order": "DESC", diff --git a/erpnext/healthcare/doctype/inpatient_record/inpatient_record.json b/erpnext/healthcare/doctype/inpatient_record/inpatient_record.json index 50f17e9dc4..92c11fbb4d 100644 --- a/erpnext/healthcare/doctype/inpatient_record/inpatient_record.json +++ b/erpnext/healthcare/doctype/inpatient_record/inpatient_record.json @@ -968,6 +968,7 @@ "quick_entry": 0, "read_only": 0, "read_only_onload": 0, + "restrict_to_domain": "Healthcare", "search_fields": "patient", "show_name_in_global_search": 0, "sort_field": "modified", @@ -976,4 +977,4 @@ "track_changes": 1, "track_seen": 0, "track_views": 0 -} \ No newline at end of file +} diff --git a/erpnext/healthcare/page/appointment_analytic/appointment_analytic.json b/erpnext/healthcare/page/appointment_analytic/appointment_analytic.json index 4deff806ba..ac5ca1a266 100644 --- a/erpnext/healthcare/page/appointment_analytic/appointment_analytic.json +++ b/erpnext/healthcare/page/appointment_analytic/appointment_analytic.json @@ -1,22 +1,24 @@ { - "content": null, - "creation": "2016-08-18 12:29:52.497819", - "docstatus": 0, - "doctype": "Page", - "idx": 0, - "modified": "2016-08-18 12:29:52.497819", - "modified_by": "Administrator", - "module": "Healthcare", - "name": "appointment-analytic", - "owner": "Administrator", - "page_name": "Appointment Analytics", + "content": null, + "creation": "2016-08-18 12:29:52.497819", + "docstatus": 0, + "doctype": "Page", + "idx": 0, + "modified": "2018-08-06 11:40:53.082863", + "modified_by": "Administrator", + "module": "Healthcare", + "name": "appointment-analytic", + "owner": "Administrator", + "page_name": "Appointment Analytics", + "restrict_to_domain": "Healthcare", "roles": [ { "role": "Physician" } - ], - "script": null, - "standard": "Yes", - "style": null, + ], + "script": null, + "standard": "Yes", + "style": null, + "system_page": 0, "title": "Appointment Analytics" -} +} \ No newline at end of file diff --git a/erpnext/healthcare/page/medical_record/medical_record.json b/erpnext/healthcare/page/medical_record/medical_record.json index 7c786cae6b..ca30c3be29 100644 --- a/erpnext/healthcare/page/medical_record/medical_record.json +++ b/erpnext/healthcare/page/medical_record/medical_record.json @@ -1,23 +1,25 @@ { - "content": null, - "creation": "2016-06-09 11:33:14.025787", - "docstatus": 0, - "doctype": "Page", - "icon": "icon-play", - "idx": 0, - "modified": "2017-03-06 11:20:40.174661", - "modified_by": "Administrator", - "module": "Healthcare", - "name": "medical_record", - "owner": "Administrator", - "page_name": "medical_record", + "content": null, + "creation": "2016-06-09 11:33:14.025787", + "docstatus": 0, + "doctype": "Page", + "icon": "icon-play", + "idx": 0, + "modified": "2018-08-06 11:40:39.705660", + "modified_by": "Administrator", + "module": "Healthcare", + "name": "medical_record", + "owner": "Administrator", + "page_name": "medical_record", + "restrict_to_domain": "Healthcare", "roles": [ { "role": "Physician" } - ], - "script": null, - "standard": "Yes", - "style": null, + ], + "script": null, + "standard": "Yes", + "style": null, + "system_page": 0, "title": "Medical Record" -} +} \ No newline at end of file diff --git a/erpnext/healthcare/report/lab_test_report/lab_test_report.json b/erpnext/healthcare/report/lab_test_report/lab_test_report.json index f133a8e1b7..30e5a5fd56 100644 --- a/erpnext/healthcare/report/lab_test_report/lab_test_report.json +++ b/erpnext/healthcare/report/lab_test_report/lab_test_report.json @@ -1,17 +1,17 @@ { "add_total_row": 1, - "apply_user_permissions": 1, "creation": "2013-04-23 18:15:29", "disabled": 0, "docstatus": 0, "doctype": "Report", "idx": 1, "is_standard": "Yes", - "modified": "2017-08-23 14:54:12.593140", + "modified": "2018-08-06 11:41:50.218737", "modified_by": "Administrator", "module": "Healthcare", "name": "Lab Test Report", "owner": "Administrator", + "prepared_report": 0, "ref_doctype": "Lab Test", "report_name": "Lab Test Report", "report_type": "Script Report", @@ -20,7 +20,13 @@ "role": "Laboratory User" }, { - "role": "System Manager" + "role": "Nursing User" + }, + { + "role": "LabTest Approver" + }, + { + "role": "Healthcare Administrator" } ] } \ No newline at end of file