When approving a locker request, the resulting auto-approval policy isn’t approving subsequent consent requests from the locker. Further information is provided below:
Auto approval data:
"isApplicableForAllHIPs": true, "includedSources": [ { "period": { "from": "2023-04-11T09:50:34.626", "to": "2023-04-13T03:00:00.000" }, "hiTypes": [ "Prescription", "DiagnosticReport", "OPConsultation", "DischargeSummary", "ImmunizationRecord", "HealthDocumentRecord", "WellnessRecord" ], "purpose": { "code": "PATRQT", "text": "Self Requested", "refUri": "" } } ], "hiu": { "name": "test-ninto-locker", "id": "test-ninto-locker" } }, "autoApprovalId": "af378b53-8d82-4fdc-a927-6fa0c2c518e4", "healthId": "ninto2test@sbx", "enabled": true,
Consent request body which isn’t getting approved:
{"requestId":"f25e15ce-85df-4226-8488-9d9bc77536cd","timestamp":"2023-04-12T04:21:05.843Z","consent":{"purpose":{"text":"Self Requested","code":"PATRQT"},"patient":{"id":"ninto2test@sbx"},"hiu":{"id":"test-ninto-locker"},"hip":{"id":"NINTO-TEST-CLINIC"},"requester":{"name":"test-ninto-locker"},"hiTypes":["OPConsultation","Prescription","DischargeSummary","DiagnosticReport","ImmunizationRecord","HealthDocumentRecord","WellnessRecord"],"permission":{"accessMode":"STORE","dateRange":{"from":"2023-04-11T09:50:34.626","to":"2023-04-13T03:00:00.000"},"dataEraseAt":"2023-04-13T03:00:00.000","frequency":{"unit":"HOUR","value":1,"repeats":1}}}}
Please help us navigate through this issue.