{{-- KOLOM KIRI --}}
|
No. Registrasi Pemeriksaan
|
:
|
{{
$appointment->registration_number ??
($appointment->id ?? '-')
}}
|
| No. Hasil MCU |
: |
{{
$appointment->mcuResult->result_number ??
'MCU-' . str_pad($appointment->id, 6, '0', STR_PAD_LEFT)
}}
|
| Tanggal Pemeriksaan |
: |
{{
\App\Helpers\DateHelper::formatDate(
$appointment->appointment_date,
)
}}
|
| Nama Lengkap |
: |
{{ $appointment->patient->name }} |
| NIK |
: |
{{
$appointment->patient->identity_number ??
($appointment->patient->nik ?? '-')
}}
|
| Tgl. Lahir / Umur |
: |
@if ($appointment->patient->birth_date)
{{
\App\Helpers\DateHelper::formatDate(
$appointment->patient->birth_date,
)
}}
@php
$detailedAge = $appointment->patient->detailed_age ?? null;
$yearsOnly = \Carbon\Carbon::parse($appointment->patient->birth_date)->age . ' tahun';
@endphp
({{ $detailedAge ?: $yearsOnly }})
@else
-
@endif
|
|
{{-- KOLOM KANAN --}}
|
Perusahaan
|
:
|
{{
(
$appointment->company ??
($mcuResult->company ?? $appointment->patient?->company)
)?->name ?? '-'
}}
|
| Jabatan |
: |
{{ $appointment->getJobPosition() }} |
| Jenis Kelamin |
: |
@if ($appointment->patient->gender == 'male' || $appointment->patient->gender == 'M')
Laki-laki
@elseif ($appointment->patient->gender == 'female' || $appointment->patient->gender == 'F')
Perempuan
@else
{{ $appointment->patient->gender ?? '-' }}
@endif
|
| No. Telepon |
: |
{{
$appointment->patient->phone ??
($appointment->patient->phone_number ?? '-')
}}
|
| Alamat |
: |
{{ $appointment->patient->address ?? '-' }} |
|