{{ $patient->fullName() }}

{{ $patient->patient_number }} · Visit {{ $visit->uuid }} · Charted {{ $chart->charted_at?->format('d M Y H:i') ?? '—' }}

Odontogram (FDI)

@foreach (['upper' => 'Upper', 'lower' => 'Lower'] as $key => $label)

{{ $label }}

@foreach ($rows[$key] as $code) @php $t = $teethMap[$code] ?? []; $finding = ($t['status'] ?? 'present') !== 'present' || !empty($t['conditions']); @endphp
{{ $code }}
@endforeach
@endforeach

Findings

@foreach ($teethMap as $code => $t) @if (($t['status'] ?? 'present') !== 'present' || ! empty($t['conditions']) || ! empty($t['notes'])) @endif @endforeach
ToothStatusSurfacesConditionsNotes
{{ $code }} {{ $t['status'] ?? 'present' }} {{ implode('', $t['surfaces'] ?? []) }} @foreach ($t['conditions'] ?? [] as $c) {{ $conditions[$c] ?? $c }}@if(!$loop->last), @endif @endforeach {{ $t['notes'] ?? '' }}
@if ($plan)

Treatment plan ({{ $plan->status }})

@foreach ($plan->items as $item) @endforeach
ProcedureToothStatusEstimate
{{ $item->label }} {{ $item->tooth_code ?? '—' }} {{ $item->status }} {{ number_format($item->estimate_minor / 100, 2) }}
@endif