We are trying to push FHIR bundle data from HIP to PHR app using the data push url, we are getting status 202 accepted but data is not showing in PHR app.
Request from CM:
{“requestId”:“ac139ca7-ad93-408d-8576-de6342c8f365”,“timestamp”:“2022-09-22T07:11:26.089472”,“transactionId”:“0fc6b48b-773b-4275-af1c-733985825eee”,“hiRequest”:{“consent”:{“id”:“436258cc-6a4c-4265-a502-fadba11a9b6b”},“dateRange”:{“from”:“2015-09-22T07:10:53.848786”,“to”:“2022-09-22T07:10:53.848786”},“dataPushUrl”:“https://dev.abdm.gov.in/patient-hiu/data/notification",“keyMaterial”:{“cryptoAlg”:“ECDH”,“curve”:“curve25519”,“dhPublicKey”:{“expiry”:“2022-09-24T07:10:55.147215”,“parameters”:"Ephemeral public key”,“keyValue”:“BCw7lm7IvQk+aFBMtSy6EmVGA3la8cwV5MbL1yrbWUWWOaGBS+h7i9oHKxqX8r7iBeD5f1K6HX+3QSVIcNfp2ac=”},“nonce”:“3iCQVKR85KeHNlmSNJVVX6M07EOiXY+PSzJ34/EzOGQ=”}},“tokenType”:null}
Datapush Url Callback Response(FHIR Bundle):
{“pageNumber”:“0”,“pageCount”:“0”,“transactionId”:“0fc6b48b-773b-4275-af1c-733985825eee”,“entries”:[{“content”:“lKKwAxYYC8WPbcPA90Om+pN/5O2zKKFbX7GRapDDybAVvJ+g8u8eRM/kQgqjAanB6vFmf1s8/wbiK8DkbtG5WjrD4/1jhQbgqapG1KmpRoxkL12fsF8LpfbFifvjSOthR6tEjHHQZYjvBdmSLYdfPjJ8rGQMcy7voLORmSAaVmDJIr0z14nM+mUobWFG4bDVMKiysVJZy5qMtz5KISaiAr4rlNCe2ZO9qXBCVL7jCyDsF+Q7CaWUAjLOxsPFaMo8nKF0g5VI8jdl7yXrdt9t5zhSt7PDPBaLroazt7EnYwiRgJyuP6Q33+72ZZTAlc/AQo5GHE2q+uSaVMq3aMx887W92DE0v/96Tkyjo6IyWbPy7RhzcnuNnSzsCGnzp3tZ4bKIfyJecdjBxNOg2DQo9UTOj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YUvxNE89fjPHltamiI20OFya2SlZpdIEmZeqXbKbAzLzWAMjBBOD1uvvdgRfsEcfK5Z2oBqpi0wNrgfaX3CXtfA4omwJleDsoo9FMIFziLJuLdg/8ko31IgtC2+4M1wNSCOsM1hymyhzPN94wrM6GHLCCRv+uCUU7i1xQLczjo9Ry0hx46ABpdLRURHeeTWiv8cVrf3/KyopOeDqIBoUsFyoap+rxRnRSfAgYWc5BVTx+uY7pq2nfzbK+bmrzgQgJ3SwCQRD0yvIcx03niK1ie8xR8q7+obJlK79BMpNDzoJ040shWPUFCKLpbD1INYyCw6rHWJXmFmbO8Z9rwNfJzzJqkR3pF+rohY7OTRePXk22dKHDnwEPiusqwnEbbTcrWAmnbno4iD7VziIXcWTTxZ6j7A+sv7Qb7hF2OOzfDT3uF6C7u+vl51FtHZj7dHzzPt8k4erjjSV0A8lsoevRJHCWnd/APYLmb8eaTHYKILrMb3A6SJK4fbdyFd9I8WGDnCNwI1i1hwKbL+UudpyXQtpn8Hjcml5yTHYsyv3MBfRoG5XklPCxHLtTpKEtrcdzykFmlR+DGxZt8k26vr2UHgf1TbEDvgAdO/sCZ9k0eBTXju/YXngO+sVR4meajHzAXuQDZZOvFUKZAW5MTTVUTIHZxFfyTYi8Q8hW9TnJHQskPS1Q+6dYCD2rE0tzAO+56hVl/RlXLZ/YqsHUcWNKx40N06nBQHiEKnc+Ul5kUSOPS3vP6mX9TGs+4HeIckb9KzfyuIq08LAEGR9gRMBdg5k26naZmVDEG+V9kqJdK/qT6Gs7hkslom2iK+ohYiApE/4VX1Oneh7Yz+8lO3mmUiY8wtGKvmdJSk1iWveAs0R11NULGcFmWs2HrilBBTb8WXk5o8jqVEvztjXwoyE1ucOhgYrn3VpeL5hUCcnemL6U4Q”,“link”:null,“media”:“application/fhir+json”,“checksum”:“457f79405400649b0f55a572f36f6d57”,“careContextReference”:“ESIC-23456”},{“content”:null,“link”:“https://data-from.net/sa2321afaf12e13",“media”:“application/fhir+json”,“checksum”:“457f79405400649b0f55a572f36f6d57”,“careContextReference”:“ESIC-2421”}],“keyMaterial”:{“cryptoAlg”:“ECDH”,“curve”:“curve25519”,“dhPublicKey”:{“expiry”:“2022-09-24T07:10:55.147215”,“parameters”:"Ephemeral public key”,“keyValue”:“BCw7lm7IvQk+aFBMtSy6EmVGA3la8cwV5MbL1yrbWUWWOaGBS+h7i9oHKxqX8r7iBeD5f1K6HX+3QSVIcNfp2ac=”},“nonce”:“3iCQVKR85KeHNlmSNJVVX6M07EOiXY+PSzJ34/EzOGQ=”}}
Non Encrypted FHIR Data:
{
“resourceType”: “Bundle”,
“id”: “3739707e-1123-46fe-918f-b52d880e4e7f”,
“meta”: {
“lastUpdated”: “2022-09-21T15:24:11.938+05:30”
},
“identifier”: {
“system”: “https://www.max.in/document”,
“value”: “3739707e-1123-46fe-918f-b52d880e4e7f”
},
“type”: “document”,
“timestamp”: “2016-08-07T00:00:00+05:30”,
“entry”: [
{
“fullUrl”: “Composition/c63d1435-b6b6-46c4-8163-33133bf0d9bf”,
“resource”: {
“resourceType”: “Composition”,
“id”: “c63d1435-b6b6-46c4-8163-33133bf0d9bf”,
“identifier”: {
“system”: “https://www.max.in/document”,
“value”: “3739707e-1123-46fe-918f-b52d880e4e7f”
},
“status”: “final”,
“type”: {
“coding”: [
{
“system”: “https://projecteka.in/sct”,
“code”: “440545006”,
“display”: “Prescription record”
}
]
},
“subject”: {
“reference”: “Patient/9985455”
},
“encounter”: {
“reference”: “Encounter/dab7fd2b-6a05-4adb-af35-bcffd6c85b81”
},
“date”: “2016-08-07T00:00:00+05:30”,
“author”: [
{
“reference”: “Practitioner/46006”,
“display”: “Mr. Application L ONE”
},
{
“reference”: “Practitioner/46006”,
“display”: “Mr. Application L ONE”
},
{
“reference”: “Practitioner/46006”,
“display”: “Mr. Application L ONE”
},
{
“reference”: “Practitioner/46006”,
“display”: “Mr. Application L ONE”
}
],
“title”: “Prescription”,
“section”: [
{
“title”: “OPD Prescription”,
“code”: {
“coding”: [
{
“system”: “https://projecteka.in/sct”,
“code”: “440545006”,
“display”: “Prescription record”
}
]
},
“entry”: [
{
“reference”: “MedicationRequest/68d9667c-00c3-455f-b75d-d580950498a0”
}
]
}
]
}
},
{
“fullUrl”: “Practitioner/46006”,
“resource”: {
“resourceType”: “Practitioner”,
“id”: “46006”,
“identifier”: [
{
“system”: “https://www.mciindia.in/doctor”,
“value”: “MAX5001”
}
],
“name”: [
{
“text”: “Mr. Application L ONE”,
“prefix”: [
“Dr.”
],
“suffix”: [
“DOCTOR”
]
},
{
“text”: “Mr. Application L ONE”,
“prefix”: [
“Dr.”
],
“suffix”: [
“DOCTOR”
]
},
{
“text”: “Mr. Application L ONE”,
“prefix”: [
“Dr.”
],
“suffix”: [
“DOCTOR”
]
},
{
“text”: “Mr. Application L ONE”,
“prefix”: [
“Dr.”
],
“suffix”: [
“DOCTOR”
]
}
]
}
},
{
“fullUrl”: “Patient/9985455”,
“resource”: {
“resourceType”: “Patient”,
“id”: “9985455”,
“name”: [
{
“text”: “Ms. Subbu a”
}
],
“gender”: “male”
}
},
{
“fullUrl”: “Encounter/dab7fd2b-6a05-4adb-af35-bcffd6c85b81”,
“resource”: {
“resourceType”: “Encounter”,
“id”: “dab7fd2b-6a05-4adb-af35-bcffd6c85b81”,
“status”: “finished”,
“subject”: {
“reference”: “Patient/9985455”
},
“class”: {
“system”: “http://terminology.hl7.org/CodeSystem/v3-ActCode”,
“code”: “AMB”,
“display”: “Outpatient visit”
},
“period”: {
“start”: “2016-08-07T00:00:00+05:30”
}
}
},
{
“fullUrl”: “Medication/54ab5657-5e79-4461-a823-20e522eb337d”,
“resource”: {
“resourceType”: “Medication”,
“id”: “54ab5657-5e79-4461-a823-20e522eb337d”,
“code”: {
“coding”: [
{
“system”: “https://projecteka.in/act”,
“code”: “10X/D”,
“display”: “10X/D - 10 times a day”
},
{
“system”: “https://projecteka.in/act”,
“code”: “10X/D”,
“display”: “10X/D - 10 times a day”
},
{
“system”: “https://projecteka.in/act”,
“code”: “10X/D”,
“display”: “10X/D - 10 times a day”
},
{
“system”: “https://projecteka.in/act”,
“code”: “10M BF PROC”,
“display”: “10M BF PROC - 10 mins before procedure”
}
]
}
}
},
{
“fullUrl”: “MedicationRequest/68d9667c-00c3-455f-b75d-d580950498a0”,
“resource”: {
“resourceType”: “MedicationRequest”,
“id”: “68d9667c-00c3-455f-b75d-d580950498a0”,
“status”: “active”,
“subject”: {
“reference”: “Patient/9985455”
},
“intent”: “order”,
“medicationReference”: {
“reference”: “Medication/54ab5657-5e79-4461-a823-20e522eb337d”
},
“authoredOn”: “2016-08-07T00:00:00+05:30”,
“requester”: {
“reference”: “Practitioner/46006”
},
“dosageInstruction”: [
{
“text”: “10X/D - 10 times a day”
},
{
“text”: “10X/D - 10 times a day”
},
{
“text”: “10X/D - 10 times a day”
},
{
“text”: “10M BF PROC - 10 mins before procedure”
}
]
}
}
]
}