Add Lab and Blood Bank manager roles with admin UIs.
Deploy Ladill Care / deploy (push) Successful in 46s

Give lab_manager catalog/ops admin access and blood_bank_manager a branch-level stock register plus specialty admin surface, while keeping technicians on clinical queues.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-19 14:18:47 +00:00
co-authored by Cursor
parent 64e3f75159
commit 5d9d333170
26 changed files with 869 additions and 17 deletions
+2
View File
@@ -9,7 +9,9 @@ return [
'doctor' => 'Doctor',
'nurse' => 'Nurse',
'lab_technician' => 'Laboratory Technician',
'lab_manager' => 'Laboratory Manager',
'pharmacist' => 'Pharmacist',
'blood_bank_manager' => 'Blood Bank Manager',
'cashier' => 'Cashier',
'accountant' => 'Accountant',
],
+5 -2
View File
@@ -4,12 +4,15 @@
* Specialty practice modules (Settings Modules).
* Pro-gated via plans.*.features specialty_modules.
*
* Access tiers (RBAC via Care member roles do not invent new roles):
* Access tiers (RBAC via Care member roles):
* - general: broad day-to-day access for listed roles (GPs = doctor without specialty desk)
* - limited: GPs + nurses (and listed roles); desk specialists only when specialty keywords match
* - restricted: specialist doctors (department / specialty keywords) + optional support_roles;
* GPs use view_roles / refer_roles; desk specialists only see matching modules
*
* Prefer existing clinical role slugs on allowlists. Dedicated managers (e.g. blood_bank_manager,
* lab_manager) are intentional product roles add them to the relevant module roles lists.
*
* Desk specialists (doctor whose practitioner specialty matches specialist_keywords, or who is
* assigned to the module department) only see modules relevant to their work non-matching
* modules are access "none" (hidden from sidebar). Nurses / receptionists keep role allowlists.
@@ -44,7 +47,7 @@ return [
'icon' => 'droplet',
'queue_keywords' => ['blood', 'transfusion', 'crossmatch', 'donor'],
'access' => 'general',
'roles' => ['lab_technician', 'nurse', 'doctor', 'receptionist'],
'roles' => ['blood_bank_manager', 'lab_technician', 'nurse', 'doctor', 'receptionist'],
'default_on_paid_plans' => true,
],
'dentistry' => [