Ndhm Gateway

Gateway is the hub that routes/orchestrates the interaction between consent managers and API bridges. There are 5 categories of APIs; discovery, link, consent flow, data flow and monitoring. To reflect the consumers of APIs, the above apis are also categorized under cm facing, hiu facing and hip fa

48 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 bridge service details/profile by the serviceId provided.
curl \
  https://dev.ndhm.gov.in/gateway/v0.5/hi-services/{service-id}

Endpoints (48 total)

GET
/v0.5/certs
Get certs for JWT verification
GET
/v0.5/heartbeat
Get consent request status
GET
/v0.5/hi-services/{service-id}
Get bridge service details/profile by the serviceId provided.
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/links/link/init
Link patient's care contexts
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

Language coverage

JavaScript
1

At a glance

Total SDKs1
Languages1
Endpoints48
Categories1
https://dev.ndhm.gov.in/gateway