Link patient links
Retrieve all linked care contexts for a patient from various Health Information Providers (HIPs).
By invoking this API, users can obtain a comprehensive list of care contexts associated with a patient’s ABHA (Ayushman Bharat Health Account) address. This functionality is essential for ensuring that all relevant health records are accessible and consolidated, thereby supporting coordinated and efficient patient care. The API facilitates seamless health information exchange, enhancing the overall quality and continuity of care within the healthcare ecosystem. The access token from POST /api/hiecm/gateway/v3/sessions, sent with a Limit the number of records returned. Send -1 to get all the links of the patient. Unique UUID for track the end to end request transaction Actual time of the request was initiated, ISO 8601 represents date and time by starting with the year, followed by the month, the day, the hour, the minutes, seconds and milliseconds Suffix of the consent manager to which the request was intended JWT Authentication token which was issued by ABDM after successful validation of username and password OK Identifier and name of the health information provider. Reference number used while linking the health records of the patient. Displayed information about the care context. One of List of care contexts linked at the HIP end for the identified patient. Reference number used while linking the health records of the patient. Displayed information about the care context. Bad Request The error code and message, if any occurred. ABDM-1065 - Invalid X Auth token. May be returned either bare or with a trailing ": " separator; match on the code itself and tolerate the separator. Unauthorized 900902 - Unauthorized. May be returned either bare or with a trailing ": " separator; match on the code itself and tolerate the separator. server cannot find the requested resource The error code and message, if any occurred. ABDM-1001 - No data found. May be returned either bare ( Internal Server Error ABDM-9999 - Unknown exception. May be returned either bare (Authorizations
Authorizationbearer tokenRequiredBearer prefix.Query parameters
limitintegerRequiredHeaders
REQUEST-IDstringRequiredTIMESTAMPstringRequiredX-CM-IDstringRequiredX-AUTH-TOKENstringRequiredResponses
200PatientobjectPatient.idstringRequiredPatient.linksobject[]RequiredPatient.links.hipobjectPatient.links.hip.idstringPatient.links.hip.namestringPatient.links.hip.typestringPatient.links.referenceNumberstringPatient.links.displaystringPatient.links.hiTypestringDiagnosticReportDischargeSummaryHealthDocumentRecordImmunizationRecordOPConsultationPrescriptionWellnessRecordInvoicePatient.links.careContextsobject[]Patient.links.careContexts.referenceNumberstringPatient.links.careContexts.displaystringPatient.links.dateCreatedstring400errorobjecterror.codestringRequirederror.messagestringRequired401codestringmessagestringdescriptionstring404errorobjecterror.codestringRequiredABDM-1001) or with a trailing ": " separator (ABDM-1001: ); match on the code itself and tolerate the separator.error.messagestringRequired500codestringABDM-9999) or with a trailing ": " separator (ABDM-9999: ); match on the code itself and tolerate the separator.messagestring