getAllActive(); $settingModel = new Setting(); $equipmentsJson = $settingModel->get('equipment_types'); $equipments = $equipmentsJson ? json_decode($equipmentsJson, true) : [ ['id' => 'wheelchair', 'name' => 'รถนั่ง (Wheelchair)', 'icon' => 'fa-wheelchair'], ['id' => 'stretcher', 'name' => 'รถนอน (Stretcher)', 'icon' => 'fa-bed'], ['id' => 'bed', 'name' => 'เตียง (Bed)', 'icon' => 'fa-bed-pulse'] ]; $prioritiesJson = $settingModel->get('job_priorities'); $priorities = $prioritiesJson ? json_decode($prioritiesJson, true) : [ ['id' => 'normal', 'name' => 'ทั่วไป (Normal)', 'color' => 'blue'], ['id' => 'urgent', 'name' => 'ด่วน (Urgency)', 'color' => 'amber'], ['id' => 'emergency', 'name' => 'ฉุกเฉิน (Emergency)', 'color' => 'red'] ]; // Get fixed origin from URL $fixed_dept_id = isset($_GET['dept_id']) ? (int)$_GET['dept_id'] : 0; $fixed_dept = null; if ($fixed_dept_id > 0) { foreach ($departments as $dept) { if ($dept['id'] == $fixed_dept_id) { $fixed_dept = $dept; break; } } } ?>

เรียกรถเข็น / เวรเปลด่วน

📍 จุดรับผู้ป่วย:

⚠️ ไม่พบจุดรับผู้ป่วย กรุณาสแกน QR Code ใหม่อีกครั้ง

1. ข้อมูลผู้ป่วย

* กรุณากรอกชื่อ หรือ ถ่ายรูปอย่างใดอย่างหนึ่ง

2. ปลายทางและอุปกรณ์

$eq): ?>