@extends('layouts.app') @section('title', 'Triage Queue') @section('content') {{-- Stats --}}
Waiting
{{ $stats['waiting'] }}
Urgent
{{ $stats['urgent'] }}
In Triage
{{ $stats['in_triage'] }}
Triaged (Ready)
{{ $stats['triaged'] }}
| # | Patient | MRN | Age/Sex | Dept | Check-in | Wait Time | Type | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $v->visit_number }} |
{{ $v->patient->full_name ?? '' }} @if($v->patient->allergies && count($v->patient->allergies)) ALLERGY: {{ implode(', ', $v->patient->allergies) }} @endif |
{{ $v->patient->mrn ?? '' }} | {{ $v->patient->age ?? '-' }} / {{ strtoupper(substr($v->patient->gender ?? '', 0, 1)) }} | {{ $v->department->name ?? '-' }} | {{ $v->check_in_at ? $v->check_in_at->format('H:i') : '-' }} | @if($v->check_in_at) @php $wait = $v->check_in_at->diffInMinutes(now()); @endphp {{ $wait }} min @endif | @if($v->status === 'urgent') URGENT @else {{ ucfirst(str_replace('_', ' ', $v->visit_type)) }} @endif | Start Triage |
| No patients waiting for triage. | ||||||||
| Patient | MRN | Vitals | Priority | Triaged by | Time |
|---|---|---|---|---|---|
| {{ $v->patient->full_name ?? '' }} | {{ $v->patient->mrn ?? '' }} | @if($v->triage) BP: {{ $v->triage->blood_pressure_systolic ?? '-' }}/{{ $v->triage->blood_pressure_diastolic ?? '-' }} · T: {{ $v->triage->temperature ?? '-' }}°C · P: {{ $v->triage->pulse ?? '-' }} · SpO2: {{ $v->triage->oxygen_saturation ?? '-' }}% @endif | @if($v->triage) {{ ucfirst($v->triage->priority) }} @endif | {{ $v->triage->recordedBy->name ?? '-' }} | {{ $v->triage->triage_completed_at ? $v->triage->triage_completed_at->format('H:i') : ($v->triage->created_at->format('H:i')) }} |