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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Labels:
    • Complexity:
      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

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  suthagar23 Suthagar Kailayapathy
                  Reporter:
                  suthagar23 Suthagar Kailayapathy
                  Watchers:
                  Daniel Kayiwa, Suthagar Kailayapathy
                  Designated Committer:
                  Suthagar Kailayapathy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: