@extends('layouts.app') @section('title', 'Patient Visits') @section('content') @include('partials._queue-routing-helper')
Total Today
{{ $stats['total'] }}
Waiting
{{ $stats['waiting'] }}
Triage
{{ $stats['in_triage'] }}
Consulting
{{ $stats['in_consultation'] }}
Completed
{{ $stats['completed'] }}
| Visit # | Patient | Type | Department | Clinician | Triage | Payer | Check-in | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $v->visit_number }} |
{{ $v->patient->full_name ?? '' }} {{ $v->patient->mrn ?? '' }} ยท {{ $v->patient->phone ?? '' }} |
{{ $v->visit_type }} | {{ $v->department->name ?? '-' }} | {{ $v->clinician->name ?? '-' }} | @if($v->triage) {{ ucfirst($v->triage->priority) }} @else Pending @endif | {{ $v->payer_label }} | {{ $v->check_in_at ? $v->check_in_at->format('H:i') : '-' }} | @php $sc = ['waiting'=>'badge-warning','in_triage'=>'badge-info','in_consultation'=>'badge-info','completed'=>'badge-success','admitted'=>'badge-danger']; @endphp {{ ucfirst(str_replace('_',' ',$v->status)) }} | Open |
| No visits found. | |||||||||