Uploaded image for project: 'Location Based Access Control'
  1. Location Based Access Control
  2. LBAC-8

Failed to filer the patients who listed in the findPatients page before searching

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 0.1.0
    • Low

    Description

      The find patients page will list some patients who have the recent encounters and recent search also. This list contains the patients who do not belong to the logged in location of the user. It should be investigated and need a fix to remove those patients from that list.

      Dev Notes 

      Last viewed patient list if fetched through the getPatient() method in emrapi module. See here : https://github.com/openmrs/openmrs-module-emrapi/blob/master/api/src/main/java/org/openmrs/module/emrapi/utils/GeneralUtils.java#L264

      So need to add a AOP Advice to restrict the getPatient() method based on the location.

       

      Gliffy Diagrams

        Attachments

          Activity

            People

              suthagar23 Suthagar Kailayapathy
              suthagar23 Suthagar Kailayapathy
              Suthagar Kailayapathy Suthagar Kailayapathy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: