Event Composition
Last updated
Last updated
The FHIR Composition id is a powerful identifier and should only be accessible by approved government systems, such as those using health
or nationalId
JWT scopes. If you are proposing a new webhook in a feature request, consider the resourceType
that your service requires, based on the explanation of the FHIR resources in the rest of this page. You should not need to expose the composition id in your mediator if your client service doesnt require it.
Parameter | Sample value | Description |
---|---|---|
You can request the composition payload via the OpenHIM core using an authentication token and Composition id
.
NOTE: If the webhook returned a different resourceType, you could do this:
The relevant birth registration composition section codes are:
Parameter | Sample value | Description |
---|---|---|
target.id
bab755e0-7bbd-4d90-b155-352ffa283467
The unique id
for the FHIR resource target that this webhook refers to.
target.resourceType
Composition
The FHIR resource type associated with the target id
of this webhook, e.g. Composition
for a FHIR Composition.
id
bab755e0-7bbd-4d90-b155-352ffa283467
The unique id
for the FHIR Composition.
identifier.value
BKBQMCD
The customer facing OpenCRVS tracking id
for the event application.
resourceType
Composition
The FHIR resource type associated.
section
[{ ... code.coding[0].code }]
An array of FHIR Composition sections that can be filtered by code to find the appropriate resource entry reference.
Section
Code
Entry reference
Encounter
birth-encounter
The FHIR encounter is a resource encompassing the lifecycle of the event registration process
Child
child-details
The FHIR patient resource for the child
Mother
mother-details
The FHIR patient resource for the mother
Father
father-details
The FHIR patient resource for the father
Informant
informant-details
The FHIR patient resource for the informant - in case the child was registered by someone other than a parent such as a legal guardian, or a self-registration
Supporting documents
supporting-documents
An array of FHIR DocumentReference resources for all the uploaded supporting documents to validate the registration
Certificates
certificates
An array of FHIR DocumentReference resources for all birth certificates generated and printed