Skip to main content

Discover care contexts associated with a patient

Hosted by the HIP/HIU, not by ABDM. ABDM calls this endpoint at the callback URL registered for your bridge, so the path below is relative to that URL.

POST/api/v3/hip/patient/care-context/discover

The discover API endpoint facilitates the discovery of care contexts linked to a specific patient. When a request is made to this endpoint, it returns detailed information about the patient, including verified and unverified identifiers, ensuring accurate patient identification and continuity of care.

Authorizations

Authorizationbearer tokenRequired

Headers

REQUEST-IDstringRequired

Unique UUID for track the end to end request transaction

TIMESTAMPstringRequired

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.

X-HIP-IDstringRequired

Identifier of the health information provider to which the request was intended

Body

transactionIdstringRequired

UUID

patientobjectRequired
patient.idstringRequired

A patient identifier with which patient is registered in the facility/hospital

patient.verifiedIdentifiersobject[]Required
patient.verifiedIdentifiers.typestringRequired

One of MRMOBILEABHA_NUMBERABHA_ADDRESSEMAIL

patient.verifiedIdentifiers.valuestringRequired

Allows alphanumeric characters and special characters like "^(\\+)?[a-zA-Z0-9_\\-@,. ]{0,255}$".

patient.unverifiedIdentifiersobject[]

Identifiers with which the HIP will search for the patient in its own records.

patient.unverifiedIdentifiers.typestringRequired

One of MRMOBILEABHA_NUMBERABHA_ADDRESSEMAIL

patient.unverifiedIdentifiers.valuestringRequired

Allows alphanumeric characters and special characters like "^(\\+)?[a-zA-Z0-9_\\-@,. ]{0,255}$".

patient.namestringRequired
patient.genderstringRequired

One of MFODTU

patient.yearOfBirthnumberRequired

Responses

401

Unauthorized

Everything returns 401

500

Internal Server Error -> It is just one example, for every api the path will be changed.

Error codes for this module

Where this fits

hiecm-m2.yaml declares this callback at module level and names no call against it. Which call produces it is not documented, so this page does not say.