KLINIK MUSTIKA SANGSAKA KALIORANG
Jl. Ery Soeparjan, Desa Bukit Makmur, Kec. Kaliorang, Kab. Kutai Timur 75617, Kalimantan Timur
Telpon: 08575168765 | Email: mustikasangsakaklinik@gmail.com
Hasil Pemeriksaan Spirometry

INFORMASI PASIEN

Nama Lengkap : {{ $result->appointment->patient->full_name }} Tanggal Lahir : {{ $result->appointment->patient->birth_date ? $result->appointment->patient->birth_date->format('d/m/Y') : '-' }}
No. Rekam Medis : {{ $result->appointment->patient->medical_record_number ?? '-' }} Usia : {{ $result->appointment->patient->detailed_age ?: '-' }}
Jenis Kelamin : {{ $result->appointment->patient->gender == 'male' ? 'Laki-laki' : 'Perempuan' }} Perusahaan : @php $dispComp = $result->appointment?->company ?? ($result->appointment->patient->company ?? ($result->appointment->mcuResult->company ?? null)); $jobTitle = $result->appointment->patient->job_position ?? ($result->appointment->patient->occupation ?? $result->appointment->getJobPosition()); if ($jobTitle === '-') { $jobTitle = null; } @endphp @if ($dispComp) {{ $dispComp->name }} @if ($jobTitle) ({{ $jobTitle }}) @endif @else Individual @endif
No. Registrasi : {{ $result->appointment->registration_number }} Tanggal MCU : {{ $result->appointment->appointment_date ? $result->appointment->appointment_date->format('d/m/Y') : '-' }}
Paket MCU : {{ $result->appointment->mcuPackage->name ?? '-' }}
HASIL PEMERIKSAAN SPIROMETRY
@php $storedPath = $result->result_file_path ?? ($result->result_file ?? null); @endphp @if ($storedPath)
Gambar Hasil Spirometry
@php $fileExtension = strtolower(pathinfo($storedPath, PATHINFO_EXTENSION)); @endphp @if (in_array($fileExtension, ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'])) @php $imageUri = \App\Helpers\PdfImageHelper::dataUri(storage_path('app/public/' . $storedPath)) ?? \App\Helpers\PdfImageHelper::dataUri(public_path('storage/' . $storedPath)); @endphp @if ($imageUri) Hasil Spirometry @else

Gambar spirometri tidak dapat ditampilkan. Periksa berkas hasil pemeriksaan.

@endif @elseif ($fileExtension === 'pdf' && !empty($result_pdf_image)) Hasil Spirometry (halaman 1) @else

File: {{ basename($storedPath) }} ({{ strtoupper($fileExtension) }})

@endif
@endif @if ($result->interpretation)
Interpretasi
{{ $result->interpretation }}
@endif @if ($result->recommendations)
Rekomendasi
{{ $result->recommendations }}
@endif @if ($result->notes)
Catatan Pemeriksaan
{{ $result->notes }}
@endif
Detail Pemeriksaan
Tanggal Pemeriksaan: {{ $result->completed_at ? $result->completed_at->format('d/m/Y H:i') : '-' }}
Petugas Pemeriksaan: {{ $result->workstationExaminerIdentity()['name'] ?? 'Tidak diketahui' }} @if ($result->workstationExaminerIdentity()['position'] ?? null)
Jabatan: {{ $result->workstationExaminerIdentity()['position'] }} @endif
@if ($result->status == 'verified')
Detail Verifikasi
Status: Terverifikasi
Tanggal Verifikasi: {{ $result->verified_at ? $result->verified_at->format('d/m/Y H:i') : '-' }}
Dokter Verifikator: {{ $result->selectedDoctor->employee->full_name ?? 'Tidak diketahui' }} @if ($result->verification_notes)
Catatan Verifikasi: {{ $result->verification_notes }} @endif
@endif
Petugas Pemeriksaan
@if ($result->status === 'verified')
@if ($technician_signature) QR Petugas @endif
{{ $result->workstationExaminerIdentity()['name'] ?? 'Petugas Spirometry' }} @if ($result->workstationExaminerIdentity()['position'] ?? null)
{{ $result->workstationExaminerIdentity()['position'] }} @endif
@else
 
 
@endif
Dokter Penanggung Jawab
@if ($result->status === 'verified')
@if ($doctor_signature) QR Dokter @endif
{{ $result->workstationIdentity('doctor')['name'] ?? ($defaultDoctor ? $defaultDoctor->employee->full_name : 'Dokter Spirometry') }} @if ($defaultDoctor && $defaultDoctor->employee->position)
{{ $defaultDoctor->employee->position->name }} @endif
@else
 
 
@endif
@if (isset($showPrintMode) && $showPrintMode) @endif