"Unable to contact your hospital" error in PHR App

For User Initiated Workflow (Discovery flow)-

  1. When a user searches for our HIP in the PHR app, we receive a discover request in our callback url ({HRP_CALLBACK_URL}/v0.5/care-contexts/discover). We are supposed to respond to the request (https://dev.abdm.gov.in/gateway/v0.5/care-contexts/on-discover), acknowledging that we have some records available in our HRP after applying the fuzzy logic .
  2. This above step however needs to be completed in 5 seconds, as the session expires in the PHR app and we are not able to respond to the request manually using postman. Even if we respond and get a successful response, it does not reflect in the PHR app since a message comes in the PHR app after 5 seconds “Unable to contact your hospital”

We need guidance from NHA on how we can test this out using postman. Also for the system to perform the fuzzy logic and respond to NHA within 5 seconds might be difficult as well.

@Shubhanshu_S @Govind_Deshmukh could you please help here?

Hi @akhil,

as per the guid line you need to provide call back on -discover and the timeline 10 second.
please check on sandbox. https://sandbox.abdm.gov.in/docs.

Thanks,
Govind D.

@akhil: We are supposed to respond to the request (https://dev.abdm.gov.in/gateway/v0.5/care-contexts/on-discover ), acknowledging that we have some records available in our HRP after applying the fuzzy logic.

Pls tell, in on-discover request we need to pass unlinked care contexts right? Where can we get the unlinked care contexts. Kindly tell what is that fuzzy logic?
@Govind_Deshmukh @IntegrationSupport

@balaji Please go through this document related to care context : https://sandbox.abdm.gov.in/static/media/Building%20HIP%20System%20_%20API%20Flow_M2__Documentation.d3949bd2.pdf

1 Like