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
target.id
bab755e0-7bbd-4d90-b155-352ffa283467
target.resourceType
Composition
URL
You can request the composition payload via the OpenHIM core using an authentication token and Composition id.
GET http://openhim-core:5001/fhir/Composition/<target.id>
NOTE: If the webhook returned a different resourceType, you could do this:
GET http://openhim-core:5001/fhir/<target.resourceType>/<target.id>