Skip to main content

PractitionerCompartment

The PractitionerCompartment validator will redirect every request to the client's corresponding practitioner compartment. If the client doesn't have the Practitioner role, the validator will throw an error.

This validator is intended to validate requests by practitioner clients, such as mobile apps or web apps.

Enable access to DiagnosticReport resources that belong to the authenticated client's practitioner compartment.
{
"client_role": "Practitioner",
"entity_name": "DiagnosticReport",
"operation": "read",
"validator": "PractitionerCompartment",
}