PHR app : HIP initiated, PULL RECORDS

Hi Team,
HIP Initiated care context Linking, when PULL RECORDS button is clicked to fetch records in PHR app.
/v0.5/health-information/hip/request endpoint is not hit in our service.
we have monitored logs for last 2 days but still not hit on this endpoint.

@Ramandeep1
@IntegrationSupport.

+1
I am facing the same issue.
It triggers randomly (sometimes on login or while approving new consent).

@Ganesh_Bathyal Please provide payload and postman screenshot for the issue.

This is the end point being hit after consent is granted : [Logs from system]

2023-03-22 11:49:27,856 INFO c.t.h.l.HealthInformationDataRequestListener [Thread-19] --Request HipFetch Data | Request
{
“requestId”: “27fab243-6f3d-4a7a-8946-398cc3ac1c32”,
“transactionId”: “e00869ad-0b27-4a79-a3c4-440a7b5c509d”,
“hiRequest”: {
“keyMaterial”: {
“curve”: “Curve25519”,
“cryptoAlg”: “ECDH”,
“dhPublicKey”: {
“keyValue”: “BF2DXDL4DUxyvvKXhbUz1OJPbsEuf6ES3Et3TDY6JVtFIP18Sxy5XkpaL+nUpQlN9AfPcl2uu0MceXTZqVh00XY=”,
“expiry”: “2023-03-24T06:18:57.132”,
“parameters”: “Curve25519/32byte random key”
},
“nonce”: “+fbKe6lnlg6ilkw3YkfdU3iK7DqUcGjs7LVURIA8eWk=”
},
“dateRange”: {
“from”: “2023-03-15T11:47:47.659”,
“to”: “2023-03-22T11:47:47.659”
},
“dataPushUrl”: “https://dev.tatamd.com/abdm-dinc/data/push”,
“consent”: {
“id”: “0c3a20d1-a55f-4715-a43c-b377fe160d5e”
}
},
“timestamp”: “2023-03-22T06:19:27.780989283”
}
2023-03-22 11:49:32,224 INFO c.t.h.l.HealthInformationDataRequestListener [Thread-19] --On Request Hip for health Info Request
{
“resp”: {
“requestId”: “27fab243-6f3d-4a7a-8946-398cc3ac1c32”
},
“requestId”: “7817b730-1dc6-4ef9-b063-d785552bfa9d”,
“hiRequest”: {
“sessionStatus”: “ACKNOWLEDGED”,
“transactionId”: “e00869ad-0b27-4a79-a3c4-440a7b5c509d”
},
“timestamp”: “2023-03-22T06:19:27.854Z”
}
2023-03-22 11:49:32,519 INFO c.t.h.l.HealthInformationDataRequestListener [Thread-19] --onRequestHipRespEntity status code 202 ACCEPTED

The endpoint should be hit in case PULL RECORDS for hip initiated care context linking but service does not get hit.

@Ganesh_Bathyal Issue at the encryption so that HIU can’t be able to decrypt the encrypted FHIR bundle.
Pls use this path to validate the FHIR bundle you have implemented
https://validator.fhir.org/

I am not getting any call/hit for PULL RECORDS from PHR APP in case of HIP initiated care context linking.
Which will be followed by data encryption. which in our case is working perfectly fine and HIU is able to decrypt the data (consent grant flow).

@Ganesh_Bathyal - Please share your PHR app login credentials so that we can debug the issue.

abha address - ganesh2023@sbx

@Ganesh_Bathyal - Share password also for login as only address shared.

I log in with Abha address and mobile OTP.

@Ganesh_Bathyal Please set password for PHR login as you can set password also for PHR login other than mobile OTP. Request you to set a password and let us know so that we can debug the issue.

Abha address - ganesh2023@sbx
password - Gsb@7417744881

Try with these credentials

Client - SBX_002027_HIU

@IntegrationSupport Any Update on this issue.

@Ganesh_Bathyal - Resolution : Given PHR Credentials are not valid.
Please share the correct and valid credentials.

Request : POST https://dev.ndhm.gov.in/cm/v1/apps/phrAddress/auth-confirm

Request Body : {“authCode”:“kb+DUEbSTRDFyoDwHfNG91YZEgyOEJ/StC4p73WqRJJZJQFiWtpfQUzAvJ61HRChgKly4sbvwbeEVhiCPft6Ug7s+sHVB2dQP7Oig0cslvFHH40dW9luYCXyezhRj/mTR7Ccgqb7VlKdhW0VGi2eYEzc97rI8oymJF4rXmBj59KKxPjJK7Q/MlF9dPNemeL5ZByLuFmCANBbDNQPkMCWv/PmhGhKKW3y/GrwP9jH5dEqV89WQ7zNPDTrBwPtqWHpoz62mdxaEwwUo+Al2ogV9tMHuM1D7eWfhUHThb1IqugZj+5rqvMsbJ01M5chXf8X+SVly6Ks9tDz2CWjIZdo+w==”,“requesterId”:“phr_001”,“transactionId”:“e3c769e8-37c8-4656-a992-1be8bca4e6ba”}

Response : 400 Bad Request https://dev.ndhm.gov.in/cm/v1/apps/phrAddress/auth-confirm (147ms)

{“error”:{“code”:1510,“message”:“Invalid credentials.”}}

1 Like

Password reset, new credentials :
Abha Address - ganesh2023@sbx
password - Ganesh@7417744881

@IntegrationSupport please resolve the issue on priority.

@IntegrationSupport Any update?