Files
ladill-care/config/care_specialty_modules.php
T
isaaccladandCursor 612e021e85
Deploy Ladill Care / deploy (push) Successful in 41s
Reserve floor queues for clinical staff and deepen specialty forms.
Hospital admins no longer see specialty/queue floor nav; Call next is a full-width button; specialty encounters open module-specific clinical forms instead of the general consultation page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 12:04:05 +00:00

257 lines
10 KiB
PHP

<?php
/**
* Specialty practice modules (Settings → Modules).
* Pro-gated via plans.*.features specialty_modules.
*
* default_on_paid_plans: always on for Pro/Enterprise (sidebar + access).
*
* @return array<string, array<string, mixed>>
*/
return [
'emergency' => [
'label' => 'Emergency',
'description' => 'Emergency department triage, resus, and urgent care queues.',
'department_type' => 'emergency',
'department_name' => 'Emergency',
'queue_name' => 'Emergency',
'queue_prefix' => 'ER',
'nav_label' => 'Emergency',
'queue_keywords' => ['emerg', 'casualty', 'trauma', 'er', 'a&e'],
'roles' => ['doctor', 'nurse', 'receptionist'],
'default_on_paid_plans' => true,
],
'blood_bank' => [
'label' => 'Blood Bank',
'description' => 'Blood products, cross-match requests, and transfusion counters.',
'department_type' => 'blood_bank',
'department_name' => 'Blood Bank',
'queue_name' => 'Blood Bank',
'queue_prefix' => 'BB',
'nav_label' => 'Blood Bank',
'queue_keywords' => ['blood', 'transfusion', 'crossmatch', 'donor'],
'roles' => ['doctor', 'nurse', 'lab_technician', 'receptionist'],
'default_on_paid_plans' => true,
],
'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'],
],
'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'],
],
'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'],
],
'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'],
],
'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'],
],
'cardiology' => [
'label' => 'Cardiology',
'description' => 'Heart clinics, ECG follow-up, and cardiology waiting lists.',
'department_type' => 'cardiology',
'department_name' => 'Cardiology',
'queue_name' => 'Cardiology',
'queue_prefix' => 'CAR',
'nav_label' => 'Cardiology',
'queue_keywords' => ['cardio', 'heart', 'ecg', 'echo'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'psychiatry' => [
'label' => 'Psychiatry',
'description' => 'Mental health consultations and psychiatry clinic queues.',
'department_type' => 'psychiatry',
'department_name' => 'Psychiatry',
'queue_name' => 'Psychiatry',
'queue_prefix' => 'PSY',
'nav_label' => 'Psychiatry',
'queue_keywords' => ['psych', 'mental', 'behaviour'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'pediatrics' => [
'label' => 'Pediatrics',
'description' => 'Child health clinics and pediatric consultation queues.',
'department_type' => 'pediatrics',
'department_name' => 'Pediatrics',
'queue_name' => 'Pediatrics',
'queue_prefix' => 'PED',
'nav_label' => 'Pediatrics',
'queue_keywords' => ['pedia', 'paedia', 'child', 'infant'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'orthopedics' => [
'label' => 'Orthopedics',
'description' => 'Bones, joints, fracture clinics, and orthopedic queues.',
'department_type' => 'orthopedics',
'department_name' => 'Orthopedics',
'queue_name' => 'Orthopedics',
'queue_prefix' => 'ORT',
'nav_label' => 'Orthopedics',
'queue_keywords' => ['ortho', 'fracture', 'bone', 'joint'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'ent' => [
'label' => 'ENT',
'description' => 'Ear, nose, and throat clinics with dedicated queues.',
'department_type' => 'ent',
'department_name' => 'ENT',
'queue_name' => 'ENT',
'queue_prefix' => 'ENT',
'nav_label' => 'ENT',
'queue_keywords' => ['ent', 'ear', 'nose', 'throat', 'otolaryng'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'oncology' => [
'label' => 'Oncology',
'description' => 'Cancer care clinics, chemo day-care, and oncology queues.',
'department_type' => 'oncology',
'department_name' => 'Oncology',
'queue_name' => 'Oncology',
'queue_prefix' => 'ONC',
'nav_label' => 'Oncology',
'queue_keywords' => ['oncol', 'cancer', 'chemo'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'renal' => [
'label' => 'Renal Care',
'description' => 'Dialysis, nephrology clinics, and renal care queues.',
'department_type' => 'renal',
'department_name' => 'Renal Care',
'queue_name' => 'Renal Care',
'queue_prefix' => 'REN',
'nav_label' => 'Renal Care',
'queue_keywords' => ['renal', 'dialysis', 'nephro', 'kidney'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'surgery' => [
'label' => 'Surgery',
'description' => 'Surgical OPD, pre-op assessment, and theatre-linked queues.',
'department_type' => 'surgery',
'department_name' => 'Surgery',
'queue_name' => 'Surgery',
'queue_prefix' => 'SUR',
'nav_label' => 'Surgery',
'queue_keywords' => ['surg', 'theatre', 'operat', 'pre-op'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'vaccination' => [
'label' => 'Vaccination & Immunization',
'description' => 'Immunization clinics, EPI schedules, and vaccine queues.',
'department_type' => 'vaccination',
'department_name' => 'Vaccination',
'queue_name' => 'Vaccination',
'queue_prefix' => 'VAX',
'nav_label' => 'Vaccination',
'queue_keywords' => ['vaccin', 'immun', 'epi', 'injection'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'pathology' => [
'label' => 'Pathology',
'description' => 'Histopathology, cytology, and pathology service counters.',
'department_type' => 'pathology',
'department_name' => 'Pathology',
'queue_name' => 'Pathology',
'queue_prefix' => 'PATH',
'nav_label' => 'Pathology',
'queue_keywords' => ['pathol', 'histo', 'cytol', 'biopsy'],
'roles' => ['doctor', 'lab_technician', 'receptionist'],
],
'infusion' => [
'label' => 'Infusion Centre',
'description' => 'IV therapy, infusion chairs, and day-care infusion queues.',
'department_type' => 'infusion',
'department_name' => 'Infusion Centre',
'queue_name' => 'Infusion',
'queue_prefix' => 'INF',
'nav_label' => 'Infusion',
'queue_keywords' => ['infusion', 'iv', 'drip', 'day care'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'dermatology' => [
'label' => 'Dermatology',
'description' => 'Skin clinics, dermatology procedures, and specialty queues.',
'department_type' => 'dermatology',
'department_name' => 'Dermatology',
'queue_name' => 'Dermatology',
'queue_prefix' => 'DER',
'nav_label' => 'Dermatology',
'queue_keywords' => ['derma', 'skin', 'rash'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'podiatry' => [
'label' => 'Podiatry',
'description' => 'Foot clinics, diabetic foot care, and podiatry queues.',
'department_type' => 'podiatry',
'department_name' => 'Podiatry',
'queue_name' => 'Podiatry',
'queue_prefix' => 'POD',
'nav_label' => 'Podiatry',
'queue_keywords' => ['podiat', 'foot', 'diabetic foot'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'fertility' => [
'label' => 'Fertility',
'description' => 'Fertility / IVF clinics and reproductive health queues.',
'department_type' => 'fertility',
'department_name' => 'Fertility',
'queue_name' => 'Fertility',
'queue_prefix' => 'FER',
'nav_label' => 'Fertility',
'queue_keywords' => ['fertil', 'ivf', 'reproduct'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
'child_welfare' => [
'label' => 'Child Welfare Clinic',
'description' => 'Well-child visits, growth monitoring, and CWC queues.',
'department_type' => 'child_welfare',
'department_name' => 'Child Welfare Clinic',
'queue_name' => 'Child Welfare',
'queue_prefix' => 'CWC',
'nav_label' => 'Child Welfare',
'queue_keywords' => ['cwc', 'child welfare', 'well baby', 'growth'],
'roles' => ['doctor', 'nurse', 'receptionist'],
],
];