Skip to content

Commit

Permalink
KH-368: Create and adapt roles in OpenMRS Admin (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazlaw authored Nov 22, 2023
1 parent 11378dc commit aa57e7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/openmrs_config/encountertypes/encountertypes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Uuid,Void/Retire,Name,display:en,display:km,Description,View privilege,Edit priv
b870b6bb-9441-4664-9087-3d3477174213,,NCD Consultation,NCD Consultation,ការពិគ្រោះយោបល់ជំងឺមិនឆ្លង,,View NCD Consultation encounters,Edit NCD Consultation encounters,,
f9fdbe63-12b4-479f-b8fd-dcbfde6aa944,,NCD Medical History,NCD Medical History,ប្រវត្តជំងឺ,,View NCD Medical History encounters,Edit NCD Medical History encounters,,
422b7e0c-b8f3-4748-8e60-d6684315f141,,Health Center - NCD Screening,Health Center - NCD Screening,ពិនិត្យស្វែងរកជំងឺមិនឆ្លងនៅមណ្ឌលសុខភាព,,View NCD Screening encounters,Edit NCD Screening encounters,,
3fd606b6-4c9d-4077-a532-c1ac58644ad2,,Cervical Cancer Screening,Cervical Cancer Screening,ការពិនិត្យស្រាវជ្រាវរកជំងឺមហារីកមាត់ស្បូន,,,,,
3fd606b6-4c9d-4077-a532-c1ac58644ad2,,Cervical Cancer Screening,Cervical Cancer Screening,ការពិនិត្យស្រាវជ្រាវរកជំងឺមហារីកមាត់ស្បូន,,View Cervical Cancer Screening encounters,Edit Cervical Cancer Screening encounters,,
4 changes: 3 additions & 1 deletion configs/openmrs_config/privileges/privileges.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ dc023a57-1bda-4e7e-8c71-d71539a18efc,View NCD Screening encounters,Able to view
8756636b-de4a-4d7b-a41f-ed10787c4c73,View NCD Medical History encounters,Able to view NCD Medical History encounters,,
14e7490d-d6f2-44c1-a8a2-ac57e44981ff,Edit NCD Medical History encounters,Able to edit NCD Medical History encounters,,
acd13a9a-6df3-4881-8a61-16f6a28ba1d3,View NCD Consultation encounters,Able to view NCD Consultation encounters,,
24801d10-fd08-44d6-8b63-b649ff28a672,Edit NCD Consultation encounters,Able to edit NCD Consultation encounters,,
24801d10-fd08-44d6-8b63-b649ff28a672,Edit NCD Consultation encounters,Able to edit NCD Consultation encounters,,
a626f0bc-f4d7-4c5d-b2e3-afb34cb2d180,View Cervical Cancer Screening encounters,Able to view Cervical Cancer Screening encounters,,
db3cd63d-67b0-4ac4-a5f7-26104f25a4ed,Edit Cervical Cancer Screening encounters,Able to edit Cervical Cancer Screening encounters,,
6 changes: 5 additions & 1 deletion configs/openmrs_config/roles/roles.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Uuid,Role name,Description,Inherited roles,Privileges,_order:1100
a28fc3ff-cf23-44e6-9b4b-a13aee22363b,NCD Care Provider,NCD care provider,,Manage Concept Classes; Delete Patient Identifiers; Configure Visits; Preview Forms; Manage Privileges; Get Order Sets; View Navigation Menu; Delete Cohorts; Manage Forms; Delete Patient Programs; Manage Field Types; Add Observations; View Encounters; View Problems; Delete HL7 Inbound Exception; Update HL7 Source; View Metadata Via Mapping; Delete HL7 Inbound Archive; Add Concept Proposals; Add Patient Identifiers; View Locations; Patient Dashboard - View Encounters Section; Manage FormEntry XSN; Purge Field Types; Manage Order Set Attribute Types; Edit Concept Proposals; View Data Entry Statistics; Edit Problems; Manage Modules; Add Relationships; Manage Concept Attribute Types; Add Visits; Add Patients; Patient Dashboard - View Graphs Section; Patient Dashboard - View Demographics Section; Add Orders; Delete Encounters; Manage Address Templates; Delete Relationships; Manage HL7 Messages; Edit Diagnoses; Upload XSN; View Unpublished Forms; Manage Programs; View Patients; Add Problems; View Programs; Patient Dashboard - View Overview Section; Manage Concept Stop Words; Manage Roles; View Concept Classes; Manage Address Hierarchy; View Observations; Manage Identifier Sources; Manage RESTWS; Get Visit Types; Get HL7 Inbound Exception; View Concept Sources; Get Visit Attribute Types; Get Visits; Get Providers; Get Location Attribute Types; Get Encounter Roles; Manage OWA; Get HL7 Source; Add HL7 Inbound Archive; Get HL7 Inbound Archive; Delete Orders; Get HL7 Inbound Queue; Assign System Developer Role; View RESTWS; Edit Patient Programs; Manage Location Attribute Types; Remove Problems; Edit Cohorts; Manage Concept Map Types; Edit Users; Patient Dashboard - View Patient Summary; Get Concept Attribute Types; Add HL7 Inbound Queue; Get Concept Datatypes; Get Concept Classes; Get Roles; Manage Scheduler; Get Privileges; Get Order Types; Delete Observations; Get Field Types; Get Concept Sources; Get Relationship Types; Update HL7 Inbound Archive; Update HL7 Inbound Queue; Get Identifier Types; Edit People; Delete People; Edit Patient Identifiers; View Orders; Get Forms; Get Orders; Manage Global Properties; View Patient Identifiers; Get Global Properties; Get People; Get Person Attribute Types; Get Database Changes; Get Relationships; Get Allergies; Edit Orders; Get Problems; Manage Implementation Id; Get Programs; Get Concept Reference Terms; Get Order Frequencies; View Concept Proposals; Manage Encounter Types; View Roles; Get Concept Map Types; Patient Dashboard - View Forms Section; Add HL7 Inbound Exception; Delete HL7 Inbound Queue; View People; Edit Allergies; Manage Location Tags; Manage Concept Reference Terms; Delete Diagnoses; Manage Person Attribute Types; Patient Overview - View Relationships; Patient Overview - View Programs; Patient Overview - View Problem List; Patient Overview - View Allergies; Manage Order Types; Get Encounters; Get Users; Get Locations; Manage Alerts; Get Encounter Types; Get Patients; View Identifier Types; Get Observations; Edit Observations; Get Patient Cohorts; Manage Providers; Get Patient Identifiers; Delete Users; Manage Locations; Manage Concept Name tags; Manage Metadata Mapping; Edit Conditions; Add HL7 Source; Add Users; Get Concepts; View Relationship Types; Edit Notes; Get Concept Proposals; Manage Search Index; View Relationships; Manage Relationships; Generate Batch of Identifiers; Edit User Passwords; View Person Attribute Types; View Patient Cohorts; Add Encounters; Upload Batch of Identifiers; View Field Types; View Encounter Types; Manage Identifier Types; Remove Allergies; Update HL7 Inbound Exception; View Order Types; Get Diagnoses Attribute Types; Patient Overview - View Patient Actions; Patient Dashboard - View Regimen Section; Add Cohorts; Delete Visits; Manage Order Frequencies; Edit Relationships; Manage Auto Generation Options; Manage Concepts; Manage Concept Datatypes; Add People; Manage Encounter Roles; View Privileges; Delete Patients; Delete Concept Proposals; Manage Visit Types; Delete Conditions; View Concept Datatypes; Edit Patients; Delete Notes; Edit Encounters; View Concepts; Manage Visit Attribute Types; Form Entry; View Global Properties; Get Care Settings; Manage Concept Sources; Manage Order Sets; Get Order Set Attribute Types; Manage Relationship Types; Get Diagnoses; Edit Visits; View Users; Share Metadata; View Forms; Get Forms;View Patient Summary,
8c26a98b-fa03-4c37-b788-6d1e537d4071,NCD Care Provider in Health Center,NCD care provider in Health Center,NCD Care Provider,View NCD Screening encounters;Edit NCD Screening encounters;View NCD Medical History encounters;View NCD Consultation encounters,
ffba7d63-c1cf-470f-8a58-ad393c42fc98,NCD Care Provider in Hospital,NCD care provider in Hospital,NCD Care Provider,View NCD Medical History encounters;Edit NCD Medical History encounters;View NCD Consultation encounters;Edit NCD Consultation encounters;View NCD Screening encounters,
ffba7d63-c1cf-470f-8a58-ad393c42fc98,NCD Care Provider in Hospital,NCD care provider in Hospital,NCD Care Provider,View NCD Medical History encounters;Edit NCD Medical History encounters;View NCD Consultation encounters;Edit NCD Consultation encounters;View NCD Screening encounters,
31f77d8e-4a7c-40d4-bcf6-6f5c0e8eae5a,CC Care Provider,CC Care Provider,,View Cervical Cancer Screening encounters;Edit Cervical Cancer Screening encounters;View Reports;Delete Patient Identifiers; Configure Visits; Preview Forms; Manage Privileges; Get Order Sets; View Navigation Menu; Manage Forms; Manage Field Types; Add Observations; View Encounters; View Problems; Delete HL7 Inbound Exception; Update HL7 Source; View Metadata Via Mapping; Delete HL7 Inbound Archive; Add Concept Proposals; Add Patient Identifiers; View Locations; Patient Dashboard - View Encounters Section; Manage FormEntry XSN; Manage Order Set Attribute Types; View Data Entry Statistics; Add Relationships; Add Visits; Add Patients; Patient Dashboard - View Graphs Section; Patient Dashboard - View Demographics Section; Add Orders; Manage HL7 Messages; Upload XSN; View Unpublished Forms; View Patients; Add Problems; View Programs; Patient Dashboard - View Overview Section; View Concept Classes; View Observations; Get Visit Types; Get HL7 Inbound Exception; Get Visit Attribute Types; Get Visits; Get Providers; Get Location Attribute Types; Get Encounter Roles; Get HL7 Source; Add HL7 Inbound Archive; Get HL7 Inbound Archive; Get HL7 Inbound Queue; View RESTWS; Patient Dashboard - View Patient Summary; Get Concept Attribute Types; Add HL7 Inbound Queue; Get Concept Datatypes; Get Concept Classes; Get Roles; Get Privileges; Get Order Types; Delete Observations; Get Field Types;Get Relationship Types; Update HL7 Inbound Archive; Update HL7 Inbound Queue; Get Identifier Types; Edit Patient Identifiers; View Orders; Get Forms; Get Orders; View Patient Identifiers; Get Global Properties; Get People; Get Person Attribute Types; Get Database Changes; Get Relationships; Get Allergies; Edit Orders; Get Problems; Manage Implementation Id; Get Programs; Get Concept Reference Terms; Get Order Frequencies; View Concept Proposals; Get Concept Map Types; Patient Dashboard - View Forms Section; Add HL7 Inbound Exception; Delete HL7 Inbound Queue; Manage Person Attribute Types; Patient Overview - View Relationships; Patient Overview - View Programs; Patient Overview - View Problem List; Patient Overview - View Allergies; Get Encounters; Get Users; Get Locations; Get Encounter Types; Get Patients; View Identifier Types; Get Observations; Edit Observations; Get Patient Cohorts; Get Patient Identifiers; Add HL7 Source; Get Concepts; View Relationship Types; Get Concept Proposals; View Relationships; Generate Batch of Identifiers; View Person Attribute Types; View Patient Cohorts; Add Encounters; Upload Batch of Identifiers; View Field Types; View Encounter Types; Manage Identifier Types; Remove Allergies; Update HL7 Inbound Exception; View Order Types; Get Diagnoses Attribute Types; Patient Overview - View Patient Actions; Patient Dashboard - View Regimen Section; Add Cohorts; Manage Order Frequencies; Edit Relationships; Manage Auto Generation Options; View Privileges; Manage Visit Types; View Concept Datatypes; Edit Patients; Delete Notes; Edit Encounters; View Concepts; Manage Visit Attribute Types; Form Entry; View Global Properties; Get Care Settings; Get Order Set Attribute Types; Manage Relationship Types; Get Diagnoses; Edit Visits; View Users; Share Metadata; View Forms; Get Forms;View Patient Summary;Add Users;View Users;Edit Users;View Roles;View People;Get Users;Add Users;View Person Attribute Types;Add patients;View Patients;Add Visits;Get Provider Attribute Types;Get Providers;View Order Types;View Orders;Add Orders;Delete Orders;Edit Orders;Get Order Frequencies;Get Order Set Attribute Types;Get Order Sets;Get Order Types;Get Orders;View Order Types;View Orders,
46a040a4-7556-4911-80ee-4c213e13f992,OD/PHD User,OD/PHD User,,Preview Forms; Manage Privileges; Get Order Sets; View Navigation Menu; View Encounters; View Problems; View Locations; Patient Dashboard - View Encounters Section; View Data Entry Statistics; Patient Dashboard - View Graphs Section; Patient Dashboard - View Demographics Section; Upload XSN; View Patients; View Programs; Patient Dashboard - View Overview Section; Manage Roles; View Concept Classes; View Observations; Manage Identifier Sources; Manage RESTWS; Get Visit Types; Get HL7 Inbound Exception; Get Visit Attribute Types; Get Visits; Get Providers; Get Location Attribute Types; Get Encounter Roles; Manage OWA; Get HL7 Source; Add HL7 Inbound Archive; Get HL7 Inbound Archive; Delete Orders; Get HL7 Inbound Queue; View RESTWS; Edit Users; Patient Dashboard - View Patient Summary; Get Concept Attribute Types; Add HL7 Inbound Queue; Get Concept Datatypes; Get Concept Classes; Get Roles; Manage Scheduler; Get Privileges; Get Order Types; Delete Observations; Get Field Types; Get Concept Sources; Get Relationship Types; Update HL7 Inbound Archive; Update HL7 Inbound Queue; Get Identifier Types; Edit People; View Orders; Get Forms; Get Orders; View Patient Identifiers; Get Global Properties; Get People; Get Person Attribute Types; Get Database Changes; Get Relationships; Get Allergies; Edit Orders; Get Problems; Manage Implementation Id; Get Programs; Get Concept Reference Terms; Get Order Frequencies; View Concept Proposals; Manage Encounter Types; View Roles; Get Concept Map Types; Patient Dashboard - View Forms Section; Add HL7 Inbound Exception; Delete HL7 Inbound Queue; View People; Manage Location Tags; Patient Overview - View Relationships; Patient Overview - View Programs; Patient Overview - View Problem List; Patient Overview - View Allergies; Manage Order Types; Get Encounters; Get Users; Get Locations; Manage Alerts; Get Encounter Types; Get Patients; View Identifier Types; Get Observations; Get Patient Cohorts; Manage Providers; Get Patient Identifiers; Manage Concept Name tags; Add HL7 Source; Add Users; Get Concepts; View Relationship Types; Get Concept Proposals; View Relationships; Generate Batch of Identifiers; View Person Attribute Types; View Patient Cohorts; Add Encounters; Upload Batch of Identifiers; View Field Types; View Encounter Types; Manage Identifier Types; Remove Allergies; Update HL7 Inbound Exception; View Order Types; Get Diagnoses Attribute Types; Patient Overview - View Patient Actions; Patient Dashboard - View Regimen Section; Add Cohorts; Delete Visits; Manage Order Frequencies; Edit Relationships; Manage Auto Generation Options; Add People; View Privileges; Manage Visit Types; View Concepts; Form Entry; View Global Properties; Get Care Settings; Manage Order Sets; Get Order Set Attribute Types; Manage Relationship Types; Get Diagnoses; View Users; Share Metadata; View Forms; Get Forms;View Patient Summary; View Reports; Run Reports; App: Can View Patient History Report;Add People;Add Users;Edit People;Edit Users;Get People;Get Person Attribute Types;Get Privileges;Get Roles;Get Users;Manage Privileges;Manage Person Attribute Types;Manage Roles;View Administration Functions;View People;View Person Attribute Types;View Privileges;View Roles;View Users;Get Provider Attribute Types;Get Providers;View Order Types;View Orders;Add Orders;Delete Orders;Edit Orders;Get Order Frequencies;Get Order Set Attribute Types;Get Order Sets;Get Order Types;Get Orders;View Order Types;View Orders,
c40fc728-eda9-4905-bd28-6ee1dea602a7,NCD Manager,NCD Manager,,View Reports; Run Reports; App: Can View Patient History Report; Get Order Sets; View Navigation Menu; Delete HL7 Inbound Exception; Update HL7 Source; View Metadata Via Mapping; Delete HL7 Inbound Archive;View Locations; Manage HL7 Messages; Upload XSN; Get Visit Types; Get HL7 Inbound Exception; Get Visit Attribute Types; Get Visits; Get Providers; Get Location Attribute Types; Get Encounter Roles; Get HL7 Source; Add HL7 Inbound Archive; Get HL7 Inbound Archive; Get HL7 Inbound Queue; Get Concept Attribute Types; Add HL7 Inbound Queue; Get Concept Datatypes; Get Concept Classes; Get Roles; Get Privileges; Get Order Types; Get Field Types; Get Relationship Types; Update HL7 Inbound Archive; Update HL7 Inbound Queue; Get Identifier Types; Get Forms; Get Orders; Get Global Properties; Get People; Get Person Attribute Types; Get Database Changes; Get Relationships; Get Allergies; Get Problems; Get Programs; Get Concept Reference Terms; Get Order Frequencies; Get Concept Map Types; Add HL7 Inbound Exception; Delete HL7 Inbound Queue; Get Encounters; Get Users; Get Locations; Get Encounter Types; Get Observations; Add HL7 Source; Get Concepts; Get Concept Proposals; Generate Batch of Identifiers; Update HL7 Inbound Exception; Get Diagnoses Attribute Types; Get Care Settings; Get Order Set Attribute Types; Get Diagnoses; Share Metadata; Get Forms;Get Provider Attribute Types;Get Providers;View Order Types;View Orders;Add Orders;Delete Orders;Edit Orders;Get Order Frequencies;Get Order Set Attribute Types;Get Order Sets;Get Order Types;Get Orders;View Order Types;View Orders,
94a2f20c-08f9-4faf-a950-bff18b229e2c,PMD Admin,PMD Admin,System Developer;Provider,View NCD Screening encounters;Edit NCD Screening encounters;View NCD Consultation encounters;Edit NCD Consultation encounters;View Cervical Cancer Screening encounters;Edit Cervical Cancer Screening encounters;View Reports,

0 comments on commit aa57e7f

Please sign in to comment.