Document not loading on PHR App

{
consentId: ‘90b36bea-3ff4-4f39-82c0-8771d07c38bf’,
transactionId: ‘cb17d537-ad7a-43ab-9eee-4305eabe55aa’,
dataPushUrl: ‘https://dev.ndhm.gov.in/patient-hiu/data/notification’,
encKey: ‘xxxxx’,
nonce: ‘xxxxx’,
}

Can you please provide the full details?

Hi @ashok-kinitious,

  1. We found that there was Error while decrypting .

  1. By any chance if you are using java, take inspiration from this project for encryption-decryption` or you can use this as a different microservice.

Thank You.

Hi @Shubhanshu_shukla,

Document not loading on PHR App. I will share the details

url: /v0.5/health-information/hip/request
“clientId”: “SBX_000049”,
correlationId:e93a0950-52ad-49d8-9d14-524c085ab3b7
TransactionId: “f89c0287-5add-4438-8357-a37d734d114d”

For encryption/decryption we use recommended Java project, https://github.com/sukreet/fidelius. Please help us to resolve.

@Shubhanshu_Shukla Can you Please Provide me the Data String that you’ve received and the Decryption flow(keys + methods) on my Email, As the Same Function, is working fine when we call it for our Consent Grant Flow.

@Shubhanshu_Shukla @bhaskar.dabhi

Can you Please Help me

@Manik3112 can you share the non encrypted FHIR object that you are sending?

Hi Bhaskar,

Document not loading for me too:-

TransactionId":“8c1753ae-42f1-474f-8a33-f0366c0bb63b”
dataPushUrl: ‘https://dev.ndhm.gov.in/patient-hiu/data/notification’

Encrypted entry:-
“Entries”:[{“Content”:“U2LfJnjrGvdl6+lHyVKP57APUWQUlGNEz2CBPeNaiVXQ55ETNHMEFoDRKqdRI3oHkJDDdAhw8bhFF1C0bwn7pzFY1QxS8vo1bAeJPzRhVNl1bqzgkVfyN9idFT0U9IsWQjglL1ouKAbgi2/wuRbW+EtLWi43Velf1R5mMQ3N7nPakVeOQu8vgdAMOgkTiPTSUFYALY8I4GVKhBN0Tn5npzcyS1CPBtG5v0dLLMeLrRiOc4zBFrstQVSoeY6kWSmYwDNC8DmSNqcx/dmt3JvdrxXhMZl7k+3QnIbrxOjCSGpXuQMPF8bKIIIC/7FwxuNeXqvPImnknTHhhLcobhjfTiEN9Pz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M32fuuoTR9FcdvajFCAFxtIolyb9vpvqgYCNOEkcL731U3PyteyIQvUTNyTIpq2rjIpPqy+fuRATH2CNYhEn2HXTCSbdOWHPPx27Smf6F2R1DzQRSEwm/yeg1LTs9EnIVa7T50dGGT7sxE85/tiRC38P7sjo0b6VoiqgRMRpednQ==”,“Media”:“application/fhir+json”,“CareContextReference”:“30006100003343”,“Checksum”:“MD5”,“Link”:null}],“KeyMaterial”:{“CryptoAlg”:“ECDH”,“Curve”:“curve25519”,“DhPublicKey”:{“Expiry”:“2022-01-06T10:39:35Z”,“Parameters”:“Ephemeral public key”,“KeyValue”:“MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAARQhtH+6E8HGUsD7joEeo8FHHs04MTyyO3ZAABni6QiOziuctte/sSwN0XQn1afmuDIzFBsMDRqqSuEbQu5Onwx”},“Nonce”:“zCzevt9/BRxA4vNLK9R5IIYPa4A2BdzSawVrjPdpuxc=”}}

Decrypted FHIR object:-

{ “resourceType”: “Bundle”, “type”: “transaction”, “entry”: [{“fullUrl”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”,“resource”: {“resourceType”: “Patient”, “identifier”:[ { “value”: “554741616414”,“type”: {“text”: “amritId”} }, {“type”: { “text”: “shubham”},“value”: “healthId” }, {“type”: { “text”: “35-0850-0203-0112”},“value”: “healthIdNumber” }],“name”: [ {“text”: “juhi d” }],“telecom”: [ {“value”: “9894623578” }],“birthDate”: “1997-02-03”,“address”: [ {“district”: “Anantapur” }, {“state”: “Andhra Pradesh” }, {“country”: “India” }],“maritalStatus”: { “coding”: [{ “code”: “1”},{ “display”: “Unmarried”} ]} }, “request”: {“method”: “POST”,“url”: “Patient” }},{ “fullUrl”: “urn:uuid:65f3c9bc-1df2-4929-81bc-5851ed2e0f9f”, “resource”: {“resourceType”: “AllergyIntolerance”,“code”: { “coding”: [{ “system”: “http://snomed.info/sct”, “code”: “248425001”, “display”: “Fever”, “userSelected”: true} ]},“patient”: { “reference”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”},“encounter”: { “reference”: “urn:uuid:7e579b2e-dbce-4eea-8c8a-2a45f36e8c10”},“asserter”: { “reference”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”} }, “request”: {“method”: “POST”,“url”: “AllergyIntolerance” }},{ “fullUrl”: “urn:uuid:1d58d1bc-3c19-4591-a78b-32b225d3e43e”, “resource”: {“resourceType”: “Appointment”,“status”: “fulfilled”,“start”: “2021-02-03T01:55:00.000+05:30”,“participant”: [ {“id”: “1583”,“type”: [ {“id”: “26”,“text”: “TC Specialist” }] }] }, “request”: {“method”: “POST”,“url”: “appointmentResource” }},{ “fullUrl”: “urn:uuid:cd27fcc6-93b1-489b-ab0a-ae7137591268”, “resource”: {“resourceType”: “Condition”,“code”: { “coding”: [{ “system”: “http://snomed.info/sct”, “code”: “Fever”, “display”: “386661006”, “userSelected”: true} ]},“subject”: { “reference”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”},“recordedDate”: “2021-02-03T02:00:00+05:30”,“recorder”: { “reference”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”},“asserter”: { “reference”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”} }, “request”: {“method”: “POST”,“url”: “Condition” }},{ “fullUrl”: “urn:uuid:c132ea25-4396-436b-b09e-99b5ed4b1feb”, “resource”: {“resourceType”: “FamilyMemberHistory”,“status”: “health-unknown”,“patient”: { “reference”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”},“relationship”: { “coding”: [{ “code”: “Aunt”, “display”: “Aunt”} ]},“condition”: [ {“code”: { “coding”: [{ “system”: “http://snomed.info/sct”, “code”: “22567005”, “display”: “SED syndrome”} ]} }] }, “request”: {“method”: “POST”,“url”: “familyMemberHistory” }},{ “fullUrl”: “urn:uuid:7e579b2e-dbce-4eea-8c8a-2a45f36e8c10”, “resource”: {“resourceType”: “Encounter”,“status”: “finished”,“class”: { “code”: “AMB”, “display”: “ambulatory”},“subject”: { “reference”: “urn:uuid:93fb964d-f557-4c67-92ef-034464834905”},“appointment”: [ {“reference”: “urn:uuid:1d58d1bc-3c19-4591-a78b-32b225d3e43e” }],“diagnosis”: [ {“condition”: { “reference”: “urn:uuid:cd27fcc6-93b1-489b-ab0a-ae7137591268”} }] }, “request”: {“method”: “POST”,“url”: “Encounter” }} ]}

@bhaskar.dabhi

Thanks