51 lines
1.9 KiB
PHP
51 lines
1.9 KiB
PHP
<?php
|
|
/**
|
|
* Thai Traditional Massage Queue Management System (TTMQMS)
|
|
* Enterprise Production Application Configuration
|
|
*
|
|
* @package App\Config
|
|
* @version 2.0.0 (Enterprise Ready)
|
|
*/
|
|
|
|
return [
|
|
'name' => 'Thai Traditional Massage Queue Management System (TTMQMS)',
|
|
'short_name' => 'TTMQMS Enterprise',
|
|
'env' => getenv('APP_ENV') ?: 'production',
|
|
'debug' => getenv('APP_DEBUG') === 'true' ?: false,
|
|
'url' => getenv('APP_URL') ?: 'https://ttmqms.hospital.local',
|
|
'timezone' => 'Asia/Bangkok',
|
|
'locale' => 'th',
|
|
'fallback_locale' => 'en',
|
|
|
|
// Multi-Branch & Multi-Clinic Configuration
|
|
'default_branch_id' => getenv('DEFAULT_BRANCH_ID') ?: 1,
|
|
'multi_branch_enabled' => true,
|
|
|
|
// Clinical & Massage Settings
|
|
'clinical' => [
|
|
'default_service_duration' => 60, // นาที
|
|
'max_daily_therapist_minutes' => 480, // 8 ชั่วโมงงานสูงสุดต่อวันตามมาตรฐานอาชีวอนามัย
|
|
'require_soap_note' => true,
|
|
'require_digital_signature' => true,
|
|
'require_vas_pain_score' => true,
|
|
'require_rom_assessment' => true,
|
|
],
|
|
|
|
// Smart Queue AI & Workload Balancer
|
|
'smart_queue' => [
|
|
'enable_ai_estimator' => true,
|
|
'workload_balance_strategy' => 'lowest_score_first', // lowest_score_first | round_robin | specialization_match
|
|
'buffer_between_queues_mins' => 15, // เวลาทำความสะอาดและเตรียมเตียง
|
|
'emergency_priority_multiplier' => 3.0,
|
|
'vip_priority_multiplier' => 1.5,
|
|
],
|
|
|
|
// TV Queue Display & TTS Audio
|
|
'tv_display' => [
|
|
'refresh_interval_ms' => 5000, // 5 วินาที
|
|
'voice_announcement' => true,
|
|
'voice_language' => 'TH_EN', // TH, EN, TH_EN
|
|
'speech_rate' => 0.9,
|
|
],
|
|
];
|