{{-- $requests is already status-filtered and paginated by the controller --}}
| Patient | Visit No. | Dept | Study Requested | Body Part | Urgency | Ordered | Status | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ $r->patient->full_name ?? '' }} {{ $r->patient->mrn ?? '' }} |
{{ $r->visit->visit_number ?? '' }} | {{ $r->visit->department->name ?? '-' }} | {{ $r->imaging_type }} | {{ $r->body_part ?? '-' }} | {{ ucfirst($r->urgency) }} | {{ $r->created_at->format('d M H:i') }} | {{ ucfirst(str_replace('_',' ',$r->status)) }} |
{{-- Ordered / Scheduled: Mark imaging done --}}
@if(in_array($r->status, ['requested', 'scheduled', 'in_progress']))
@endif
{{-- Imaging done: Write report --}}
@if(in_array($r->status, ['imaging_done']))
Write Report
@endif
{{-- Reported: Verify & Release --}}
@if($r->status === 'reported')
Review & Verify
@endif
{{-- Verified: View/Print --}}
@if($r->status === 'verified')
View Report
@endif
|
| No studies in this stage. | ||||||||