Outbreak alerts

Check weekly surveillance data against alert thresholds, notify districts and record each alert with its 7-1-7 dates.

Health facilities report weekly counts of notifiable diseases to DHIS2. Zato reads the counts of each district once a week, checks them against an alert threshold per disease, notifies the district when a threshold is crossed, and records the alert where the emergency response is managed - in a DHIS2 tracker program or in an emergency management system built on Odoo. The dates on which each alert was detected and notified are kept in a 7-1-7 register in DHIS2.

This section describes each stage of the integration. The pages build on one another and are read in order.

Processing flow

Where Python thresholds start

DHIS2 raises alerts of its own through predictors and validation rules, which compare a value to a fixed number or to a figure computed from earlier periods of the same data element. The integration on these pages is for what comes after that - rules written in Python that can combine diseases, districts and periods in any way, and alerts that reach people and systems outside DHIS2.

The DHIS2 side

The integration assumes a DHIS2 instance with:

  • A weekly surveillance data set to which facilities report their counts, with analytics tables updated after each reporting deadline.
  • An alert program, a tracker program in which each alert is a tracked entity with one event holding the disease, the week and the number of cases. It is used when alerts are managed in DHIS2.
  • A 7-1-7 register, an event program with one data element per 7-1-7 milestone date.

Pages in this section

PageWhat it covers
SetupThe connections and the configuration files
Weekly dataRead twelve weeks of counts per district, and DHIS2 periods
ThresholdsCheck each district against its disease's rule
District notificationsEmail and SMS to the district
Alerts in DHIS2Each alert as a tracked entity in the alert program
Alerts in an EMSEach alert as a record in an Odoo-based emergency management system
7-1-7 registerDetection and notification dates for the 7-1-7 targets

See also

see-also-table columns: [Feature, What it does] rows: - page: docs/dev/healthcare/dhis2/index text: DHIS2 overview note: All DHIS2 integration pages - page: docs/dev/examples/scheduler text: Scheduler note: Interval-based jobs - page: docs/dev/odoo/index text: Odoo note: Connections to Odoo and its models

Learn more