Name: {{ $user->name }} | Age: {{ \Carbon\Carbon::parse($user->birthday)->age }} years old | Registration Date: {{ $user->created_at ? $user->created_at->format('M j, Y') : 'N/A' }} |
Profile Type: {{ $user->profileType?->name }} | Gender: {{ $user->gender }} | Total Records: {{ $records->count() }} |
Date | Syndrome | Symptoms & Pain Levels | Duration | Medicine | Dosage |
---|---|---|---|---|---|
{{ $record->created_at ? $record->created_at->format('M j, Y g:i A') : 'N/A' }} | {{ $record->syndrome->name ?? 'Not specified' }} |
@if($record->symptomPainLevels->count() > 0)
@foreach($record->symptomPainLevels as $painLevel)
{{ $painLevel->symptom->name ?? 'Unknown' }}: {{ $painLevel->pain_level }} @endforeach @else No symptoms recorded @endif |
{{ $record->duration_seconds ? round($record->duration_seconds / 60, 1) . ' minutes' : 'N/A' }} | {{ $record->medication->medicine ?? $record->medicine_other ?? 'None' }} | {{ $record->dosage ? $record->dosage . ' ' . $record->dosage_unit : 'N/A' }} |
Printed on: {{ now()->format('F j, Y g:i A') }}