Pipeline is executed for measurement: glucose: Blood glucose
Pipeline processing steps:
- Continue pipeline only if value from field value is out of range settings value pipeline/glucose_low - settings value pipeline/glucose_up
- Create notification ABNORMAL_MEASUREMENT: Measurement value outside the reference range. Notification is created as level: alarm. Levels: ‘alarm’=red, ‘warning’=yellow, info=‘grey’ Notification is valid 1209600 seconds. After that notification is automatically acknowledged.
- Stop pipeline if there is already same notification created within 3600 seconds.
- Insert field datapoint.value to notification data as value
- Downgrade notification level if there already exists a non-acknowledged notification of same type. Downgrade only if existing notification is created from same measurement glucose: Blood glucose type
- Save notification to database.