@extends('Admin.layout') @section('content') {{-- Header --}}
Details
{{-- Patient identity strip --}}
{{ strtoupper(substr($patient->patient_name, 0, 1)) }}
{{ $patient->patient_name }}
Patient ID ยท {{ $patient->sheet_no }}
{{-- Step navigation --}}
{{-- Form panel --}}
System Examination
{{-- System examination history โ€” collapsible accordion --}} @php $examHistoryData = $examHistory ?? collect(); @endphp
@forelse($examHistoryData as $entry)
{{ $entry->created_at->format('d M Y') }} {{ $entry->created_at->format('h:i A') }}
@if(!empty($entry->cvs)) CVS{{ $entry->cvs }} @endif @if(!empty($entry->rs)) RS{{ $entry->rs }} @endif @if(!empty($entry->pa)) P/A{{ $entry->pa }} @endif @if(!empty($entry->cns)) CNS{{ $entry->cns }} @endif @if(!empty($entry->local_examination)) Local Examination{{ $entry->local_examination }} @endif
@empty
No system examination history found.
@endforelse
@csrf
{{-- Sticky bottom action bar --}}
@endsection