From 3bc0e9607834ae28cb57b8fbcbff2505893aceb7 Mon Sep 17 00:00:00 2001 From: Joshua Nsereko Date: Tue, 14 May 2024 10:49:47 +0300 Subject: [PATCH 1/2] Solve error where person attributes are not loading --- .../personattributetypes/personattributetypes_core-demo.csv | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sites/mosul/configs/openmrs/initializer_config/personattributetypes/personattributetypes_core-demo.csv diff --git a/sites/mosul/configs/openmrs/initializer_config/personattributetypes/personattributetypes_core-demo.csv b/sites/mosul/configs/openmrs/initializer_config/personattributetypes/personattributetypes_core-demo.csv new file mode 100644 index 00000000..e33320ca --- /dev/null +++ b/sites/mosul/configs/openmrs/initializer_config/personattributetypes/personattributetypes_core-demo.csv @@ -0,0 +1,4 @@ +Uuid,Void/Retire,Name,Description,Format,Foreign,Searchable +bc851ec1-9fb7-49da-acd7-1a61168002fe,0,Telephone Number,The telephone number for the person,java.lang.String,,, +7de00b51-3342-4191-92e8-ca4eb4ed8085,,Unknown Patient Name,Used to flag patients that cannot be identified during the check-in process,java.lang.String,,, +14d4f066-15f5-102d-96e4-000c29c2a5d7,,Individual Email Address,The email address for the person,java.lang.String,,, From 4733105b9d02ac85ffc212651c6a69901629b7fd Mon Sep 17 00:00:00 2001 From: jnsereko Date: Mon, 2 Dec 2024 17:57:27 +0300 Subject: [PATCH 2/2] Ensure that only a supervisor can edit previous encounterns --- .../initializer_config/encountertypes/mosul_encounter_types.csv | 2 +- .../initializer_config/privileges/patient_chart_privileges.csv | 2 +- .../configs/openmrs/initializer_config/roles/roles_mosul.csv | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sites/mosul/configs/openmrs/initializer_config/encountertypes/mosul_encounter_types.csv b/sites/mosul/configs/openmrs/initializer_config/encountertypes/mosul_encounter_types.csv index 2ee85a29..4abd94f8 100644 --- a/sites/mosul/configs/openmrs/initializer_config/encountertypes/mosul_encounter_types.csv +++ b/sites/mosul/configs/openmrs/initializer_config/encountertypes/mosul_encounter_types.csv @@ -1,3 +1,3 @@ Uuid,Void/Retire,Name,Description,View privilege,Edit privilege,_order:1000 efb1ee49-ed60-40f4-aa2e-c45143dc4d49,,Nutrition,Encounter for capturing nutrition information,Manage Nutrition,Manage Nutrition, -95d68645-1b72-4290-be0b-ec1fb64bc067,,Mental Health,Encounter for capturing mental health information,View Mental Health,Edit Mental Health, +ee94c763-35a6-42e1-a464-8118727c2a27,,Mental Health,Encounter for capturing mental health information,View Mental Health,Edit Mental Health, diff --git a/sites/mosul/configs/openmrs/initializer_config/privileges/patient_chart_privileges.csv b/sites/mosul/configs/openmrs/initializer_config/privileges/patient_chart_privileges.csv index 9751c23d..0b7993ba 100644 --- a/sites/mosul/configs/openmrs/initializer_config/privileges/patient_chart_privileges.csv +++ b/sites/mosul/configs/openmrs/initializer_config/privileges/patient_chart_privileges.csv @@ -9,5 +9,5 @@ ea379da7-49f9-444c-96b0-40cec91293af,Manage Visit Note,Able to manage Visit Note 2a975a20-97b7-403d-a4ae-fafe2320006d,Manage Patient Orders,Able to manage Patient Orders, e759c81b-24af-4c1e-b1f6-e2982238ed20,Manage Sensitive Appointments,Able to manage sensitive appointments, ddfee3a9-67cb-41da-85b0-69ae508d4130,Manage Nutrition,Able to view and manage nutrition data, -bd8c6315-ef58-4cbe-8062-7ed0751f972d,View Mental Health,Able to view and view mental health data, +bc88fe2d-6f51-4626-9b65-ec697e745fb5,View Mental Health,Able to view and view mental health data, 777e5814-5d40-4baa-a4c3-49b4923ce74a,Edit Mental Health,Able to view and edit mental health data, diff --git a/sites/mosul/configs/openmrs/initializer_config/roles/roles_mosul.csv b/sites/mosul/configs/openmrs/initializer_config/roles/roles_mosul.csv index 34fa2b0e..6d80e20d 100644 --- a/sites/mosul/configs/openmrs/initializer_config/roles/roles_mosul.csv +++ b/sites/mosul/configs/openmrs/initializer_config/roles/roles_mosul.csv @@ -6,7 +6,7 @@ ec48c936-a9fc-4e32-9a10-06186a7ff19d,Mosul: View patient queues,Able to view pat 8cac4dde-157c-42af-a9cf-71643af3ec4e,Mosul: Manage appointments,Able to manage patient appointments.,Mosul: General role,Manage Appointments; Appointments: Invite Providers; Manage Appointment Services; Manage Appointment Specialities; Manage Own Appointments; Reset Appointment Status; View Appointment Services; View Appointments e9c625fa-f464-4fff-9852-1105fdb1373a,Mosul: Manage Patients,Able to create edit and delete patients and view patient summary.,Mosul: General role,Patient Dashboard - View Patient Summary; Manage Patient Medication; Configure Visits; Patient Overview - View Allergies; Patient Dashboard - View Conditions; Patient Dashboard - View Encounters Section; View Concepts; Manage Immunization Summary; Manage Order Basket; Manage Visit Note; Manage Clinical Forms; Patient Overview - View Programs; Manage Patient Orders; Manage Patient Attachments; View Orders 959af108-55c9-4a33-a8ef-86a7c9314877,Mosul: Nutrition,Able to view and manage nutrition data.,Mosul: General role; Mosul: Manage Patients,Manage Nutrition, -4a6105ee-25ae-4880-9882-fc3910c865ab,Mosul: Mental Health,Able to view mental health data.,Mosul: General role; Mosul: Manage Patients,View Mental Health, +7b08e024-de5d-4b8f-b656-dcadaba0851e,Mosul: Mental Health,Able to view mental health data.,Mosul: General role; Mosul: Manage Patients,View Mental Health, bc5879a4-9732-47ea-bcaf-981ec233c912,Registration Officer,Registration Officer,Mosul: View patient queues; Mosul: Manage appointments; Mosul: Patient registration,, 2584c09e-2453-46a4-b8f2-96f93d49a0e9,Mental Health Nurse,Mental Health Nurse,Mosul: View patient queues; Mosul: Sensitive Appointments; Mosul: Manage appointments; Mosul: Patient registration; Mosul: Mental Health,, 90214c95-c4d5-48ae-af98-d5cbe5165650,Mental Health Counselor,Mental Health Counselor,Mosul: View patient queues; Mosul: Sensitive Appointments; Mosul: Manage appointments; Mosul: Patient registration; Mosul: Mental Health, Edit sensitive mental health fields,