NIK:
{{ $patient->nik ?: '-' }}
@if ($patient->nickname)
Nama Panggilan:
{{ $patient->nickname }}
@endif
Jenis Kelamin:
{{ $patient->gender == 'male' ? 'Laki-laki' : 'Perempuan' }}
Tanggal Lahir:
{{ $patient->birth_date_short ?: '-' }}
@if ($patient->birth_place)
Tempat Lahir:
{{ $patient->birth_place }}
@endif
Umur:
@if ($patient->birth_date)
@php
$now = \Carbon\Carbon::now();
$birthDate = \Carbon\Carbon::parse($patient->birth_date);
$age = $birthDate->diff($now);
@endphp
{{ $age->y }} tahun {{ $age->m }} bulan {{ $age->d }} hari
@else
-
@endif
@if ($patient->religion)
Agama:
{{ $patient->religion }}
@endif
@if ($patient->ethnicity)
Suku:
{{ $patient->ethnicity }}
@endif
@if ($patient->marital_status)
Status Nikah:
@switch ($patient->marital_status)
@case ('single')
Belum Menikah
@break
@case ('married')
Menikah
@break
@case ('divorced')
Cerai
@break
@case ('widowed')
Janda/Duda
@break
@default
-
@endswitch
@endif
@if ($patient->number_of_children)
Jumlah Anak:
{{ $patient->number_of_children }} anak
@endif
@if ($patient->blood_type)
Golongan Darah:
{{ $patient->blood_type }}
@endif
Telepon:
{{ $patient->phone_number ?: '-' }}
Email:
{{ $patient->email ?: '-' }}
@if ($patient->address)
Alamat:
{{ $patient->address }}
@endif