@extends('layouts.app') @section('title', 'Dental Queue') @section('content')
{{-- PAGE HEADER --}} Completed Patients {{-- STATS --}} {{-- ALERTS --}} @if(session('success'))
{{ session('success') }}
@endif {{-- EMPTY STATE --}} @if($patients->isEmpty()) @else {{-- QUEUE TABLE --}}
@foreach($patients as $index => $patient) @endforeach
# Patient Visit Triage Clinical Notes Queued Actions
{{ $index + 1 }}
{{ $patient->first_name }} {{ $patient->last_name }}
{{ $patient->patient_no }} • {{ $patient->gender }}
{{ $patient->visit_no }}
{{ ucfirst($patient->visit_type) }}
Temp: {{ $patient->temperature ?? '-' }}°C
Pulse: {{ $patient->pulse_rate ?? '-' }}
SPO₂: {{ $patient->spo2 ?? '-' }}%
@php $triage = strtolower( $patient->triage_category ?? 'green' ); @endphp {{ strtoupper($triage) }}
Diagnosis:
{{ $patient->provisional_diagnosis ?? 'N/A' }}

Impression:
{{ $patient->clinical_impression ?? 'N/A' }}
{{ \Carbon\Carbon::parse( $patient->routed_at )->diffForHumans() }} Open
@endif
@endsection