v1
latestOpenAPI 3.0.02026-07-14307078.8 KBlink
Link patient's care contexts
Request from Gateway 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, 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
{
"patient": {
"id": "hinapatel79@ndhm",
"referenceNumber": "TMH-PUID-001"
}
}Response
Request accepted