Send alert workflow
The send alert workflow allows the SHR to send alerts to a point of care system (currently only RapidSMS). The following sequence diagram shows this interaction.
Ref | Interaction | Endpoint | Data | Transaction Specification |
---|---|---|---|---|
1 | Missed referral noticed | none | ||
2 | Send alert details | POST /ws/rest/v1/alerts | HL7 v2.5 ORU_R01 | Post Alert |
3 | Resolve provider identifier | GET webservices/lookupbyid/nid/?id_type=ECID&id_number=xxx | HTTP request | Get Enterprise Professional ID - Internal |
4 | Return provider NID | HTTP 200 OK - (plain text identifier) | Get Enterprise Professional ID - Internal | |
5 | Resolve patient identifier | POST openempi-admin/openempi-ws-rest/person-query-resource/findPersonById | OpenEMPI XML | Get Enterprise Client ID - Internal |
6 | Return patient NID | HTTP 200 OK | Get Enterprise Client ID - Internal | |
7 | Send enriched alert message | POST /api/patients/1198680069759062/alerts/ | Post alerts - Internal | |
8 | Send missed referral SMS to CHW | SMS to CHWs phone | SMS text |