| Jenis Pemeriksaan: | Spirometri |
| Tanggal Pemeriksaan: | {{ $appointment->spirometryResult->created_at ? \App\Helpers\DateHelper::formatDate($appointment->spirometryResult->created_at) : '-' }} |
PARAMETER SPIROMETRI:
INTERPRETASI:
{{ $appointment->spirometryResult->interpretation }}
Hasil Pemeriksaan Spirometri:
@php $fullPath = storage_path('app/public/' . $appointment->spirometryResult->result_file_path); $alternativePath = public_path('storage/' . $appointment->spirometryResult->result_file_path); $imageUri = \App\Helpers\PdfImageHelper::dataUri($fullPath) ?? \App\Helpers\PdfImageHelper::dataUri($alternativePath); @endphp @if ($imageUri)Grafik spirometri tidak dapat ditampilkan. Periksa berkas hasil pemeriksaan.
@endif{{ $appointment->spirometryResult->notes }}
@if ($appointment->spirometryResult->conclusion && strtolower($appointment->spirometryResult->conclusion) !== 'normal' && strtolower($appointment->spirometryResult->conclusion) !== 'dalam batas normal') {{ $appointment->spirometryResult->conclusion }} @else Dalam batas normal @endif