Embed Ladill Queue on role pages and add specialty modules under Settings.
Deploy Ladill Care / deploy (push) Successful in 53s

Remove the standalone Service Queues nav so call-next/now-serving lives on clinical queue, appointments, pharmacy, lab, and specialty surfaces; Pro orgs can activate dentistry and related modules with branch departments and queue stubs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-17 15:55:47 +00:00
co-authored by Cursor
parent e0a7a64d38
commit dec282d25d
30 changed files with 1552 additions and 35 deletions
+66
View File
@@ -23,9 +23,73 @@ return [
'pharmacy' => 'Pharmacy',
'maternity' => 'Maternity',
'dental' => 'Dental',
'ophthalmology' => 'Ophthalmology / Eye care',
'physiotherapy' => 'Physiotherapy',
],
/*
| Specialty practice modules (Settings Modules).
| Pro-gated via plans.*.features specialty_modules expansions beyond core
| outpatient/lab/pharmacy belong on paid plans, matching queue_integration.
*/
'specialty_modules' => [
'dentistry' => [
'label' => 'Dentistry',
'description' => 'Dental chairs, oral consults, and dentistry waiting lists.',
'department_type' => 'dental',
'department_name' => 'Dentistry',
'queue_name' => 'Dentistry',
'queue_prefix' => 'DEN',
'nav_label' => 'Dentistry',
'queue_keywords' => ['dent', 'dental', 'oral'],
'roles' => ['doctor', 'nurse', 'receptionist', 'hospital_admin', 'super_admin'],
],
'ophthalmology' => [
'label' => 'Eye care',
'description' => 'Ophthalmology and optometry clinics with dedicated queues.',
'department_type' => 'ophthalmology',
'department_name' => 'Eye care',
'queue_name' => 'Eye care',
'queue_prefix' => 'EYE',
'nav_label' => 'Eye care',
'queue_keywords' => ['eye', 'ophthal', 'optom'],
'roles' => ['doctor', 'nurse', 'receptionist', 'hospital_admin', 'super_admin'],
],
'physiotherapy' => [
'label' => 'Physiotherapy',
'description' => 'Rehab sessions and physiotherapy treatment queues.',
'department_type' => 'physiotherapy',
'department_name' => 'Physiotherapy',
'queue_name' => 'Physiotherapy',
'queue_prefix' => 'PHY',
'nav_label' => 'Physiotherapy',
'queue_keywords' => ['physio', 'rehab', 'therapy'],
'roles' => ['doctor', 'nurse', 'receptionist', 'hospital_admin', 'super_admin'],
],
'maternity' => [
'label' => 'Maternity / Antenatal',
'description' => 'Antenatal clinics, maternity wards, and related queues.',
'department_type' => 'maternity',
'department_name' => 'Maternity',
'queue_name' => 'Maternity',
'queue_prefix' => 'MAT',
'nav_label' => 'Maternity',
'queue_keywords' => ['matern', 'antenatal', 'obstetric'],
'roles' => ['doctor', 'nurse', 'receptionist', 'hospital_admin', 'super_admin'],
],
'radiology' => [
'label' => 'Radiology',
'description' => 'Imaging requests and radiology service counters.',
'department_type' => 'radiology',
'department_name' => 'Radiology',
'queue_name' => 'Radiology',
'queue_prefix' => 'RAD',
'nav_label' => 'Radiology',
'queue_keywords' => ['radio', 'imaging', 'x-ray', 'xray', 'ultrasound', 'ct', 'mri'],
'roles' => ['doctor', 'lab_technician', 'receptionist', 'hospital_admin', 'super_admin'],
],
],
'audit_actions' => [
'organization.created' => 'Organization created',
'organization.updated' => 'Organization updated',
@@ -288,6 +352,7 @@ return [
'billing',
'queue_integration',
'clinical_devices',
'specialty_modules',
],
],
'enterprise' => [
@@ -303,6 +368,7 @@ return [
'billing',
'queue_integration',
'clinical_devices',
'specialty_modules',
// KD-18: org-level multi-patient assessment/outcome analytics
'assessment_analytics',
],