Hi,
I’m implementing HIU on my system. I’ve followed the whole process of fetching the health data from HIP system including the cm/request call on my system. But the dataPushURL that I’m sending in the call is not updating on the HIP system. Kindly correct me if I’m missing some steps in between.
API call : /v0.5/health-information/cm/request
Recieved Response Code : 202
Payload :
{
“requestId”:“c02cf96b-3566-4053-b3aa-7a9728c951d9”,
“hiRequest”:{
“consent”:{
“id”:“a2d91a96-9926-4ed3-b1d1-6bf37432bf96”
},
“dateRange”:{
“from”:“2017-03-22T18:30”,
“to”:“2021-03-23T18:30”
},
“dataPushUrl”:“https://demo.raxa.io/openmrs/ws/v0.5/health-information/transfer”,
“keyMaterial”:{
“cryptoAlg”:“ECDH”,
“curve”:“Curve25519”,
“dhPublicKey”:{
“expiry”:“2021-03-26T09:30:59”,
“parameters”:“Ephemeral public key”,
“keyValue”:“A1cVTLdk4XeOhRq6Zqo6cvlxga7NPxYHWkRMBA1/xqjH”
},
“nonce”:“HwNe3kkKA3hh98goY3r92XzbsE7YgpGOwrNIeqWlf+4=”
}
},
“timestamp”:“2021-03-24T09:30:59”
}
Hi @mdubey,
I’m sending the health-information/cm/request call but I’m not getting the on-request callback from NDHM.
Payload :
{"requestId":"1d949887-764b-4488-bc7d-338e0fb84c1b","hiRequest":{"consent":{"id":"4e5b2ad8-d685-444e-80a9-6bcae3678ed5"},"dateRange":{"from":"2020-10-31T18:30","to":"2021-05-09T18:30"},"dataPushUrl":"https:\/\/demo.raxa.io\/openmrs\/ws\/v0.5\/health-information\/transfer","keyMaterial":{"cryptoAlg":"ECDH","curve":"Curve25519","dhPublicKey":{"expiry":"2021-05-23T10:25:33","parameters":"Ephemeral public key","keyValue":"MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAAQDEDAn6lnDiLORGbaHRwr2zDVKdefGNfeW+KKMuX9afWyvu6NQKhPw2B4kfCWqtCvkcdtJ\/raPACxEbWE7tOAh"},"nonce":"8DMIH9YcJeVgbRAymFSdoePDT9Dd7nxdQlQ3pa6z0iA="}},"timestamp":"2021-05-21T10:25:33"}