Files
ladill-care/config/care.php
T
isaaccladandCursor 22646dfb62
Deploy Ladill Care / deploy (push) Successful in 1m46s
Add Care Enterprise per-branch billing and Paystack prepaid plans.
Mirrors Queue with GHS 499/branch Enterprise and 6/12/24 month Paystack checkout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 01:55:38 +00:00

242 lines
7.5 KiB
PHP

<?php
return [
'roles' => [
'super_admin' => 'Super Administrator',
'hospital_admin' => 'Hospital Administrator',
'receptionist' => 'Receptionist',
'doctor' => 'Doctor',
'nurse' => 'Nurse',
'lab_technician' => 'Laboratory Technician',
'pharmacist' => 'Pharmacist',
'cashier' => 'Cashier',
'accountant' => 'Accountant',
],
'department_types' => [
'general' => 'General',
'outpatient' => 'Outpatient',
'emergency' => 'Emergency',
'laboratory' => 'Laboratory',
'radiology' => 'Radiology',
'pharmacy' => 'Pharmacy',
'maternity' => 'Maternity',
'dental' => 'Dental',
'physiotherapy' => 'Physiotherapy',
],
'audit_actions' => [
'organization.created' => 'Organization created',
'organization.updated' => 'Organization updated',
'branch.created' => 'Branch created',
'branch.updated' => 'Branch updated',
'department.created' => 'Department created',
'department.updated' => 'Department updated',
'department.deleted' => 'Department deleted',
'member.created' => 'Member added',
'member.updated' => 'Member updated',
'member.deleted' => 'Member removed',
'patient.created' => 'Patient registered',
'patient.updated' => 'Patient record updated',
'patient.deleted' => 'Patient record archived',
'appointment.created' => 'Appointment booked',
'appointment.walk_in' => 'Walk-in registered',
'appointment.checked_in' => 'Patient checked in',
'appointment.waiting' => 'Patient added to queue',
'appointment.in_consultation' => 'Consultation started',
'appointment.completed' => 'Appointment completed',
'appointment.cancelled' => 'Appointment cancelled',
'appointment.no_show' => 'Patient marked no-show',
'visit.checked_in' => 'Visit opened',
'visit.completed' => 'Visit completed',
'consultation.started' => 'Consultation started',
'consultation.updated' => 'Consultation updated',
'consultation.completed' => 'Consultation completed',
'investigation.requested' => 'Investigation requested',
'investigation.sample_collected' => 'Sample collected',
'investigation.in_progress' => 'Investigation in progress',
'investigation.results_entered' => 'Investigation results entered',
'investigation.approved' => 'Investigation results approved',
'investigation.delivered' => 'Investigation results delivered',
'investigation.cancelled' => 'Investigation cancelled',
'investigation_type.created' => 'Investigation type created',
'investigation_type.updated' => 'Investigation type updated',
'prescription.created' => 'Prescription created',
'prescription.updated' => 'Prescription updated',
'prescription.activated' => 'Prescription activated',
'prescription.dispensed' => 'Prescription dispensed',
'prescription.cancelled' => 'Prescription cancelled',
'bill.created' => 'Bill created',
'bill.updated' => 'Bill updated',
'bill.line_item_added' => 'Bill line item added',
'bill.voided' => 'Bill voided',
'payment.recorded' => 'Payment recorded',
'drug.created' => 'Drug added',
'drug.updated' => 'Drug updated',
'drug.batch_received' => 'Drug stock received',
],
'appointment_statuses' => [
'scheduled' => 'Scheduled',
'checked_in' => 'Checked in',
'waiting' => 'Waiting',
'in_consultation' => 'In consultation',
'completed' => 'Completed',
'cancelled' => 'Cancelled',
'no_show' => 'No show',
],
'visit_statuses' => [
'open' => 'Open',
'in_progress' => 'In progress',
'completed' => 'Completed',
],
'consultation_statuses' => [
'draft' => 'Draft',
'completed' => 'Completed',
],
'investigation_categories' => [
'blood' => 'Blood',
'urine' => 'Urine',
'stool' => 'Stool',
'xray' => 'X-Ray',
'ultrasound' => 'Ultrasound',
'ct' => 'CT Scan',
'mri' => 'MRI',
'ecg' => 'ECG',
'custom' => 'Custom',
],
'investigation_statuses' => [
'pending' => 'Pending',
'sample_collected' => 'Sample collected',
'in_progress' => 'In progress',
'awaiting_review' => 'Awaiting review',
'completed' => 'Completed',
'delivered' => 'Delivered',
'cancelled' => 'Cancelled',
],
'prescription_statuses' => [
'draft' => 'Draft',
'active' => 'Active',
'dispensed' => 'Dispensed',
'cancelled' => 'Cancelled',
],
'medication_routes' => [
'oral' => 'Oral',
'topical' => 'Topical',
'injection' => 'Injection',
'inhalation' => 'Inhalation',
'sublingual' => 'Sublingual',
'rectal' => 'Rectal',
'other' => 'Other',
],
'genders' => [
'male' => 'Male',
'female' => 'Female',
'other' => 'Other',
],
'allergy_severities' => [
'mild' => 'Mild',
'moderate' => 'Moderate',
'severe' => 'Severe',
'unknown' => 'Unknown',
],
'document_types' => [
'id_card' => 'ID card',
'insurance_card' => 'Insurance card',
'lab_report' => 'Lab report',
'referral' => 'Referral letter',
'other' => 'Other',
],
'patient_number' => [
'prefix' => env('CARE_PATIENT_NUMBER_PREFIX', 'LC'),
],
'invoice_number' => [
'prefix' => env('CARE_INVOICE_PREFIX', 'INV'),
],
'billing' => [
'consultation_fee_minor' => (int) env('CARE_CONSULTATION_FEE_MINOR', 5000),
'currency' => env('CARE_CURRENCY', 'GHS'),
],
'bill_statuses' => [
'draft' => 'Draft',
'open' => 'Open',
'partial' => 'Partially paid',
'paid' => 'Paid',
'void' => 'Void',
],
'bill_line_types' => [
'consultation' => 'Consultation',
'lab' => 'Laboratory',
'imaging' => 'Imaging',
'procedure' => 'Procedure',
'pharmacy' => 'Pharmacy',
'nursing' => 'Nursing',
'misc' => 'Miscellaneous',
],
'payment_methods' => [
'cash' => 'Cash',
'momo' => 'Mobile Money',
'card' => 'Card',
'other' => 'Other',
],
'report_types' => [
'patients' => 'Patients',
'appointments' => 'Appointments',
'laboratory' => 'Laboratory',
'finance' => 'Finance',
'clinical' => 'Clinical trends',
],
'plans' => [
'free' => [
'label' => 'Free',
'price_minor' => 0,
'max_branches' => 1,
],
'pro' => [
'label' => 'Pro',
'price_minor' => (int) env('CARE_PRO_PRICE_MINOR', 19900),
'max_branches' => null,
],
'enterprise' => [
'label' => 'Enterprise',
'price_minor_per_branch' => (int) env('CARE_ENTERPRISE_PRICE_PER_BRANCH_MINOR', 49900),
'max_branches' => null,
],
],
'enterprise' => [
'min_branches' => (int) env('CARE_ENTERPRISE_MIN_BRANCHES', 2),
],
'prepaid_months' => [6, 12, 24],
'pro' => [
'grace_days' => (int) env('CARE_PRO_GRACE_DAYS', 3),
'period_days' => (int) env('CARE_PRO_PERIOD_DAYS', 30),
],
'queue' => [
'api_url' => env('QUEUE_API_URL', 'https://queue.ladill.com/api/v1'),
'api_key' => env('QUEUE_API_KEY_CARE'),
],
];