Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Create an alert under certain conditions #43

Open
torstesu opened this issue Sep 26, 2017 · 0 comments
Open

Create an alert under certain conditions #43

torstesu opened this issue Sep 26, 2017 · 0 comments
Assignees
Labels
Alerts Alerts Bounded Context
Projects
Milestone

Comments

@torstesu
Copy link
Collaborator

torstesu commented Sep 26, 2017

If under conditions as described below are met, an alert is to be issued. The alert should have a unique ID that links to the volunteer SMS reports (#25) that triggered the alert as well as any other reports received while the alert is active.

The system should issue an alert if the number of cases reported within a certain timeframe within a specific geographical area exceeds the threshold value defined per event in [Admin] #54 (https://github.com/IFRCGo/cbs/projects/1).

When What Related issues Message
Number of [health risk] exceed [threshold] within [location] within [time = 7 days] Create alert ID: attribute all related reports to alert ID #33 #42
Create alert ID: attribute all related reports to alert ID Send Alert SMS with [Alert investigation form NEEDS TICKET] to [Validator] # ALERT BASE #69 [Health Risk] has triggered an alert. Please follow up with: [FullName] [Phone] (repeating). (Requires form attachment).

Question: do we need a database for time series?

If there's already an active alert for the specific disease and geographical area, a new alert should not be issued but the cases should be linked to the active alert ID.

If an alert has previously been triggered, but later manually closed by a health coordinator, and new cases are reported that puts the system in a countionous alert state (continuously above threshold value), the previously closed alert ID should be reopened and the new cases linked to this alert ID.

@torstesu torstesu created this issue from a note in Alerts (Backlog) Sep 26, 2017
@karolikl karolikl added this to the Future milestone Dec 17, 2017
@eprom eprom added the Alerts Alerts Bounded Context label Jun 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Alerts Alerts Bounded Context
Projects
Alerts
Backlog
Development

No branches or pull requests

4 participants