@php $hist = $surgeryHistory?->payload ?? []; $exam = $surgeryExam?->payload ?? []; $plan = $surgeryPlan?->payload ?? []; @endphp

Surgery overview

Pre-op history, exam, investigations, consent/plan, procedure, and post-op.

Complaint

{{ $exam['chief_complaint'] ?? '—' }}

ASA {{ $exam['asa_class'] ?? '—' }}

Proposed procedure

{{ $plan['proposed_procedure'] ?? '—' }}

{{ ! empty($plan['consent_obtained']) ? 'Consent obtained' : 'Consent pending' }}

Diagnosis / plan

{{ $plan['diagnosis'] ?? 'Not set' }}

{{ $plan['follow_up'] ?? '—' }}

History
{{ $hist['history'] ?? '—' }}
Plan
{{ $plan['plan'] ?? '—' }}
@if (! empty($clinicalAlerts))

Alerts

@foreach ($clinicalAlerts as $alert)

{{ $alert['message'] ?? '' }}

@endforeach
@endif