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

Assign patients to locations on registration

    Details

    • Type: Task
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Labels:
    • Complexity:
      Low

      Description

      Location based access control system will require the default location parameter for every patient to restrict the patient information accessing by other users based on the default locations. So We need to assign the default locations to the patients while they are registering in the OpenMRS. 

      Implementation

      The Initial plan of this task is to assign a location to the patients, and let track them by using that given location. Location information will be assigned as a person attribute to the patients during the registration process (To configure the Patient Registration Dashboard with location selection fragment, Please follow this link). 

      In the Find Patient Dashboard, the patient's list will be filtered by the logged location. The logged in user can only see the patients who have the location attribute as that logged in location. LocationBasedAccess Control module used AOP techniques to achieve this task by tracking the getPatients() method from the personService.

      Custom Patient Registration Form App Definition for Location Selection - https://wiki.openmrs.org/display/docs/Location+Based+Access+Control+-+Deployment+Steps

       

       

        Gliffy Diagrams

          Attachments

            Issue Links

              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:

                      Time Tracking

                      Estimated:
                      Original Estimate - 4 days
                      4d
                      Remaining:
                      Remaining Estimate - 4 days
                      4d
                      Logged:
                      Time Spent - Not Specified
                      Not Specified