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

Home page apps based on session location

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Accepted
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 2.1
    • Fix Version/s: None
    • Component/s: None
    • Complexity:
      Undetermined

      Description

      Currently there is no way to limit which apps are shown on the homepage based on location. I.e. if an application is available for a user, it will be available regardless where they are logged in.

      This should be changed so that apps can be limited to one or more locations, and so the link URL template can contain references to the session location.

      Dev Notes

      Acceptance Criteria

      We should support all the following scenarios:

      • Only show this extension if sessionContext.sessionLocation.uuid == (some uuid)
      • Only show this extension if sessionContext.sessionLocation.tags has a tag with a certain name
      • Only show this extension if sessionContext.sessionLocation.uuid is one of several UUIDs
      • Only show this extension sessionContext.sessionLocation.uuid == (some uuid)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 7 hours
                2d 7h