Skip to main content

Answer the care context subscription notification

Be invoked by the Health Information User (HIU) to respond to notifications received from the /api/v3/hiu/subscription/notify API.

POST/api/hiecm/subscription-requests/v3/hiu/care-context/on-notify

By using this API, the HIU can acknowledge and process notifications related to care context subscriptions, ensuring that the system accurately reflects the status and actions taken. This functionality is essential for maintaining the integrity and synchronization of care context subscription requests, supporting efficient and transparent health information exchange within the healthcare ecosystem.

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-CM-IDstringRequired

Suffix of the consent manager to which the request was intended

Body

acknowledgementobjectRequired
acknowledgement.statusstringRequired

The status of the subscription approval. Allows alphanumeric characters and special characters like "^[a-zA-Z0-9_\\-@,. \":]{0,255}$"

acknowledgement.eventIdstringRequired

Must be a valid UUID. Allows alphanumeric characters and special characters like "^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$"

errorobject

The error code and message, if any occurred.

error.codestringRequired

ABDM-1001 - No data found. May be returned either bare (ABDM-1001) or with a trailing ": " separator (ABDM-1001: ); match on the code itself and tolerate the separator.

error.messagestringRequired

The appropriate error message

responseobjectRequired
response.requestIdstringRequired

Request id that was passed. Allows alphanumeric characters and special characters like "^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$"

Responses

401

Unauthorized

Everything returns 401

404

server cannot find the requested resource

Error codes for this module

500

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

Error codes for this module

503

Service Unavailable

Error codes for this module