0 ? qh_fetch_doctor($selectedDoctorId) : null; $doctorQueue = $selectedDoctorId > 0 ? qh_fetch_tickets(['ready_for_doctor', 'called', 'in_progress'], $selectedDoctorId, 20) : []; qh_page_start( 'doctor', qh_t('Doctor queue', 'طابور الطبيب'), qh_t('Doctor workspace.', 'مساحة عمل الطبيب.') ); ?>
= qh_h(qh_t('Call the next patient and manage room flow.', 'نادِ المريض التالي وأدر حركة الغرفة.')) ?>
= qh_h(qh_t('Please select a doctor to view the queue.', 'يرجى اختيار طبيب لعرض الطابور.')) ?>
= qh_h(qh_t('No patients waiting for this room.', 'لا يوجد مرضى في انتظار هذه الغرفة.')) ?>
| = qh_h(qh_t('Ticket', 'التذكرة')) ?> | = qh_h(qh_t('Patient', 'المريض')) ?> | = qh_h(qh_t('Status', 'الحالة')) ?> | = qh_h(qh_t('Action', 'الإجراء')) ?> |
|---|---|---|---|
| = qh_h($ticket['ticket_number']) ?> | = qh_h($ticket['patient_name']) ?> | = qh_status_badge($ticket['status']) ?> |