...
When adding an App to the home screen (see System Administration: Manage Apps) you have access to a require property, whose ContextModel contains sessionContext.
...
hasMemberWithProperty(sessionLocation.tags, 'display', 'Admission Location')
To show a form if the logged in user has the Organizational: Nurse role, you would use the expression below:
hasMemberWithProperty (user.roles, 'display', 'Organizational: Nurse')
Patient Summary and Visit Dashboard
The Patient screen has two list of available actions: one for General Actions, another for Current Visit Actions (if there is an active visit). When viewing a specific visit, you have access to Visit Actions. When you add a custom form (see Configure Metadata: Manage Forms) this is added as a Visit Action.
...
- uuid
- birthdate
- birthdateEstimated
- gender
- dead
- deathdate
See this code for full details.
...
See this code for full details.
More details for how this is put together.