My Records Fetch API details

Hi,

Which API is getting called when ABDM SBX app is on ‘My Records’ tab to fetch all my records. Please see the attached screenshots for your reference from ABDM SBX app.
Basically, we wanted to implement My Records tab so wanted to API, which can fetch all records and show in this tab.

CC @IntegrationSupport

Regards,
Jignesh

@Jignesh Please check this swagger link for reference https://sandbox.abdm.gov.in/swagger/ndhm-hip.yaml

To fetch My health records section use the fetch mode api :
{GATEWAY_HOST}/v0.5/users/auth/fetch-modes ​
{{HIP_HOST}}/v0.5/users/auth/on-fetch-modes

Thanks @IntegrationSupport

This API is for HIP/HIU. We are developing PHR app, so it’s not relevant, I guess.

We want to show all medical health records from all linked facilities. Please guide.

Regards,
Jignesh

@Jignesh Same api used but with a differenrt url for PHR
Use URL : image

@IntegrationSupport
We want all the medical records which are present with linked facilities, these APIs mentioned by you is something different. Please guide as I am confused.

Thanks,
Jignesh

@Jignesh This will fetch all medical records linked to the ABHA address of a person created for a HIP. When you will click on linked facility, it will show the HIP along with all the care context linked to the HIP. When you do pull record in the same screen, then you will be pushed to the homescreen where you will see all the health records of the patient fetched. You can then click on the one you will to see.

@IntegrationSupport

For what you are saying, following APIs is used
v1/patient/health-information/status
v1/patient/health-information/fetch

Not sure how to integrate following as per your above comment:
{GATEWAY_HOST}/v0.5/users/auth/fetch-modes ​
{{HIP_HOST}}/v0.5/users/auth/on-fetch-modes

Regards,
Jignesh