...
Scenario 2.a: Patient Alert -> Role
A form is submitted (by userX regarding patientX), an alert generated and sent to the charge nurse on that shift
An alert originally sent to a nurse is not read according to requirements, and is then sent to the charge nurse on that shift
...
- The nurse's role has 'read_alerts_only_from_associated_patients' permission
- The rule that fired either:
- Doesn't have any entry in AlertConfiguration table
- Has an entry in AlertConfiguration table that is either:
- not associated with any AlertConfigurationRoleRecipient
- associated with an AlertConfigurationRoleRecipient containing nurse's role as a recipient
- For the notification to occurr, the following must be true:
- The nurse is at least registered in one device
- The rule that fired has an entry in AlertConfiguration table with SendNotification field = true
Workflow Workflow B: Change of shift pattern
...