v1
latestOpenAPI 3.0.02026-07-14327580.4 KBconsent flow
Response to consent request
Result of consent request creation for a patient. id represents the consentrequest id created by CM. The result must contain either id or the error caused. <br/> Reasons for error may be
- Invalid references (e.g patient id, hiu id), purpose, hiTypes, ranges, persmission
post/v0.5/consent-requests/on-init
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-HIU-IDstring required
Identifier of the health information user to which the request was intended.
Request body
Example request
{
"consentRequest": {
"id": "f29f0e59-8388-4698-9fe6-05db67aeac46"
},
"requestId": "5f7a535d-a3fd-416b-b069-c97d021fbacd"
}Response
Request Accepted