Event Notification clients
Submitting full or partial event applications into OpenCRVS from an external service such as a health institution or public portal.
Last updated
Submitting full or partial event applications into OpenCRVS from an external service such as a health institution or public portal.
Last updated
An Event Notification client can submit full or partial birth or death applications into an OpenCRVS' office "In Progress" or "Ready For Review" workqueue. Usually these clients are Hospitals, but technically these clients could be any system and the "Health system" label on the workqueue tab could be content managed accordingly.
When Event Notifications are received in OpenCRVS, they are audited accordingly as being received from one of your automated clients.
Submitting an Event Notification
If the request fails, you will receive a 500 Error and you must check the payload you are sending for errors. No error codes or explanations currently exist. We welcome pull requests to improve the developer experience here.
You can use our to test Event Notification API functionality. is a tool you can download to test API access before building your integrations.
To submit an Event Notification, your client must first request an using your client_id
and client_secret
.
With the token as an authorization header, the following request will submit a minimal birth declaration in . To learn more about our FHIR standard, read the section.
Parameters in handlebars must be substituted with specific data that requires further explanation below. Other data is given as an example, but you can refer to our to set the values correctly depending on the birth or death.
Refer to our to see a payload for a full birth declaration, minimal and full death declaration. Pay attention to the parameters that are dynamically provided from the Postman "Environments" to understand where to configure your URLs and other variables listed below. You should use the in tandem with the Event Notification API in order to find the required FHIR IDs for locations used in addresses, places of birth, office of registration etc.
An
This is an important parameter. It is a FHIR Location uuid for a Civil Registration Office that you wish this notification to arrive in the jurisdiction / workqueue of. You can retrieve these ids using our open . Your offices are customised for your country needs in
If you are submitting addresses, then this is an optional FHIR Location uuid for the locationLevel2, technically expressed as a "district". You can retrieve these ids using our open . Your location levels are customised for your country needs in
If you are submitting addresses, then this is an optional FHIR Location uuid for the locationLevel1, technically expressed as a "state". You can retrieve these ids using our open . Your location levels are customised for your country needs in
A FHIR Location id for a facility that is already in the OpenCRVS database to track places of births or deaths in health institutions. You can retrieve these ids using our open . Your health facilities are customised for your country needs in
The for the address. E.G. UGD for Uganda, FAR for our fictional country Farajaland.
If the notification has been successfully processed by OpenCRVS, you will receive a 200 OK response and a full payload back.