@extends('layouts.app') @section('title', 'OPD Token & Consultation Queue') @section('content')

Outpatient Department (OPD) & Token Queue

Live queue management, consultation routing, and triage vitals recording

@forelse($visits as $v) @empty @endforelse
Token # Visit Number Patient Details Consultant Doctor Department / Room Vitals Status Queue Status Actions
{{ $v->token_number }} {{ $v->visit_number }}
{{ $v->patient->full_name }}
{{ $v->patient->patient_id }} • {{ $v->patient->age }}Y / {{ $v->patient->gender }}
{{ $v->doctor->full_name }}
{{ $v->department->name }}
{{ $v->doctor->opd_room_number }}
@if($v->vitals->count() > 0) @php $vit = $v->vitals->last(); @endphp BP: {{ $vit->systolic_bp }}/{{ $vit->diastolic_bp }} | Pulse: {{ $vit->pulse_rate }} @else @endif {{ str_replace('_', ' ', $v->queue_status) }} Consult Slip
No patients currently queued in OPD for today.

Record Triage Vitals -

@csrf
@endsection