Submit the health information data request from HIU
Facilitates the exchange of health data between Health Information Providers (HIP) and Health Information Users (HIU) within the ABDM system.
It ensures secure and efficient data transfer, enabling seamless communication and interoperability between different healthcare entities.
- X-HIU-ID if the requester is HIU (SERVICE-ID).
Authorizations
Authorizationbearer tokenRequiredThe access token from POST /api/hiecm/gateway/v3/sessions, sent with a Bearer prefix.
Headers
REQUEST-IDstringRequiredUnique UUID for track the end to end request transaction
TIMESTAMPstringRequiredActual 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-CM-IDstringRequiredSuffix of the consent manager to which the request was intended
X-HIU-IDstringRequiredIdentifier of the health information user to which the request was intended
Body
hiRequestobjectRequiredhiRequest.consentobjectRequiredhiRequest.consent.idstringRequiredThe consent artefact id for health information request. Allows alpha numeric character and special characters like "^[a-zA-Z0-9_\\-@,. \":/]{0,255}$"
hiRequest.dateRangeobjectRequiredHealth information created between this date range is requested
hiRequest.dateRange.fromstringRequiredShould be a UTC date time in ISO Format.Allows alpha numeric character and special characters like ^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z$
hiRequest.dateRange.tostringRequiredShould be a UTC date time in ISO Format.Allows alpha numeric character and special characters like ^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z$
hiRequest.dataPushUrlstringRequiredThe URL to which the Health Information Provider has to send the health information data. Allows alpha numeric character and special characters like "^[a-zA-Z0-9_\\-@,. \":=?/&]{0,255}$"
hiRequest.keyMaterialobjectRequiredThe requester's half of the ECDH key agreement. The HIP derives the shared key from it and its own key pair, and encrypts every entry it pushes with AES-GCM.
hiRequest.keyMaterial.cryptoAlgstringRequiredThe key agreement algorithm. Always ECDH.
hiRequest.keyMaterial.curvestringRequiredThe curve the key pair is generated on. Always Curve25519.
hiRequest.keyMaterial.dhPublicKeyobjectRequiredThe public half of the ephemeral key pair generated for this transaction.
hiRequest.keyMaterial.dhPublicKey.expirystringRequiredWhen this key stops being valid, as an ISO 8601 timestamp.
hiRequest.keyMaterial.dhPublicKey.parametersstringRequiredThe key parameters. Ephemeral public key.
hiRequest.keyMaterial.dhPublicKey.keyValuestringRequiredThe public key, Base64 encoded, in X.509 SubjectPublicKeyInfo form.
hiRequest.keyMaterial.noncestring32 random bytes, Base64 encoded, generated for this transaction. The other side combines it with its own nonce to derive the AES-GCM key and initialisation vector.
Responses
400Bad Request
errorobjectThe error code and message, if any occurred.
error.codestringRequiredABDM-1015 - Invalid Response. May be returned either bare (ABDM-1015) or with a trailing ": " separator (ABDM-1015: ); match on the code itself and tolerate the separator.
error.messagestringRequired401Unauthorized
codestringRequired900901 - Invalid Credentials. May be returned either bare or with a trailing ": " separator; match on the code itself and tolerate the separator.
messagestringRequireddescriptionstringRequired500Internal Server Error
codestring900900 - Unclassified Authentication Failure. May be returned either bare or with a trailing ": " separator; match on the code itself and tolerate the separator.
messagestringdescriptionstring503Service Unavailable
codestringRequiredABDM-1024 - Dependent service unavailable. May be returned either bare (ABDM-1024) or with a trailing ": " separator (ABDM-1024: ); match on the code itself and tolerate the separator.
messagestringRequiredCallbacks
- After this call, ABDM posts Health information data request acknowledgement to HIU. to
/api/v3/hiu/health-information/on-request. Open the callback.