How to fetch Document and show in the PHR App

We are building the CM, and we’ve been able to complete the Care Context Linking Journey & Consent Request Journey which includes

  • Search Providers & associated Documents
  • Link Care Context
  • View Consent Request
  • Grant/Deny Consent Request

We’re not able to pull/fetch the Document/PDFs associated with care context on pull record button, below.

image

@Prajwal kindly look.

can u share login credentials

Please Post the Response on below Email Address

somya.sheti@bajajfinserv.in
manik.rastogi@bajajfinserv.in

can u share login credentials of abha mobile app so that we can test it.

somi@sbx

There is no password, its OTP validated.

Hi Team,

The specific issue is while raising a consent from the HIU to the CM for HIP to push records, we are getting shown a consent back on the PHR App only. Can you help us resolve this?

@raunaqpradhan,

Team is looking upto this issue.
Will get back to you once it is resolved.

Thanks

Hi @Manik3112

Attaching the logs for apis sequence to pull records.

  1. 202 Accepted https://dev.ndhm.gov.in/cm/v1/patient/consent-request (291ms)

correlation-id: 3c89f990-5316-4910-8be2-904f95d413d3

Set-Cookie: TS01960242=01115a1c90c4ffd2d52b5c396e397a387d4f87a614e6ff1bf899ac2c8d7a7b468b129040ad2b5094552fb062f1916100855b09e2b1; Path=/

Res.
{“IN3410000219”:“9d0b0be9-8521-4efb-b167-62c68998c275”}

  1. POST https://dev.ndhm.gov.in/cm/v1/patient/health-information/status

X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJ2YXNhbnRoYWt1bWFyLmtlc2F2YW5Ac2J4IiwiY2xpZW50SWQiOiJzYngiLCJzeXN0ZW0iOiJBQkhBLUEiLCJyZXF1ZXN0ZXJJZCI6IlBIUi1XRUIiLCJwaHJNb2JpbGUiOm51bGwsImV4cCI6MTY1NTEyMzEyNywiaWF0IjoxNjU1MTE1OTI3LCJwaHJBZGRyZXNzIjoidmFzYW50aGFrdW1hci5rZXNhdmFuQHNieCIsInR4bklkIjoiNjYxNDgzNGQtOGQwZC00NmIwLWJkM2YtNTBhMTU1ODNkYzk5In0.ttuO2FFZAULrF2BSf1AXhcmGG0_B9EKBe8CILgW1GzEOmKZJS-XTT1gMHrmh4soHCxPRk-UvE73qAgigTIMXT_ekEdEj8K8uppQXRJk1APuyBroa0cuIzjgYvjr14ZNSCc3cY2UAWE7xuLAgIZKqpWzhWCyYMC1mk-OEhhh0s4HwSmh1gPd7CM6HU6yHgfM7aaXhhaN6ch-syi_v58VivqkIQcOv4CmX4n8bogo6JL8KGT4QC5bbcfW7-RXegLuADifz-LMosCfOIMJDqC1Scn17S08hOatXi7nHiqvuu6nQsZJ8aSI93x70NGPM33pchgJ3OF1FyELUqaxtb4Yy_w

Req.
{“requestIds”:[“9d0b0be9-8521-4efb-b167-62c68998c275”]}

correlation-id: e3e5887e-db34-4cd7-9b64-a75bf0cfd43f

Set-Cookie: TS01960242=01115a1c90da6917b08ad0de404ee7c6bdf0dfd00f296987dab200ab0bd63609e8035e781702b6922b77dc1cc1b5bb537e460df161; Path=/

Res.
{“statuses”:[{“hipId”:“IN3410000219”,“requestId”:“9d0b0be9-8521-4efb-b167-62c68998c275”,“status”:“PROCESSING”}]}

  1. POST https://dev.ndhm.gov.in/cm/v1/patient/health-information/status

X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJ2YXNhbnRoYWt1bWFyLmtlc2F2YW5Ac2J4IiwiY2xpZW50SWQiOiJzYngiLCJzeXN0ZW0iOiJBQkhBLUEiLCJyZXF1ZXN0ZXJJZCI6IlBIUi1XRUIiLCJwaHJNb2JpbGUiOm51bGwsImV4cCI6MTY1NTEyMzEyNywiaWF0IjoxNjU1MTE1OTI3LCJwaHJBZGRyZXNzIjoidmFzYW50aGFrdW1hci5rZXNhdmFuQHNieCIsInR4bklkIjoiNjYxNDgzNGQtOGQwZC00NmIwLWJkM2YtNTBhMTU1ODNkYzk5In0.ttuO2FFZAULrF2BSf1AXhcmGG0_B9EKBe8CILgW1GzEOmKZJS-XTT1gMHrmh4soHCxPRk-UvE73qAgigTIMXT_ekEdEj8K8uppQXRJk1APuyBroa0cuIzjgYvjr14ZNSCc3cY2UAWE7xuLAgIZKqpWzhWCyYMC1mk-OEhhh0s4HwSmh1gPd7CM6HU6yHgfM7aaXhhaN6ch-syi_v58VivqkIQcOv4CmX4n8bogo6JL8KGT4QC5bbcfW7-RXegLuADifz-LMosCfOIMJDqC1Scn17S08hOatXi7nHiqvuu6nQsZJ8aSI93x70NGPM33pchgJ3OF1FyELUqaxtb4Yy_w

Req.
{“requestIds”:[“9d0b0be9-8521-4efb-b167-62c68998c275”]}

correlation-id: 5a53ad27-92f9-47a9-a78b-a265d2d25d44

Set-Cookie: TS01960242=01115a1c90883fc2504408af73e7554997a64780a5fc781a68c0cd30e15fa1e1a849b6b0e9a8e99a54e6fc3d79c484432e8295fb81; Path=/

Res.
{“statuses”:[{“hipId”:“IN3410000219”,“requestId”:“9d0b0be9-8521-4efb-b167-62c68998c275”,“status”:“SUCCEEDED”}]}

  1. POST https://dev.ndhm.gov.in/cm/v1/patient/health-information/fetch

OkHttpClient: X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJ2YXNhbnRoYWt1bWFyLmtlc2F2YW5Ac2J4IiwiY2xpZW50SWQiOiJzYngiLCJzeXN0ZW0iOiJBQkhBLUEiLCJyZXF1ZXN0ZXJJZCI6IlBIUi1XRUIiLCJwaHJNb2JpbGUiOm51bGwsImV4cCI6MTY1NTEyMzEyNywiaWF0IjoxNjU1MTE1OTI3LCJwaHJBZGRyZXNzIjoidmFzYW50aGFrdW1hci5rZXNhdmFuQHNieCIsInR4bklkIjoiNjYxNDgzNGQtOGQwZC00NmIwLWJkM2YtNTBhMTU1ODNkYzk5In0.ttuO2FFZAULrF2BSf1AXhcmGG0_B9EKBe8CILgW1GzEOmKZJS-XTT1gMHrmh4soHCxPRk-UvE73qAgigTIMXT_ekEdEj8K8uppQXRJk1APuyBroa0cuIzjgYvjr14ZNSCc3cY2UAWE7xuLAgIZKqpWzhWCyYMC1mk-OEhhh0s4HwSmh1gPd7CM6HU6yHgfM7aaXhhaN6ch-syi_v58VivqkIQcOv4CmX4n8bogo6JL8KGT4QC5bbcfW7-RXegLuADifz-LMosCfOIMJDqC1Scn17S08hOatXi7nHiqvuu6nQsZJ8aSI93x70NGPM33pchgJ3OF1FyELUqaxtb4Yy_w

Req.
{“limit”:20,“offset”:0,“requestIds”:[“9d0b0be9-8521-4efb-b167-62c68998c275”]}

correlation-id: 9163adef-82d4-4d18-8583-023b0a8352c2

Set-Cookie: TS01960242=01115a1c90c0095680da9189a0787c390ae759f5eec9913671b7b5d08ede9a04b1a0df3b48515d9af0728ed05fa8e8ec8811901227; Path=/

Res.
{“size”:1,“limit”:20,“offset”:0,“entries”:[{“hipId”:“IN3410000219”,“consentRequestId”:“5290d578-49fb-4a12-988e-63cf94552ecb”,“consentArtefactId”:“37449483-bb52-435c-9580-061a5cd9f3e8”,“status”:“SUCCEEDED”,“data”:{“resourceType”:“Bundle”,“id”:“Diagnostic-bundle-18964”,“meta”:{“lastUpdated”:“2022-06-13T16:00:48.971+05:30”,“tag”:[{“system”:“http://terminology.hl7.org/CodeSystem/v3-ObservationValue",“code”:“SUBSETTED”,“display”:"Resource encoded in summary mode”}]},“identifier”:{“system”:“https://emr.ndhm.gov.in”,“value”:“18964”},“type”:“document”,“timestamp”:“2022-06-13T16:00:48.971+05:30”,“entry”:[{“fullUrl”:“Composition/18964”,“resource”:{“resourceType”:“Composition”,“id”:“18964”,“meta”:{“versionId”:“1”,“lastUpdated”:“2022-06-13T16:00:48.971+05:30”,“tag”:[{“system”:“http://terminology.hl7.org/CodeSystem/v3-ObservationValue",“code”:“SUBSETTED”,“display”:"Resource encoded in summary mode”}]},“language”:“en-IN”,“identifier”:{“system”:“https://emr.ndhm.gov.in”,“value”:“18964”},“status”:“final”,“type”:{“coding”:[{“system”:“https://snomedct.ndhm.gov.in/ionic",“code”:“721981007”,“display”:"Diagnostic studies service”}],“text”:“Diagnostic Report-Media”},“subject”:{“reference”:“Patient/13595”},“date”:“2022-06-13T16:00:48+05:30”,“author”:[{“reference”:“Practitioner/78-5576-8431-3437”}],“title”:“Diagnostic Report-Media”,“section”:[{“title”:“Diagnostic Report-Imaging Media”,“code”:{“coding”:[{“system”:“https://snomedct.ndhm.gov.in/ionic",“code”:“721981007”,“display”:"Diagnostic studies service”}]},“entry”:[{“reference”:“DiagnosticReport/11130”}]}]}},{“fullUrl”:“Patient/13595”,“resource”:{“resourceType”:“Patient”,“id”:“13595”,“meta”:{“versionId”:“1”,“lastUpdated”:“2022-05-23T21:02:03.000+05:30”,“tag”:[{“system”:“http://terminology.hl7.org/CodeSystem/v3-ObservationValue",“code”:“SUBSETTED”,“display”:"Resource encoded in summary mode”}]},“identifier”:[{“system”:“https://emr.ndhm.gov.in”,“value”:“13595”}],“name”:[{“family”:“Kesavan”,“given”:[“Vasantha Kumar”]}],“telecom”:[{“system”:“phone”,“value”:“7598733807”,“use”:“home”}],“gender”:“other”,“birthDate”:“1984-08-22”}},{“fullUrl”:“Organization/IN3410000219”,“resource”:{“resourceType”:“Organization”,“id”:“IN3410000219”,“meta”:{“tag”:[{“system”:“http://terminology.hl7.org/CodeSystem/v3-ObservationValue",“code”:“SUBSETTED”,“display”:"Resource encoded in summary mode”}]},“identifier”:[{“system”:“https://facility.ndhm.gov.in”,“value”:“IN3410000219”}],“name”:“Kidney Center Hospital”,“telecom”:[{“system”:“phone”,“use”:“work”}]}},{“fullUrl”:“Practitioner/78-5576-8431-3437”,“resource”:{“resourceType”:“Practitioner”,“id”:“78-5576-8431-3437”,“meta”:{“versionId”:“1”,“lastUpdated”:“2022-05-23T21:02:03.000+05:30”,“tag”:[{“system”:“http://terminology.hl7.org/CodeSystem/v3-ObservationValue",“code”:“SUBSETTED”,“display”:"Resource encoded in summary mode”}]},“identifier”:[{“system”:“https://digidoc.ndhm.gov.in”,“value”:“78-5576-8431-3437”}]}},{“fullUrl”:“DiagnosticReport/11130”,“resource”:{“resourceType”:“DiagnosticReport”,“id”:“11130”,“meta”:{“tag”:[{“system”:“http://terminology.hl7.org/CodeSystem/v3-ObservationValue",“code”:“SUBSETTED”,“display”:"Resource encoded in summary mode”}]},“identifier”:[{“system”:“https://emr.ndhm.gov.in”,“value”:“11130”}],“status”:“final”,“category”:[{“coding”:[{“system”:“https://snomedct.ndhm.gov.in”,“code”:“394819004”,“display”:“Blood transfusion (specialty) (qualifier value)”}]}],“code”:{“text”:“Vasoactive Intestinal Polypeptide, Plasma”},“subject”:{“reference”:“Patient/13595”},“issued”:“2022-06-13T16:00:48.942+05:30”,“performer”:[{“reference”:“Organization/IN3410000219”,“display”:“Kidney Center Hospital”}],“resultsInterpreter”:[{“reference”:“Practitioner/78-5576-8431-3437”}],“conclusion”:“done”,“presentedForm”:[{“contentType”:“application/pdf”,“language”:“en-IN”,“url”:"/attachments/87d99441-8492-417f-87ca-ea3ae8afabd1.pdf",“title”:“VIP”}]}}]},“docId”:“Diagnostic-bundle-18964.UNKNOWN”,“docOriginId”:“IN3410000219”}]}

Thanks

1 Like