Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1003

Nurse and Doctor users don't have privilege to add allergies

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: Reference Application 2.3.1
    • Fix Version/s: Reference Application 2.4
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Background

      Go to demo.openmrs.org and log in as doctor/Doctor123. Open a patient record, and click on their Allergies. There's no Add Allergy button, but doctors and nurses should be able to add/remove allergies.

      Dev Notes

      The problem is in https://github.com/openmrs/openmrs-module-referencemetadata/blob/master/api/src/main/java/org/openmrs/module/referencemetadata/RolePrivilegeMetadata.java.

      We need to:

      1. create the "Task: Modify Allergies" privilege
      2. assign it to an "Application: Records Allergies" role
      3. assign that to the Doctor and Nurse organization roles

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  dkayiwa Daniel Kayiwa
                  Reporter:
                  darius Darius Jazayeri
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: