@php $refraction = $examination->refraction_data ?? []; $hasObjective = !empty($refraction['objective']['od_sph'] ?? $refraction['objective']['os_sph'] ?? null); $hasSubjective = !empty($refraction['subjective']['od_sph'] ?? $refraction['subjective']['os_sph'] ?? null); @endphp @if($hasObjective || $hasSubjective)
| REFR. TYPE | OD (RIGHT) SPHERE | OD (RIGHT) CYL | OD AXIS | OS (LEFT) SPHERE | OS (LEFT) CYL | OS AXIS |
|---|---|---|---|---|---|---|
| Auto-Refraction | {{ $refraction['objective']['od_sph'] ?? '—' }} | {{ $refraction['objective']['od_cyl'] ?? '—' }} | {{ $refraction['objective']['od_axis'] ?? '—' }} | {{ $refraction['objective']['os_sph'] ?? '—' }} | {{ $refraction['objective']['os_cyl'] ?? '—' }} | {{ $refraction['objective']['os_axis'] ?? '—' }} |
| Subjective Refr. | {{ $refraction['subjective']['od_sph'] ?? '—' }} | {{ $refraction['subjective']['od_cyl'] ?? '—' }} | {{ $refraction['subjective']['od_axis'] ?? '—' }} | {{ $refraction['subjective']['os_sph'] ?? '—' }} | {{ $refraction['subjective']['os_cyl'] ?? '—' }} | {{ $refraction['subjective']['os_axis'] ?? '—' }} |