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.

RefInteractionEndpointDataTransaction Specification
1Missed referral noticednone  
2Send alert detailsPOST /ws/rest/v1/alertsHL7 v2.5 ORU_R01Post Alert
3Resolve provider identifierGET webservices/lookupbyid/nid/?id_type=ECID&id_number=xxxHTTP requestGet Enterprise Professional ID - Internal
4Return provider NID HTTP 200 OK - (plain text identifier)Get Enterprise Professional ID - Internal
5Resolve patient identifierPOST openempi-admin/openempi-ws-rest/person-query-resource/findPersonByIdOpenEMPI XMLGet Enterprise Client ID - Internal 
6Return patient NID HTTP 200 OKGet Enterprise Client ID - Internal 
7Send enriched alert messagePOST /api/patients/1198680069759062/alerts/ Post alerts - Internal
8Send missed referral SMS to CHWSMS to CHWs phoneSMS text