v1
latestOpenAPI 3.0.02026-07-14307078.8 KBconsent flow
Consent notification
Notification of consents to health information providers consent request granted, consent revoked, consent expired. Only the GRANTED and REVOKED status notifications will be sent to HIP.
- If consent is granted, status=GRANTED, then consentDetail contains the consent artefact details and signature is available.
- If consent is revoked, then status=REVOKED, and consentId specifes which consent artefact is revoked.
post/v0.5/consents/hip/notify
Headers
Authorizationstring required
Access token which was issued after successful login with gateway auth server, which will be sent by gateway to authenticate itself with API bridge.
X-HIP-IDstring required
Identifier of the health information provider to which the request was intended.
Request body
Example request
{
"notification": {
"consentDetail": {
"careContexts": [
{
"careContextReference": "Episode1",
"patientReference": "hinapatel79@hospital"
}
],
"patient": {
"id": "hinapatel79@ndhm"
}
},
"signature": "Signature of CM as defined in W3C standards; Base64 encoded"
},
"requestId": "5f7a535d-a3fd-416b-b069-c97d021fbacd"
}Response
Request Accepted