care.security.authorization.scheduling module

class ScheduleAccess

Bases: AuthorizationHandler

can_write_schedule(resource_obj, user)
can_list_schedule(resource_obj, user)
can_write_practitioner_schedule(obj, user, facility)
can_write_healthcare_service_schedule(obj, user, facility)

Anyone in the managing organization of the healthcare service can write the schedule

can_write_location_schedule(obj, user, facility)
can_read_practitioner_schedule(obj, user, facility)
can_read_healthcare_service_schedule(obj, user, facility)

Anyone in the managing organization of the healthcare service can write the schedule

can_read_location_schedule(obj, user, facility)