| Patient Details | ID & Admission # | Ward & Bed | Status | Actions |
|---|---|---|---|---|
|
{{ substr($adm->patient->first_name, 0, 1) }}
{{ $adm->patient->full_name }}
{{ $adm->patient->gender }} · {{ $adm->patient->age }} |
{{ $adm->admission_number }}
{{ $adm->patient->uhid }}
|
{{ $adm->bed?->ward?->name ?? 'OPD' }} Bed {{ $adm->bed?->bed_number ?? '—' }} |
@php
$statusConfig = match($adm->status) {
'Admitted' => ['bg' => 'bg-violet-500', 'text' => 'text-violet-500', 'label' => 'ADMITTED'],
'Discharged' => ['bg' => 'bg-emerald-500', 'text' => 'text-emerald-500', 'label' => 'DISCHARGED'],
default => ['bg' => 'bg-amber-500', 'text' => 'text-amber-500', 'label' => 'PENDING']
};
@endphp
@if($adm->status === 'Admitted')
@endif
{{ $statusConfig['label'] }}
|
|
|
No Admissions Found |
||||
Make sure all bills are cleared before checking out.