data retrieval
Request a patient's health information
Also known as: HIU Health Information Request. Requests health data from the HIP for a specific consent artefact.
Certification cases HIU_FLOW_101, HIU_FLOW_102, HIU_FLOW_103, HIU_FLOW_104, HIU_FLOW_105, HIU_FLOW_106, HIU_FLOW_107, HIU_FLOW_108, HIU_FLOW_109, HIU_FLOW_110, HIU_FLOW_111, HIU_FLOW_112, HIU_FLOW_113
The HIU must: 1. Generate an ECDH key pair before this call 2. Pass the ECDH public key in keyMaterial.dhPublicKey 3. Expose a dataPushUrl endpoint that can receive encrypted FHIR data from the HIP
The HIP encrypts data using the HIU's public key (ECDH shared secret) and pushes it to dataPushUrl. The HIU decrypts using its private key + HIP's public key from the push request's keyMaterial.
Supported ECDH curves: 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. In M3 a single consent can produce several callbacks, so keep the mapping from request id to consent request id rather than relying on ordering. The current time in ISO 8601 UTC, with milliseconds and the Which consent manager you are talking to. Identifier of the health information user the request or callback is intended for. 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. Consent artefact ID from the granted consent Must be within the consent's permitted date range HTTPS endpoint on the HIU server to receive encrypted FHIR dataCurve25519 Supported crypto algorithms: ECDHAuthorizations
Authorizationbearer tokenRequiredHeaders
REQUEST-IDstringRequiredTIMESTAMPstringRequiredZ suffix. The gateway rejects a request whose timestamp has drifted too far from its own clock, so take this from a synchronised clock rather than from a local one.X-CM-IDstringRequiredsbx on the sandbox and abdm in production.X-HIU-IDstringRequiredBody
hiRequestobjectRequiredhiRequest.consentobjectRequiredhiRequest.consent.idstringRequiredhiRequest.dateRangeobjectRequiredhiRequest.dateRange.fromstringRequiredhiRequest.dateRange.tostringRequiredhiRequest.dataPushUrlstringRequiredhiRequest.keyMaterialobjectRequiredResponses
Callbacks
- After this call, ABDM posts Acknowledgement of a health information request to
/api/v3/hiu/health-information/on-request. Open the callback.