Pipeline: Pipeline for measurement: glucose

Pipeline is executed for measurement: glucose: Blood glucose

Pipeline processing steps:

  1. Parse numeric value from text. If value is passed in string_value try to parse the number from string.
  2. Continue pipeline only if value from field value is out of range settings value pipeline/glucose_low - settings value pipeline/glucose_up
  3. Create notification ABNORMAL_MEASUREMENT: Abnormal measurement result.

Notification is created as level: alarm. Levels: ‘alarm’=red, ‘warning’=yellow, info=‘grey’ Notification is valid 1209600 seconds. After that notification is automatically acknowledged. 4. Stop pipeline if there is already same notification created within 3600 seconds. 5. Insert field datapoint.value to notification data as value 6. 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 7. Save notification to database.