Skip to content

medical_reference — permissions

Namespaced by the registry from the module's get_permissions().

PermissionGatesEndpoints
medical_reference.readSearch/list any reference list; list interactions & contraindications; read a patient's active flagsGET /api/v1/medical_reference/allergies|medications|diseases|surgeries, GET …/interactions, GET …/contraindications, GET /api/v1/medical_reference/patients/{patient_id}/flags
medical_reference.writeCreate/update/deactivate reference items, interactions and contraindicationsPOST/PUT/DELETE on the same six resource paths

Default role mapping:

RolePermissions
adminall (*)
dentistread, write
hygienistread only
assistantread only
receptionistread only

Dentists get write deliberately: recording a new allergy/medication on the fly while taking a medical history is a clinical judgment call, matching patients_clinical's own medical.read/medical.write split for the same category of data.

Frontend slot registrations (searchable name fields, header warning chips) are gated on medical_reference.read — without it the medical history form falls back to plain free-text inputs.