Facing Issue with PHR discover patient API

Hi Team,

We’re trying to integrate PHR discover patient API but it is throwing an Internal Server Error exception. Also, the call is not receiving on the HIP side.

API: https://dev.ndhm.gov.in/cm/v1/care-contexts/discover

Request:

{
“requestId”: “3fa85f64-5717-4562-b3fc-2c963f66afa6”,
“hip”: {
“id”: “TeCHO-HIP”
},
“unverifiedIdentifiers”: [
{
“type”: “MOBILE”,
“value”: “+919537105697”
}
]
}

Here we used TeCHO-HIP where we have implemented patient discover call back but PHR discover patient API call is not received on the HIP side.

Please check the issue and replay ASAP.

Thanks

Hello @slamba

Please try with given requestId "requestId": "{{$guid}}", it will work.

Hi @Arvind_Tomar

Can you please elaborate more about {{$guid}}?

Actually, we’ve generated a unique UUID and used it as a request-id but still, it didn’t work.

Thanks

Hey @slamba

It is mainly used to produce hexadecimal digits with groups separated by hyphens for uniqueness purposes, for example:
b3d27f9b-d21d-327c-164e-7fb6776f87b0.
In case of any issue, please share Header snap shot.

Thank You

@slamba

Resolved this issue.?