@extends('layouts.app') @section('title', 'Inpatient') @section('content')
Total Beds
{{ $stats['total'] }}
Occupied
{{ $stats['occupied'] }}
Available
{{ $stats['total'] - $stats['occupied'] }}
Occupancy
{{ $stats['total'] > 0 ? round($stats['occupied']/$stats['total']*100) : 0 }}%
| Patient | Ward | Bed | Admitted | Days | Doctor | Actions |
|---|---|---|---|---|---|---|
| {{ $a->patient->full_name ?? '' }} | {{ $a->ward->name ?? '' }} | {{ $a->bed->bed_number ?? '' }} | {{ $a->admission_date->format('d M') }} | {{ $a->length_of_stay }} | {{ $a->clinician->name ?? '-' }} | |
| No current admissions. | ||||||