THIS IS consent call get from app
{“notification”:{“consentDetail”:{“consentId”:“d9bebe9b-9a0a-42ec-a22b-16df4bbfa0be”,“createdAt”:“2023-01-23T13:34:40.637384”,“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“patient”:{“id”:“deeptomar@sbx”},“consentManager”:{“id”:“sbx”},“hip”:{“id”:“purpledocs”,“name”:“purpledocs”},“hiTypes”:[“Prescription”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2023-01-13T13:32:00”,“to”:“2023-01-23T13:32:50.846”},“dataEraseAt”:“2023-01-24T13:32:50.847”,“frequency”:{“unit”:“HOUR”,“value”:1,“repeats”:0}},“careContexts”:[{“patientReference”:“PUID-00001”,“careContextReference”:“visit-87edff7e-9a1b-445f-9c1f-f2cf1b2f571b”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-60ed4edd-6146-4773-a460-e27538ce94f7”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-087b64b9-4fb0-4ec7-8b60-953e9e331635”},{“patientReference”:“PUID-00001”,“careContextReference”:“PUID-00001”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-ad5846dd-7256-4b9d-b167-61bb8f833833”}]},“status”:“GRANTED”,“signature”:“gCm1GCs9vk5qV9nTGTIQKecyOZUSkBrD4ssRvP92sgrP6aS2hvgguj9MtuCRiqd+5nGwbOZTvbSAy8dBB9jHdGj6BICqzz7VSsNIdaf+LOZmv/nMpOD1CL2G34sz4IlPhWUPS4T8C1mAbW50chJ6BEtW6nSLDzymiofNzwag6GIDzE3Jv9nyvKt6Db6R9sDQpjudCnEEb5MS2ckVnPMp0ZrA2Yl7IDvoVXe5VradTC4kuDO9UH/UUGhwf1EKS80au4HVVZzjFhDbTAkhJTmk/aL9mpC9VLYILg0QnOfJ2hU0wBFE8l7K+9JmazGBByimLjb/0sO+BWoRv16k5mp1UQ==”,“consentId”:“d9bebe9b-9a0a-42ec-a22b-16df4bbfa0be”,“grantAcknowledgement”:false},“requestId”:“7f02dc82-b794-407a-880f-5099552bc6f1”,“timestamp”:“2023-01-23T13:34:40.722073”}
and after that i get a callback on hip/request
and after that i respond to on-request with
{“acknowledgement”:{“consentId”:“d9bebe9b-9a0a-42ec-a22b-16df4bbfa0be”,“status”:“OK”},“resp”:{“requestId”:“7f02dc82-b794-407a-880f-5099552bc6f1”},“requestId”:“5c4b221e-1874-4ddf-8419-8be1f94ecdbd”,“timestamp”:“2023-01-23T13:34:43.901Z”}
and easily get 202 accepted
apart from that
i push the data on data push URL
{“keyMaterial”:{“curve”:“curve25519”,“cryptoAlg”:“ECDH”,“dhPublicKey”:{“keyValue”:“MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAAR2s9qSfBtkc6Q+6Sp2Yb6pCa3ZB3kJskmW1WgMZVXuBHF7Ma1fmwiwRPAwQR7VkxhIUTicONrgb55uf6iJe8C0”,“expiry”:“2023-10-06T10:50:37.764Z”,“parameters”:“Curve25519/32byte random key”},“nonce”:“UiHwJEA4pNoYKaCDB+iwAZSfQ0TT8o1AyetdnTdwx5M=”},“pageCount”:1,“entries”:[{“careContextReference”:“purple-care-deeptomar@sbx-ad5846dd-7256-4b9d-b167-61bb8f833833”,“checksum”:“D41D8CD98F00B204E9800998ECF8427E”,“media”:“application/fhir+json”,“content”:“A5sO0IRImMZbGC6XEuGBa8SQjURXxtxuptXf0RL1XcgEtEGi/60Uo1dSjNgGF7JJT8Kc62tA4Sl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ZdMEcgudj1rdK28G8rsiKo6LQqcnnFi9sTXU3z2wkcbqIw+LrEKykL+0UwfDCp57Qg==”}],“pageNumber”:0,“transactionId”:“909c86d6-9c26-4fa4-8465-c6df7de39b6a”}
and get a 202 accepted
after this push the data to health-information/notify
on url https://dev.abdm.gov.in/gateway/v0.5/health-information/notify
with data
{“notification”:{“doneAt”:“2023-01-23T13:35:24.511Z”,“consentId”:“d9bebe9b-9a0a-42ec-a22b-16df4bbfa0be”,“notifier”:{“id”:“purpledocs”,“type”:“HIP”},“statusNotification”:{“hipId”:“purpledocs”,“statusResponses”:[{“careContextReference”:“purple-care-deeptomar@sbx-ad5846dd-7256-4b9d-b167-61bb8f833833”,“hiStatus”:“OK”,“description”:“just testing for data to be received”}],“sessionStatus”:“TRANSFERRED”},“transactionId”:“909c86d6-9c26-4fa4-8465-c6df7de39b6a”},“requestId”:“58eee369-8863-4df7-8364-0c421bca6d37”,“timestamp”:“2023-01-23T13:35:24.511Z”}
and get 202 accepted
but still got no data on HIU
@neha.parnami
@IntegrationSupport
PS:
this our prescription FHIR format
{
“resourceType”: “Bundle”,
“id”: “prescription-bundle-01”,
“meta”: {
“versionId”: “1”,
“lastUpdated”: “2023-01-23T13:29:53.664Z”,
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentBundle” ],
“security”: [ {
“system”: “http://terminology.hl7.org/CodeSystem/v3-Confidentiality”,
“code”: “V”,
“display”: “very restricted”
} ]
},
“identifier”: {
“system”: “http://hip.in”,
“value”: “bc3c6c57-2053-4d0e-ac40-139ccccff645”
},
“type”: “document”,
“timestamp”: “2023-01-23T13:29:53.664Z”,
“entry”: [ {
“fullUrl”: “Composition/Composition-01”,
“resource”: {
“resourceType”: “Composition”,
“id”: “Composition-01”,
“meta”: {
“versionId”: “1”,
“lastUpdated”: “2020-07-09T15:32:26.605+05:30”,
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/PrescriptionRecord” ]
},
“language”: “en-IN”,
“text”: {
“status”: “generated”,
“div”: “<div xmlns=“http://www.w3.org/1999/xhtml”>Prescription report”
},
“identifier”: {
“system”: “https://ndhm.in/phr”,
“value”: “645bb0c3-ff7e-4123-bef5-3852a4784813”
},
“status”: “final”,
“type”: {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “440545006”,
“display”: “Prescription record”
} ]
},
“subject”: {
“reference”: “Patient/Patient-01”
},
“date”: “2017-05-27T11:46:09+05:30”,
“author”: [ {
“reference”: “Practitioner/Practitioner-01”
} ],
“title”: “Prescription record”,
“section”: [ {
“title”: “Prescription record”,
“code”: {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “440545006”,
“display”: “Prescription record”
} ]
},
“entry”: [ {
“reference”: “MedicationRequest/MedicationRequest-01”,
“type”: “MedicationRequest”
}, {
“reference”: “MedicationRequest/MedicationRequest-02”,
“type”: “MedicationRequest”
}, {
“reference”: “Binary/Binary-01”,
“type”: “Binary”
} ]
} ]
}
}, {
“fullUrl”: “Patient/Patient-01”,
“resource”: {
“resourceType”: “Patient”,
“id”: “Patient-01”,
“meta”: {
“versionId”: “1”,
“lastUpdated”: “2020-07-09T14:58:58.181+05:30”,
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient” ]
},
“text”: {
“status”: “generated”,
“div”: “<div xmlns=“http://www.w3.org/1999/xhtml”>ABC, 41 year, Male”
},
“identifier”: [ {
“type”: {
“coding”: [ {
“system”: “http://terminology.hl7.org/CodeSystem/v2-0203”,
“code”: “MR”,
“display”: “Medical record number”
} ]
},
“system”: “https://ndhm.in/SwasthID”,
“value”: “1234”
} ],
“name”: [ {
“text”: “ABC”
} ],
“telecom”: [ {
“system”: “phone”,
“value”: “+919818512600”,
“use”: “home”
} ],
“gender”: “male”,
“birthDate”: “1981-01-12”
}
}, {
“fullUrl”: “Practitioner/Practitioner-01”,
“resource”: {
“resourceType”: “Practitioner”,
“id”: “Practitioner-01”,
“meta”: {
“versionId”: “1”,
“lastUpdated”: “2019-05-29T14:58:58.181+05:30”,
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner” ]
},
“text”: {
“status”: “generated”,
“div”: “<div xmlns=“http://www.w3.org/1999/xhtml”>Dr. DEF, MD (Medicine)”
},
“identifier”: [ {
“type”: {
“coding”: [ {
“system”: “http://terminology.hl7.org/CodeSystem/v2-0203”,
“code”: “MD”,
“display”: “Medical License number”
} ]
},
“system”: “https://ndhm.in/DigiDoc”,
“value”: “7601003178999”
} ],
“name”: [ {
“text”: “Dr. DEF”
} ]
}
}, {
“fullUrl”: “MedicationRequest/MedicationRequest-01”,
“resource”: {
“resourceType”: “MedicationRequest”,
“id”: “MedicationRequest-01”,
“meta”: {
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/MedicationRequest” ]
},
“status”: “active”,
“intent”: “order”,
“medicationCodeableConcept”: {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “324252006”,
“display”: “Azithromycin (as azithromycin dihydrate) 250 mg oral capsule”
} ]
},
“subject”: {
“reference”: “Patient/Patient-01”,
“display”: “ABC”
},
“authoredOn”: “2020-07-09”,
“requester”: {
“reference”: “Practitioner/Practitioner-01”,
“display”: “Dr DEF”
},
“reasonCode”: [ {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “11840006”,
“display”: “Traveller’s Diarrhea (disorder)”
} ]
} ],
“reasonReference”: [ {
“reference”: “Condition/Condition-01”
} ],
“dosageInstruction”: [ {
“text”: “One tablet at once”,
“additionalInstruction”: [ {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “311504000”,
“display”: “With or after food”
} ]
} ],
“timing”: {
“repeat”: {
“frequency”: 1,
“period”: 1,
“periodUnit”: “d”
}
},
“route”: {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “26643006”,
“display”: “Oral Route”
} ]
},
“method”: {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “421521009”,
“display”: “Swallow”
} ]
}
} ]
}
}, {
“fullUrl”: “MedicationRequest/MedicationRequest-02”,
“resource”: {
“resourceType”: “MedicationRequest”,
“id”: “MedicationRequest-02”,
“meta”: {
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/MedicationRequest” ]
},
“status”: “active”,
“intent”: “order”,
“medicationCodeableConcept”: {
“text”: “Paracetemol 500mg Oral Tab”
},
“subject”: {
“reference”: “Patient/Patient-01”,
“display”: “ABC”
},
“authoredOn”: “2020-07-09”,
“requester”: {
“reference”: “Practitioner/Practitioner-01”,
“display”: “Dr DEF”
},
“reasonCode”: [ {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “602001”,
“display”: “Ross river fever”
} ]
} ],
“reasonReference”: [ {
“reference”: “Condition/Condition-01”
} ],
“dosageInstruction”: [ {
“text”: “Take two tablets orally with or after meal once a day”
} ]
}
}, {
“fullUrl”: “Condition/Condition-01”,
“resource”: {
“resourceType”: “Condition”,
“id”: “Condition-01”,
“meta”: {
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/Condition” ]
},
“text”: {
“status”: “generated”,
“div”: “<div xmlns=“http://www.w3.org/1999/xhtml”>Abdominal pain on 09-July 2020”
},
“code”: {
“coding”: [ {
“system”: “http://snomed.info/sct”,
“code”: “21522001”,
“display”: “Abdominal pain”
} ],
“text”: “Abdominal pain”
},
“subject”: {
“reference”: “Patient/Patient-01”
}
}
}, {
“fullUrl”: “Binary/Binary-01”,
“resource”: {
“resourceType”: “Binary”,
“id”: “Binary-01”,
“meta”: {
“profile”: [ “https://nrces.in/ndhm/fhir/r4/StructureDefinition/Binary” ]
},
“contentType”: “application/pdf”,
“data”: “R0lGODlhfgCRAPcAAAAAAIAAAACAAICAAAAAgIAAoxrXyMY2uvGNcIyjHOeoxkXBh44OOZdn8Ggu+DiPjwtJ2CZyUomCTRGO”
}
} ]
}