Patient Information: View
{{auth()->user()->name}} | {{ \Carbon\Carbon::parse(auth()->user()->birthday)->age }} years old | {{auth()->user()->gender}} | {{auth()->user()->profileType?->name}}
Syndrome: {{ $syndromes->first()?->name ?? 'None recorded' }}
Symptom: {{ $symptoms->first()?->name ?? 'None recorded' }}
This section shows your latest seizure information and current condition status. The data is based on your most recent reports.
{{-- Left column (info) --}}
{{-- User Name Section --}}

Everything looks well!

{{-- Status Section --}}
{{-- Quick Stats --}}
@if ($latestEpisode) Current Seizure : {{ \Carbon\Carbon::parse($latestEpisode->created_at)->setTimezone('GMT+8')->format('M d, Y H:i')}} @else @endif
@if($latestEpisode)
Condition: {{$latestEpisode?->userSymptoms->syndrome->name}} @if($latestEpisode->duration_seconds !== null) @if($latestEpisode->duration_seconds < 60) {{$latestEpisode->duration_seconds}} secs | @else {{$latestEpisode->DurationMinutes}} min | @endif @endif @if($latestEpisode?->AveragePainLevel) {{$latestEpisode?->AveragePainLevel}} Avg Pain @endif
@else No Condition Reported @endif
{{-- Right column (SVG icon) --}}
Happiness