On Discover issue

Hi @adnan_360, @Arvind_Tomar, @Shubhanshu_Shukla, @neha.parnami

When I trying to link HIp from phr app, /discover callback is coming to webhook.
/on-discover API is sent to gateway.

but in PHR app, error showing as Unable to contact your hospital, Please try again later


{“patient”:{“id”:“salahaadhaar@sbx”,“name”:“Salahudheen P. A”,“gender”:“M”,“yearOfBirth”:1988,
“verifiedIdentifiers”:[{“type”:“MOBILE”,“value”:"+91-9447795475"},{“type”:“NDHM_HEALTH_NUMBER”,“value”:“63-0888-3641-5017”},{“type”:“HEALTH_ID”,“value”:“salahaadhaar@sbx”}],“unverifiedIdentifiers”:[]},
“requestId”:“2dbd7d95-ea4b-4bfa-869d-999300711020”,
“timestamp”:“2022-04-26T08:01:11.397218”,
“transactionId”:“99a4d178-5cca-4163-803a-7feab7ad4ec2”}


Please check and help

Thanks
SALAHUDHEEN

Hi
New request with following details

“requestId”:“1de087d0-6a95-4020-9e40-810627536c85”,
“timestamp”:“2022-04-26T09:18:46.461433”,
“transactionId”:“730901ae-317a-417f-8837-f049a4184b4f”


Please check

Thanks
SALAHUDHEEN

Hi @adnan_360 @Shubhanshu_Shukla @neha.parnami

I got 202 accepted status when this API sent to gateway

but then no activities in phr app , error showing as Unable to contact your hospital, Please try again later

Please check and update, i’m stuck here.

Thanks
SALAHUDHEEN

Please check this

@Shubhanshu_S @Haripriya @Govind_Deshmukh

Thanks
SALAHUDHEEN

Hai @salahudheen you got the solution for this?

Working for me. Issue was with my payload.
Please check your on-discover call payload with below sample,

{“requestId”:“375c1f72-45ca-40ef-9226-6a8536235302”,“timestamp”:“2023-02-06T10:12:34.131949”,“transactionId”:“10918da8-b495-4e60-b29e-a2ccd604a1f5”,“resp”:{“requestId”:“39a03a60-0397-4454-aa62-25f62e2002c3”},“patient”:{“referenceNumber”:“100695zzz98103”,“display”:“Salahudheen P. A”,“matchedBy”:[“MOBILE”],“careContexts”:[{“referenceNumber”:“20230zzzzz04833”,“display”:“VISIT-04-Jan-2023”},{“referenceNumber”:“20230zzzzz60855”,“display”:“VISIT-05-Jan-2023”},{“referenceNumber”:“20230zzzzz422981”,“display”:“VISIT-06-Jan-2023”},{“referenceNumber”:“20230zzzz457593”,“display”:“VISIT-30-Jan-2023”}]}}


Some times again same message Showing as Not able to contact, at that time i tried 2 or 3 time , working for me.

Please check
Thanks
SALAHUDHEEN