DATA DIRI LENGKAP PESERTA MCU
{{-- @include('pdf.partials.patient_information') --}}
Nama Lengkap {{ $appointment->patient->name ?? '-' }} Nama Panggilan {{ $appointment->patient->nickname ?? '-' }}
Agama {{ $appointment->patient->religion ?? '-' }} Tempat Lahir {{ $appointment->patient->birth_place ?? '-' }}
Jenis Kelamin {{ $appointment->patient && $appointment->patient->gender === 'male' ? 'Laki-laki' : ($appointment->patient && $appointment->patient->gender === 'female' ? 'Perempuan' : '-') }} Tanggal Lahir {{ $appointment->patient && $appointment->patient->birth_date ? \App\Helpers\DateHelper::formatDate($appointment->patient->birth_date) : '-' }}
Status @if ($appointment->patient && $appointment->patient->marital_status) @switch (strtolower($appointment->patient->marital_status)) @case ('single') Belum Menikah @break @case ('married') Menikah @break @case ('widowed') @if ($appointment->patient && $appointment->patient->gender === 'female') Janda @else Duda @endif @break @case ('divorced') @if ($appointment->patient && $appointment->patient->gender === 'female') Janda @else Duda @endif @break @default {{ $appointment->patient && $appointment->patient->marital_status ? strtoupper($appointment->patient->marital_status) : '-' }} @endswitch @else - @endif Anak {{ $appointment->patient->number_of_children ?? '-' }}
Suku {{ $appointment->patient->ethnicity ?? '-' }} Gol. Darah {{ $appointment->patient->blood_type ?? '-' }}
@php $latestWork = $appointment->workActivity ?? ($appointment->patient && $appointment->patient->workActivities ? $appointment->patient->workActivities->where('appointment_id', $appointment->id)->first() ?? $appointment->patient->workActivities->sortByDesc('id')->first() : null); @endphp
INFORMASI PEKERJAAN
Awal Kerja Pekerjaan Hobi
{{ $latestWork->work_start_year ?? '-' }} @php $patient = $appointment->patient; $jobPosition = $patient->job_position ?? null; $mcuCompanyName = ($appointment->company ?? ($mcuResult->company ?? $patient?->company))?->name ?? null; @endphp @if ($jobPosition || $mcuCompanyName) {{ $jobPosition ?? '-' }} @if ($mcuCompanyName) ({{ $mcuCompanyName }}) @endif @else {{ $latestWork->occupation ?? '-' }} @endif {{ $latestWork->hobby ?? '-' }}
@if ($latestWork) @php // $latestWork sudah di-set di atas, gunakan langsung @endphp
KEGIATAN WAKTU KERJA
Aktivitas Kerja Y/N Memakai Perlindungan Y/N
Sopir / mengoperasikan peralatan bergerak (mobil, crane, alat lainnya) {{ $latestWork->operates_moving_equipment ? 'Y' : 'N' }} {{ $latestWork->moving_equipment_protection_details ?? '-' }} {{ $latestWork->uses_moving_equipment_protection ? 'Y' : 'N' }}
Bekerja di ketinggian (tangga, Lift, eskalator) {{ $latestWork->works_at_height ? 'Y' : 'N' }} {{ $latestWork->height_protection_details ?? '-' }} {{ $latestWork->uses_height_protection ? 'Y' : 'N' }}
Bekerja di perkantoran {{ $latestWork->works_in_office ? 'Y' : 'N' }} {{ $latestWork->office_protection_details ?? '-' }} {{ $latestWork->uses_office_protection ? 'Y' : 'N' }}
Bekerja di tempat bising {{ $latestWork->works_in_noisy_place ? 'Y' : 'N' }} {{ $latestWork->noise_protection_details ?? '-' }} {{ $latestWork->uses_noise_protection ? 'Y' : 'N' }}
Bekerja di tempat berdebu {{ $latestWork->works_in_dusty_place ? 'Y' : 'N' }} {{ $latestWork->dusty_protection_details ?? '-' }} {{ $latestWork->uses_dusty_protection ? 'Y' : 'N' }}
Perlu keakuratan warna, kode lampu warna {{ $latestWork->needs_color_accuracy ? 'Y' : 'N' }} {{ $latestWork->color_protection_details ?? '-' }} {{ $latestWork->uses_color_protection ? 'Y' : 'N' }}
Staff Catering (seluruh personal yang mengelola makanan) {{ $latestWork->is_catering_staff ? 'Y' : 'N' }} {{ $latestWork->catering_protection_details ?? '-' }} {{ $latestWork->uses_catering_protection ? 'Y' : 'N' }}
Berhubungan dengan bahan yang berpotensi membahayakan {{ $latestWork->handles_dangerous_materials ? 'Y' : 'N' }} {{ $latestWork->dangerous_protection_details ?? '-' }} {{ $latestWork->uses_dangerous_protection ? 'Y' : 'N' }}
@endif