Discover care contexts not returning Diagnostic MRs

Hi,

I have logged in here https://emrsbx.ndhm.gov.in using username:81-5576-8431-3437 and password: Healthid1@. I have registered a new patient using my abha address. I uploaded diagnostic reports.

Now, in our PHR app, I have logged in using same abha address but care contexts discovery is not showing my uploaded diagnostic reports.

Request:
https://dev.abdm.gov.in/cm/v1/care-contexts/discover

Request Body
{
“hip”: {
“name”: “Sri Arunachalam Hospital”,
“id”: “IN3410000232”
},
“requestId”: “{{generalRequesterId}}”,
“unverifiedIdentifiers”: [
{
“type”:“MR”,
“value”:"+917874686134",
“phrAddress”:“jigneshtank@sbx”
}
]
}

Response:
{
“patient”: {
“referenceNumber”: “jigneshtank@sbx”,
“display”: "Jignesh Kantilal Tank ",
“careContexts”: [
{
“referenceNumber”: “21355”,
“display”: “Visited on 19-Apr-2023 06:03:51 Visit Type as In Patient”
}
],
“matchedBy”: [
“MR”
]
},
“transactionId”: “fcb8e6c2-2e88-424c-93a9-a6c1362f817d”
}

It is only showing visit but not the Diagnostics reports. Please guide here @IntegrationSupport

Regards,
Jignesh

@Ramandeep1 can you please validate this and revert?

@Jignesh you need to pull records in PHR app to get access to the reports.

Thanks

@Ramandeep1
Thanks for your answer. Which API is used to pull the records?
Also, This pull records happens after discover and linking but as of now I am not able to link as I am not able to find the records(care contexts) to be linked.
CC @IntegrationSupport

-Jignesh

Hai @IntegrationSupport @Ramandeep1,

  1. When I get Discover request --> I give response back for On-Discovery (get success)
    2.In PHR app it show like this
    3.After click on LINK SELECTED it will show me like this
    ** In my endponts URL we got Response Received for /links/link/init:=>{“requestId”:“a0b0319b-895f-4e07-964a-574458991548”,“timestamp”:“2023-04-20T10:23:13.930436255”,“transactionId”:“b85df70d-3db3-46ea-809e-9b0fea4387d7”,“patient”:{“id”:“suma3333330771@sbx”,“referenceNumber”:“suma3333330771@sbx”,“careContexts”:[{“referenceNumber”:“4645706”}]}}
    0|nPOST /v0.5/links/link/init 400 0.827 ms - 108.

Could you please check this once and what I have to do further to solve this issue.

@Ramandeep1 Can you please share the API url and details for pull records which should be called from PHR app?

https://live.ndhm.gov.in/cm/v1/patient/health-information/status
GET https://live.ndhm.gov.in/cm/patients/links

GET https://live.ndhm.gov.in/cm/v1/apps/profile/me
GET https://live.ndhm.gov.in/cm/patients/requests?consentLimit=5&consentOffset=0&lockerSetupLimit=5&lockerSetupOffset=0&subscriptionLimit=5&subscriptionOffset=0&authorizationLimit=5&authorizationOffset=0&status=ALL

If we clicked “pull records” button
POST https://live.ndhm.gov.in/cm/v1/patient/health-information/status