Expand specialty modules; pin Emergency and Blood Bank on Pro.
Deploy Ladill Care / deploy (push) Successful in 1m37s
Deploy Ladill Care / deploy (push) Successful in 1m37s
Add Cardiology through Child Welfare to the specialty catalog, keep Emergency and Blood Bank always enabled on Pro/Enterprise sidebars, and generate matching demo specialty doctors. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+18
-57
@@ -25,70 +25,31 @@ return [
|
||||
'dental' => 'Dental',
|
||||
'ophthalmology' => 'Ophthalmology / Eye care',
|
||||
'physiotherapy' => 'Physiotherapy',
|
||||
'blood_bank' => 'Blood Bank',
|
||||
'cardiology' => 'Cardiology',
|
||||
'psychiatry' => 'Psychiatry',
|
||||
'pediatrics' => 'Pediatrics',
|
||||
'orthopedics' => 'Orthopedics',
|
||||
'ent' => 'ENT',
|
||||
'oncology' => 'Oncology',
|
||||
'renal' => 'Renal Care',
|
||||
'surgery' => 'Surgery',
|
||||
'vaccination' => 'Vaccination & Immunization',
|
||||
'pathology' => 'Pathology',
|
||||
'infusion' => 'Infusion Centre',
|
||||
'dermatology' => 'Dermatology',
|
||||
'podiatry' => 'Podiatry',
|
||||
'fertility' => 'Fertility',
|
||||
'child_welfare' => 'Child Welfare Clinic',
|
||||
],
|
||||
|
||||
/*
|
||||
| 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.
|
||||
| See config/care_specialty_modules.php (default_on_paid_plans for Emergency / Blood Bank).
|
||||
*/
|
||||
'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'],
|
||||
],
|
||||
],
|
||||
'specialty_modules' => require __DIR__.'/care_specialty_modules.php',
|
||||
|
||||
'audit_actions' => [
|
||||
'organization.created' => 'Organization created',
|
||||
|
||||
Reference in New Issue
Block a user