Hello Team,
Data Request and Transfer flow is not started by gateway after granting access from PHR App. Here is payload for /v0.5/consents/hip/notify :
{
"requestId": "be0f2c9d-7838-46be-b860-96bc06fd8ebc",
"timestamp": "2022-11-19T13:29:19.964931",
"notification": {
"status": "GRANTED",
"consentId": "e5656a41-2326-4969-b2b8-7291675f0fa8",
"consentDetail": {
"consentId": "e5656a41-2326-4969-b2b8-7291675f0fa8",
"createdAt": "2022-11-19T13:29:19.839284",
"patient": {
"id": "hiteshzala1996@sbx"
},
"careContexts": [
{
"patientReference": "TEST-002",
"careContextReference": "DEMO-26-002"
}
],
"hip": {
"id": "HIP7M",
"name": "7Mantra"
},
"consentManager": {
"id": "sbx"
},
"hiTypes": [
"DischargeSummary"
],
"permission": {
"accessMode": "VIEW",
"dateRange": {
"from": "2022-11-19T13:27:02.186",
"to": "2022-11-19T13:27:02.186"
},
"dataEraseAt": "2022-11-20T13:27:02.186",
"frequency": {
"unit": "HOUR",
"value": 1,
"repeats": 0
}
}
},
"signature": "Yp/jlf2U3AuWTAkPWYmQq1CzJDzM2fj9mkf8VEyVVqb6fyCRkctOS9wAVrHNjt4QSFOapv5SQw8IQj+hh4jpUP/rhhhkqTvX2rwoWiXpc5pk19EVS8r1/Qesxz2vmwwI00xQViOllaYwcp4hCVQzuotgrr5EcwoLXUs9vpWTHdVHixMxWbuC40VeZHRHSGNW93PdWzWpogs/NXOpsV6GuTx3ZYHm7+A/vOX4fwD5KgSoqNHJWOHF1f0KPiji9jMa71Mj+JF6EeNVYx3ILE6zXLuELbkhugJ09840kGmHi3scBNe1QJGjTz1UYLqYhIg8pb7qcsRPcv6XBYRa5UR52A==",
"grantAcknowledgement": ""
}
}
We are getting 202 Request accepted for following payload on callback api /v0.5/consents/hip/on-notify :
{
"requestId": "5f7a535d-a3fd-416b-b069-c97d021fbacd",
"timestamp": "2022-11-19T13:29:20.346842",
"acknowledgement": {
"status": "OK",
"consentId": "e5656a41-2326-4969-b2b8-7291675f0fa8"
},
"resp": {
"requestId": "be0f2c9d-7838-46be-b860-96bc06fd8ebc"
}
}
Please help if there is anything wrong.
Thank you.
Regards,
Daivat Soni.