Access refusal codes
For: integrators and operators. Every code the access evaluator refuses
a request under, with the status the caller receives. A 403 names its code
in the problem’s detail; a 404 answers as if the data did not exist and
names nothing. A refused-confidentiality answers 404 instead at a level
the access policy conceals. The access log records the code either way. What each step
decides is on How FerroEHR decides access.
| Code | Answer |
|---|---|
refused-opt-out | 404 |
refused-restricted | 404 |
refused-consent-denied | 403 |
refused-policy-denied | 403 |
refused-sensitivity | 403 |
refused-confidentiality | 403 |
refused-no-care-relationship | 403 |
refused-outside-episode | 403 |
refused-purpose-missing | 403 |
refused-reason-missing | 403 |
refused-consent-required | 403 |
refused-not-subject | 403 |
refused-not-represented | 403 |
refused-consent-reference-missing | 403 |
refused-excluded | 403 |
refused-conflict | 403 |