v1
latestOpenAPI 3.0.02026-07-144898115.8 KBlink
cm facing
Link patient's care contexts
Request from CM to links care contexts associated with only one patient
- Validate account reference number and care context reference number
- Validate transactionId in the request with discovery request entry to check whether there was a discovery and were these care contexts discovered or not for a given patient
- Before eventual link confirmation, HIP needs to authenticate the request with the patient(eg: OTP verification)
- HIP should communicate the mode of authentication of a successful request to Consent Manager
post/v0.5/links/link/init
Headers
Authorizationstring required
Access token which was issued after successful login with gateway auth server.
X-HIP-IDstring required
Identifier of the health information provider to which the request was intended.
Request body
Example request
{
"patient": {
"id": "hinapatel79@ndhm",
"referenceNumber": "TMH-PUID-001"
}
}Response
Request accepted