care.security.authorization.specimen_definition module

class SpecimenDefinitionAccess

Bases: AuthorizationHandler

can_list_facility_specimen_definition(user, facility)

Check if the user has permission to view observation definitions in the facility

can_write_facility_specimen_definition(user, facility)

Check if the user has permission to view observation definitions in the facility