@Shubhanshu_S @IntegrationSupport @kiranma @Ramandeep1
I am following this flow after consent request is granted.
I get /v0.5/consents/hip/notify call from gateway once Consent is granted and I send https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify as an acknowledgement. I am supposed to get /v0.5/health-information/hip/request after on-notify is successful, which I am not receiving it. Can anyone please help him with it. It’s urgent.
Client Id: SBX_002117
notify call body :-
{
“notification”: {
“consentDetail”: {
“consentId”: “81384a12-6b7e-4349-bb8a-a5babcbaba0f”,
“createdAt”: “2023-06-01T05:04:14.615270446”,
“purpose”: {
“text”: “Public Health”,
“code”: “PUBHLTH”,
“refUri”: null
},
“patient”: {
“id”: “ramyaravindra@sbx”
},
“consentManager”: {
“id”: “sbx”
},
“hip”: {
“id”: “IN2910000178_2”,
“name”: “Sanjeevini Hospital”
},
“hiTypes”: [
“WellnessRecord”
],
“permission”: {
“accessMode”: “VIEW”,
“dateRange”: {
“from”: “2023-06-01T05:03:15.738”,
“to”: “2023-06-01T05:03:15.738”
},
“dataEraseAt”: “2023-06-02T05:03:15.739”,
“frequency”: {
“unit”: “HOUR”,
“value”: 1,
“repeats”: 0
}
},
“careContexts”: [
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “343434”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “202020”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “Fever”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “Leg Fracture”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “12345”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “202020”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “001”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “002”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “12345”
},
{
“patientReference”: “PMH-PUID-002”,
“careContextReference”: “210”
}
]
},
“status”: “GRANTED”,
“signature”: “qH7Q1c37sVpFgJM5sIsSc8K6R3nUPE0CxDzG5KpncasHo5vD9R1JNQrLCJMjPARX2ht/Bb8pqftRxHOMVRQ8lshKzaM32Tw85ywfLy5IJCAZnUuNzYeP91DsDDnRXGzAmfZc6EnpOQqw9ZM4At5Ps1G0PqhQ9sAUlRalLiePV5xq8nT2qD84PrWjCJ5YciWymbBzTE2qAkgEEpa9tDK3tGJqRPI5Evh/MLUqyIG9hW3f8t3B30mJDbYaqaVtMrfcyrbvEsmjx2p9ujbp6l8vVHbsLhDB7zg9snKlFaGTd3FuP7i5F+lvrcDojAhpKYPj39JN6Ka0L6b5E2MXV02iuA==”,
“consentId”: “81384a12-6b7e-4349-bb8a-a5babcbaba0f”,
“grantAcknowledgement”: false
},
“requestId”: “3f2605c7-0c31-4520-9954-8a20fcb7b524”,
“timestamp”: “2023-06-01T05:04:14.673344143”
}
on-notify body:-
{
“requestId”: “{{$guid}}”,
“timestamp”: “{{timestamp}}”,
“acknowledgement”: [
{
“status”: “OK”,
“consentId”: “81384a12-6b7e-4349-bb8a-a5babcbaba0f”
}
],
“error”: {
“code”: 1000,
“message”: “string”
},
“resp”: {
“requestId”: “3f2605c7-0c31-4520-9954-8a20fcb7b524”
}
}