@extends('layouts.adminlte') @section('content')
{{ $patient->patient_number }}
{{ $activeAdmission->ward?->name }} / {{ $activeAdmission->bed?->bed_number }} {{ ucfirst($activeAdmission->status) }}
Register this patient and place the visit in the reception queue.
| Type | Order | Study / test | Status | Result / report | Billing |
|---|---|---|---|---|---|
| Laboratory | {{ $order->order_number }} | {{ $order->test_name }} | {{ ucfirst($order->status) }} | @if ($order->status === 'completed')Result ready {{ $order->result ?: 'No result details recorded.' }}@if ($order->resulted_at) Posted {{ $order->resulted_at->diffForHumans() }}@endif@else{{ $order->result ?: 'Awaiting result' }}@endif | {{ $order->invoice?->status ? ucfirst($order->invoice->status) : 'Not billed' }} |
| Radiology | {{ $order->order_number }} | {{ strtoupper($order->modality) }} {{ $order->body_site }} | {{ ucfirst($order->status) }} | @if ($order->status === 'reported')Report ready {{ $order->report ?: 'No report details recorded.' }}@if ($order->reported_at) Posted {{ $order->reported_at->diffForHumans() }}@endif@else{{ $order->report ?: 'Awaiting report' }}@endif | {{ $order->invoice?->status ? ucfirst($order->invoice->status) : 'Not billed' }} |
| No diagnostic orders recorded. | |||||
| Visit | Type | Service | Visit status | Current queue stage | Arrived | Review |
|---|---|---|---|---|---|---|
| {{ $visit->visit_number }} | {{ ucfirst($visit->visit_type ?: 'outpatient') }} | {{ $visit->service ?: $visit->department ?: 'Not specified' }} | {{ str_replace('_', ' ', ucfirst($visit->status ?: 'registered')) }} | {{ ucfirst($visit->queueEntry?->queue_name ?: 'Completed') }} | {{ $visit->arrived_at?->diffForHumans() ?: 'Not recorded' }} | {{ $visit->consultation ? 'Consultation completed' : 'Pending' }} |
| No visits recorded for this patient. | ||||||