Fetch Patient data for HIU

Hi @dheerajp, @139245
Is there any update on this.

Hi @dheerajp , @139245
Any update on datapushrul, I am still stuck at datapushurl

Hi @satindersingh,

Please refer to Not able to send data on Push Url.

It’s still in progress.

@dheerajp @139245
As per lasted update on on this post

We tried, but still facing same issue.

Consent Request Id : 24453b42-5673-4d1f-bb9f-30eaa582ae1c
ConsentArtefacts Id : dd393fbc-65bd-4f13-b935-6ec5efea86d0
transactionId : 0ffc5245-aa94-4e93-a616-b253b3720fa4

Got Response from v0.5/health-information/hiu/on-request

  {
  "requestId": "69357c39-8dd7-4daa-8daf-f31c95adda0d",
  "timestamp": "2020-11-26T06:16:12.905114",
  "hiRequest": {
    "transactionId": "0ffc5245-aa94-4e93-a616-b253b3720fa4",
    "sessionStatus": "REQUESTED"
  },
  "error": null,
  "resp": {
    "requestId": "14cddd67-c0f3-4cb9-a032-a57ed3e595bf"
  }
}

But datapushurl not get called, any idea when issue get resolved.
Sharing datapush url for reference: https://cldilstaffweb04.insurancearticlez.com/HIU/api/hiu/patientdata

Hi @satindersingh,

We see that CM is receiving the acknowledgment from HIP for data request. But we don’t see the notification (health-information/notify) from HIP saying that data has been sent to HIU which is expected.

@139245 Could you please check it from WEBEMR side.

Thanks.

Hi @Mounica ,
I didn’t find any ( health-information/notify) api from Build HIU API list.

Do I need to implement y ( health-information/notify) at HIU end, if yes then can you pls provide reference link. Also is this the reason that am not getting datapushurl encrypted data

Hi @satindersingh,

health-information/notify api on cm should receive a call from HIP. you don’t need to implement that api on hiu.
once HIP transfers the data to HIU (on data push url). HIP will notify cm about the transfer on health-information/notify api.
So, I was asking @139245 to check on WEB EMR (HIP) side.

Thanks.

@Mounica: Thanks for clarification

Hi @monikas, @dheerajp

Now I able to get below response on dataPushURL, but entries are blank?

{
  "pageNumber": 1,
  "pageCount": 1,
  "transactionId": "b569d6bd-c84f-4a91-9f5c-5cee9d7d2319",
  "entries": [],
  "keyMaterial": {
    "cryptoAlg": "ECDH",
    "curve": "curve25519",
    "dhPublicKey": {
      "expiry": "2020-12-09T04:56:50.847",
      "parameters": "Ephemeral public key",
      "keyValue": "MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAARosvCHxBTj58JR8At9wKyGhd2ErY6oWiXJft+H52EQtT8+P6b3UVdEZ6ytsHYcP8pwPQkqhk2d7VVjnJO+v46q"
    },
    "nonce": "zW+28/QqTbWO7EsN8ILAydCcTNfEGLOPnhyeW2Ynrg4="
  }
}

Any idea why is blank?

Hi @satindersingh,

This happens when the HIP doesn’t contain the data for the patient that HIU requests. It could be because recently patient data has been removed in WEB EMR. Please refer to this announcement.

Thanks.

1 Like

hi satindersingh.

Can I get your gmailId or skypeId.? I want to know few things…

@satindersingh
hello,
Im tryting to call an api consent-requests/init as HIU
Could you please tell me how do we get hiu id
“hiu”: {
“id”: “115”
}
Below is the request for this api:
{
“requestId”: “{{$guid}}”,
“timestamp”: “{{timestamp}}”,
“consent”: {
“purpose”: {
“text”: “string”,
“code”: “CAREMGT”
},
“patient”: {
“id”: “nikithealthy@ndhm”
},
“hiu”: {
“id”: “115”
},
“requester”: {
“name”: “Dr. Manju”,
“identifier”: {
“type”: “REGNO”,
“value”: “MH1001”,
“system”: “https://www.mciindia.org
}
},
“hiTypes”: [
“OPConsultation”
],
“permission”: {
“accessMode”: “VIEW”,
“dateRange”: {
“from”: “2020-09-25T12:52:34.925Z”,
“to”: “2020-09-25T12:52:34.925Z”
},
“dataEraseAt”: “2020-10-25T12:52:34.925Z”
}
}
}

Is HIU & HIP id is same ?
thanks

@dheerajp
we received below response. in entries tag is null. Why its null even data available in EMR for this health id. kindly check and let me know
{
“pageNumber”: 1,
“pageCount”: 1,
“transactionId”: “a6f04187-61d2-4bbd-b9f1-df9e3d1306b2”,
“entries”: [],
“keyMaterial”: {
“cryptoAlg”: “ECDH”,
“curve”: “curve25519”,
“dhPublicKey”: {
“expiry”: “2022-05-11T14:12:36.056”,
“parameters”: “Ephemeral public key”,
“keyValue”: “MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAAQebwWKZT0gNH60i+JD7QsJcLFkTmWi8+dxu08q0+S54UYFmaluKI2Jb9EJyvcDvJIQVPPc5b7DR/+pBoX6hcTI”
},
“nonce”: “cScz0Qdr3ckQAjoyXUFhAyQN3qu4OSSeHGVurWjtYqg=”
}
}

@Mounica @dheerajp
can you please check below issue