Hello @angshuonline sir, @sukreet sir
I have added new Consent Request
by login at https://dev.ndhm.gov.in/hiu#/
.
I got request on PHR mob app and I have granted request allowed.
On my HIP callback, v0.5/consents/hip/notify
api got hit, and received data as shown below.
{
“notification”: {
“consentDetail”: {
“consentId”: “3cf75a41-ddc0-448f-992f-6119e984e0e7”,
“createdAt”: “2020-09-30T06:07:55.27927”,
“purpose”: {
“text”: “Care Management”,
“code”: “CAREMGT”,
“refUri”: null
},
“patient”: {
“id”: “surajsurya06@sbx”
},
“consentManager”: {
“id”: “sbx”
},
“hip”: {
“id”: “HELTHCOCO_588687”,
“name”: null
},
“hiTypes”: [
“OPConsultation”,
“DiagnosticReport”,
“DischargeSummary”,
“Prescription”
],
“permission”: {
“accessMode”: “VIEW”,
“dateRange”: {
“from”: “2020-09-30T06:01:57.635”,
“to”: “2020-09-30T06:01:57.635”
},
“dataEraseAt”: “2020-10-01T18:01:00”,
“frequency”: {
“unit”: “HOUR”,
“value”: 1,
“repeats”: 0
}
},
“careContexts”: [
{
“patientReference”: “New OPD Request”,
“careContextReference”: “New OPD Request in Care COntext”
}
]
},
“status”: “GRANTED”,
“signature”: “ZFgJk/g49wJme12tNSzF9L86kB2NqBZvjbrtS7OZ2oJJpsks5RbLfrMDPHz92ZRQ2wPVi55NyelDFG6BzXuGWYgUvXxLGLh+3CqGF/jCn/zVxTQ5xJgNJzN04Fb9XwbO7GQAKj3jkOP2zx3ynX/bON4VRcwGuWlkUbks12Vxl6KIRa2MZY6aEvLuZN5wEkj54xuUpGaJxXI+TdRWa2FWlFvANC2a8CMDKuVxo7tBsl1Yh2C+KDyZr9FZuPRDnvs5K/LNXK5xG3OOL8L3yiqZ++BfajBROFkT7VMuRPA3rX7WxMmekb3E0eVNpGqo/Dq1q+Boz9sBxVS+kE7hCfrYzw==”,
“consentId”: “3cf75a41-ddc0-448f-992f-6119e984e0e7”
},
“requestId”: “5c8d369f-4b39-4b8b-80a4-d9d26035bad8”,
“timestamp”: “2020-09-30T06:07:55.551929”
}
how should I proceed further? Do I need to call v0.5/consents/hip/on-notify
using this response?