{{ $alerts }} escalation alert{{ $alerts === 1 ? '' : 's' }} in the last 24 hours @can('kardex.view') Kardex board @endcan
@if (request()->filled('patient_id')) @endif
@if ($term !== '' || $showAlertsOnly || request()->filled('patient_id')) Reset @endif
@if ($showAlertsOnly)
Showing only observations that scored for escalation — inform nurse in charge and above.
@endif @if ($observations->isEmpty()) @if ($term !== '' || $showAlertsOnly || request()->filled('patient_id')) Nothing matches that filter. Charts appear here as soon as vitals are recorded on a kardex. @else The first set of vitals ever charted will appear here — open a kardex to record one. @endif @else
@foreach ($observations as $obs) @php $bed = $obs->admission?->bed; $rowTint = match ($obs->escalation) { 'emergency_team' => 'bg-red-50/60', 'doctor' => 'bg-orange-50/40', default => '', }; @endphp @endforeach
Observed Patient Location ACVPU RR SpO₂ BP Pulse Temp Pain EWS Escalation
{{ $obs->observed_at?->format('d M H:i') }}
{{ $obs->recordedBy?->name ?? '—' }}
{{ $obs->patient?->full_name ?? '—' }}
{{ $obs->patient?->medical_record_number }}
@if ($bed) Bed {{ $bed->bed_number }} @if ($bed->room) · Room {{ $bed->room->room_number }} @endif @if ($bed->room?->ward?->name) · {{ $bed->room->ward->name }} @endif @else {{ $obs->admission?->admission_no ?? '—' }} @endif {{ $obs->respiratory_rate }}
{{ $obs->spo2 }}%
@if ($obs->oxygen_delivery !== 'room_air')
{{ $obs->oxygen_label }}
@endif
{{ $obs->systolic }}/{{ $obs->diastolic }} {{ $obs->heart_rate }} {{ $obs->temperature }}° {{ $obs->pain_score !== null ? $obs->pain_score.'/10' : '—' }} {{ $obs->early_warning_score }}
{{ $obs->ews_band_label }}
@if ($obs->admission) Kardex @endif
{{ $observations->links() }}
@endif