Hi,
Our HIP ID EKA_HIP
has a typo in its name and need to be fixed. How can we do that?
Need to change name:
Eeka.care
—> eka.care
Our HIU ID is also missing a name.
HIU ID : EKA_HIU
HIP
Request - Providers by ID
curl --location --request GET 'https://live.ndhm.gov.in/cm/providers/EKA_HIP' \
--header 'X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJheXVzaC50ZXN0OUBhYmRtIiwiY2xpZW50SWQiOiJQSFItV0VCIiwic3lzdGVtIjoiQUJIQS1BIiwicmVxdWVzdGVySWQiOiJQSFItV0VCIiwicGhyTW9iaWxlIjoiOTk3MDUyMDcyMiIsImV4cCI6MTY1ODQ4OTA2MCwiaWF0IjoxNjU4NDgxODYwLCJwaHJBZGRyZXNzIjoiYXl1c2gudGVzdDlAYWJkbSIsInR4bklkIjoiNjUyODhkYmUtZGMwNi00OGE0LWIzNTMtZDU2ZTRhYjljZDA3In0.yDGaftwIvQvNL8EnZ1YCdcDCNU5eKBuuPQHAP0VrrsmnxUNH6u9lD7ejyCeQZ4dC8VNZfszjBQl9nrLX7m8j1nZH4Sj7AJmVQYbI5clLBLP9_-bsNpcAOn0cjYytDo-HCmjrl0S7jR4s9W6Ew23ml0XjPM4mgq4JEUhIGAgZ_DIWIO8zFPtpGq33XiRSH5hI_0YgcYNMdXpxyhLQpD9jw_zTjzo5xx4Sn0ufpBERQ79ztdXN3I6q_GZr6TwHSwowss7QpCcxttuKPLNS6xjJIxpC0R1zTKYEgK3glqFaG6VDffvQT1STDDtnFMx4b8qHKMFS8WD_OlHNEPNYstbKtA' \
--header 'Accept: */*' \
--data-raw ''
Response
{
"identifier": {
"name": "Eeka.care", /// Incorrect. Need `eka.care`
"id": "EKA_HIP"
},
"telephone": null,
"city": null,
"latitude": null,
"longitude": null,
"address": null,
"districtCode": null,
"stateCode": null,
"pinCode": null,
"facilityType": [
"HIP"
],
"isHIP": true,
"attributes": null
}
HIU Name
Patient Requests
curl --location --request GET 'https://live.ndhm.gov.in/cm/patients/requests?status=ALL' \
--header 'X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJheXVzaC50ZXN0OUBhYmRtIiwiY2xpZW50SWQiOiJQSFItV0VCIiwic3lzdGVtIjoiQUJIQS1BIiwicmVxdWVzdGVySWQiOiJQSFItV0VCIiwicGhyTW9iaWxlIjoiOTk3MDUyMDcyMiIsImV4cCI6MTY1ODQ4OTA2MCwiaWF0IjoxNjU4NDgxODYwLCJwaHJBZGRyZXNzIjoiYXl1c2gudGVzdDlAYWJkbSIsInR4bklkIjoiNjUyODhkYmUtZGMwNi00OGE0LWIzNTMtZDU2ZTRhYjljZDA3In0.yDGaftwIvQvNL8EnZ1YCdcDCNU5eKBuuPQHAP0VrrsmnxUNH6u9lD7ejyCeQZ4dC8VNZfszjBQl9nrLX7m8j1nZH4Sj7AJmVQYbI5clLBLP9_-bsNpcAOn0cjYytDo-HCmjrl0S7jR4s9W6Ew23ml0XjPM4mgq4JEUhIGAgZ_DIWIO8zFPtpGq33XiRSH5hI_0YgcYNMdXpxyhLQpD9jw_zTjzo5xx4Sn0ufpBERQ79ztdXN3I6q_GZr6TwHSwowss7QpCcxttuKPLNS6xjJIxpC0R1zTKYEgK3glqFaG6VDffvQT1STDDtnFMx4b8qHKMFS8WD_OlHNEPNYstbKtA' \
--data-raw ''
Response of patient requests API
{
"consents": {...},
"subscriptions": {
"size": 8,
"limit": 5,
"offset": 0,
"requests": [
{
"id": "56d6c3c2-f30e-4b5e-b891-aacb08cc359a",
"createdAt": "2022-03-04T15:14:24.54233",
"lastUpdated": "2022-03-04T15:14:24.54233",
"purpose": {
"text": "Self requested",
"code": "PATRQT",
"refUri": "string"
},
"patient": {
"id": "ayush.test9@ndhm"
},
"hiu": {
"id": "EKA_HIU",
"name": "EKA_HIU"
},
"hips": null,
"categories": [
"LINK",
"DATA"
],
"period": {
"from": "2021-03-04T15:14:07.571814685",
"to": "2032-03-01T15:14:07.571814685"
},
"status": "REQUESTED",
"requesterType": "HIU",
"subscriptionId": null
}
]
},
"authorizations": {...},
"lockerSetups": {...}
}
Thanks,
Ayush