hip linking
Link care contexts to an ABHA address
Also known as: HIP Initiated Care Context Linking (Single or Multiple). Links one or more care contexts (health records) to a patient's ABHA address. Use the same endpoint for both single and multiple care context linking, the careContexts array can contain one or many entries.
Certification cases HIP_INTI_LINK_501, HIP_INTI_LINK_502, HIP_INTI_LINK_503, HIP_INTI_LINK_504, HIP_INTI_LINK_505, HIP_INTI_LINK_506
Requires the Bearer token obtained from POST /hiecm/gateway/v3/sessions A fresh UUID that you generate for this request. The callback that answers it carries the same value, so this is how you match an asynchronous reply to the call that caused it. Store it before you send the request, not after. The current time in ISO 8601, UTC, with milliseconds and a Which consent manager you are talking to. Identifier of the Health Information Provider the request or callback belongs to. This is per facility, and it is what a callback arriving at your one bridge URL is routed on. The bridge URL and your credentials belong to the integration, not to the facility. Short-lived link token generated via POST /hiecm/v3/token/generate-token 14-digit ABHA number (optional) ABHA address of the patient HIP's internal patient reference number Patient display name Total number of care contexts in this entryX-Link-Token header with a freshly generated link token.Authorizations
Authorizationbearer tokenRequiredHeaders
REQUEST-IDstringRequiredTIMESTAMPstringRequiredZ suffix, from a synchronised clock. The sandbox rejects IST and accepts UTC.X-CM-IDstringRequiredsbx on the sandbox and abdm in production. A dedicated error code exists for an invalid value here, which tells you how often it is wrong.X-HIP-IDstringRequiredX-Link-TokenstringRequiredBody
abhaNumberstringabhaAddressstringRequiredpatientobject[]Requiredpatient.referenceNumberstringRequiredpatient.displaystringRequiredpatient.careContextsobject[]Requiredpatient.hiTypeobject[]Requiredpatient.countintegerRequiredResponses
Callbacks
- After this call, ABDM posts The outcome of a care context linking call you made to
/v3/link/on_carecontext. Open the callback.