@php
$p = $appointment->Patient;
$age = $p?->dob ? \Carbon\Carbon::parse($p->dob)->age : null;
@endphp
@include('layouts.print_header', ['printTitle' => 'Clinic Assessment'])
Patient: {{ $p?->name }}
ID: {{ $p?->patient_id }}
Gender: {{ ucfirst($p?->gender) }}
Age: {{ $age !== null && $age >= 0 && $age < 130 ? $age : '-' }}
Phone: {{ $p?->phone }}
Visit: #{{ $appointment->id }} ยท {{ \Carbon\Carbon::parse($appointment->created_at)->format('d M, Y') }}
@include('patient_mangement.appointment.clinic_assessment._record')
Therapist / nurse
Patient signature