Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When adding an App to the home screen (seeĀ System Administration: Manage Apps) you have access to a require property, whose ContextModel contains :

  • sessionContext (which contains:)
    • currentUser
    • currentProvider
    • sessionLocation

sessionContext.

Example: (only shows this app if the user logged in with theĀ Outpatient Clinic session location)

...

Example: (only show this form for inpatients)

visit.admitted

Available Properties

sessionContext

Properties available:

  • currentUser
  • currentProvider
  • sessionLocation

See this code for full details.

patient

Properties available:

...