ndhm.gov.in

The following are the specifications for the APIs to be implemented at the Health Repository end if an entity is only serving the role of a HIU. The specs are essentially duplicates from the Gateway and Bridge, but put together so as to make it clear to HIUs which set of APIs they should implement

32 endpoints open_data
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (1 total)

npm install ndhm-sdk-demo
curl examples
Get certs for JWT verification
curl \
  https://dev.ndhm.gov.in/gateway/v0.5/certs
Get consent request status
curl \
  https://dev.ndhm.gov.in/gateway/v0.5/heartbeat
Get openid configuration
curl \
  https://dev.ndhm.gov.in/gateway/v0.5/.well-known/openid-configuration
Endpoints (32 total)
GET
/v0.5/certs
Get certs for JWT verification
GET
/v0.5/heartbeat
Get consent request status
GET
/v0.5/.well-known/openid-configuration
Get openid configuration
POST
/v0.5/sessions
Get access token
POST
/v0.5/patients/find
Identify a patient by her consent-manager user-id
POST
/v0.5/consents/fetch
Get consent artefact
POST
/v0.5/users/auth/init
Initialize authentication from HIP
POST
/v0.5/patients/on-find
Identification result for a consent-manager user-id
POST
/v0.5/consents/on-fetch
Result of fetch request for a consent artefact
POST
/v0.5/users/auth/notify
notification API in case of DIRECT mode of authentication by the CM
POST
/v0.5/users/auth/confirm
Confirmation request sending token, otp or other authentication details from …
POST
/v0.5/users/auth/on-init
Response to user authentication initialization from HIP
Language coverage
JavaScript
1
At a glance
Total SDKs1
Languages1
Endpoints32
Categories1
https://dev.ndhm.gov.in/gateway