Data Tambahan Pasien

Silakan lengkapi data tambahan berikut untuk mendapatkan hasil pemeriksaan yang lebih akurat.

  • Data akan disimpan dengan aman dan terjaga kerahasiaannya
  • Jawaban yang jujur akan membantu dokter memberikan pelayanan terbaik
  • Data yang wajib diisi: Informasi Kerja, Aktivitas Kerja, Riwayat Kesehatan, Riwayat Keluarga, dan Gaya Hidup
@if (isset($selectedPatient)) @endif
Data Tambahan Pasien
Detail Pekerjaan
Informasi Perusahaan & Hobi & Aktivitas
Informasi perusahaan (dari data registrasi)
Informasi jabatan (dari data registrasi)
{{--
Jabatan atau profesi Anda
--}}
Tahun mulai bekerja di posisi saat ini
Kegiatan yang Anda sukai di waktu luang
@php $latestWork = isset($selectedPatient) && $selectedPatient->workActivities ? $selectedPatient->workActivities->first() : null; $workActivities = [ 'operates_moving_equipment' => 'Sopir / mengoperasikan peralatan bergerak (mobil, crane, alat lainnya)', 'works_at_height' => 'Bekerja di ketinggian (tangga, Lift, eskalator)', 'works_in_office' => 'Bekerja di perkantoran', 'works_in_noisy_place' => 'Bekerja di tempat bising', 'works_in_dusty_place' => 'Bekerja di tempat berdebu', 'needs_color_accuracy' => 'Perlu keakuratan warna, kode lampu warna', 'is_catering_staff' => 'Staff Catering (seluruh personal yang mengelola makanan)', 'handles_dangerous_materials' => 'Berhubungan dengan bahan yang berpotensi membahayakan', ]; $protectionMap = [ 'operates_moving_equipment' => 'moving_equipment', 'works_at_height' => 'height', 'works_in_office' => 'office', 'works_in_noisy_place' => 'noise', 'works_in_dusty_place' => 'dusty', 'needs_color_accuracy' => 'color', 'is_catering_staff' => 'catering', 'handles_dangerous_materials' => 'dangerous', ]; @endphp
Aktivitas Kerja Khusus
@foreach ($workActivities as $field => $label) @php $protectionKey = $protectionMap[$field] ?? ''; $usesProtection = $protectionKey && $latestWork && $latestWork->{"uses_{$protectionKey}_protection"}; $protectionDetails = $protectionKey && $latestWork ? $latestWork->{"{$protectionKey}_protection_details"} : ''; @endphp @endforeach
Kegiatan Waktu Kerja YA Memakai Perlindungan YA
{{ $label }}
$field ? 'checked' : '' }} >
Riwayat Kesehatan
@php $healthConditions = [ 'column1' => [ 'has_head_injury' => 'Cedera Kepala', 'has_seizure' => 'Ayan', 'has_vision_disorder' => 'Gangguan Penglihatan', 'has_hearing_disorder' => 'Gangguan Pendengaran', 'has_ear_nose_throat_problem' => 'Masalah Pada Telinga, Hidung', 'has_ear_problem_4weeks' => 'Masalah Telinga > 4 Minggu', 'has_womens_health_issue' => 'Masalah Kewanitaan', 'has_chronic_skin_problem' => 'Penyakit Kulit Menahun', 'has_chronic_diarrhea_issue' => 'Diare Kronis', 'has_appetite_loss_4weeks' => 'Nafsu Makan Menurun > 4 mgg', 'has_gastritis_ulcer' => 'Gastritis / Radang Lambung', ], 'column2' => [ 'has_yellow_fever_hepatitis' => 'Sakit Kuning / Hepatitis', 'has_chronic_cough_issue' => 'Batuk Kronis', 'has_hemorrhoids_issue' => 'Ambeien / Hemoroid', 'has_chronic_abdominal_pain' => 'Nyeri Perut Kronis', 'has_sexual_transmitted_disease' => 'Penyakit Kelamin', 'has_diabetes_mellitus' => 'Kencing Manis / Diabetes', 'has_asthma_shortness' => 'Asma / Sesak Napas', 'has_allergy_issue' => 'Alergi', 'has_tuberculosis' => 'TB Paru', 'has_mental_health_problem' => 'Masalah Kejiwaan', 'has_hypertension_issue' => 'Tekanan Darah Tinggi', ], 'column3' => [ 'has_heart_chest_pain' => 'Nyeri Dada / Jantung', 'has_malaria_disease' => 'Malaria', 'has_surgical_operation' => 'Operasi Pembedahan', 'has_abnormal_weight_change' => 'Perubahan BB tdk normal', 'has_back_pain_4weeks' => 'Nyeri Pinggang > 4 mgg', 'has_typhoid_fever' => 'Demam Thyfoid', 'has_joint_swelling_pain' => 'Bengkak / Nyeri pd sendi', 'has_kidney_stone_disease' => 'Kencing Batu / Ginjal', ], ]; @endphp
@php $latestHealth = isset($selectedPatient) && $selectedPatient->healthQuestionnaires ? $selectedPatient->healthQuestionnaires->first() : null; // Pad arrays to ensure they have the same length $column1Items = array_keys($healthConditions['column1']); $column2Items = array_keys($healthConditions['column2']); $column3Items = array_keys($healthConditions['column3']); $maxRows = max(count($column1Items), count($column2Items), count($column3Items)); // Pad arrays with null values to make them same length $column1Items = array_pad($column1Items, $maxRows, null); $column2Items = array_pad($column2Items, $maxRows, null); $column3Items = array_pad($column3Items, $maxRows, null); @endphp @for ($i = 0; $i < $maxRows; $i++) @endfor
Apakah Anda Pernah Menderita YA Apakah Anda Pernah Menderita YA Apakah Anda Pernah Menderita YA
@if ($column1Items[$i]) {{ $healthConditions['column1'][$column1Items[$i]] }} @endif @if ($column1Items[$i])
{$column1Items[$i]} ? 'checked' : '' }} >
@endif
@if ($column2Items[$i]) {{ $healthConditions['column2'][$column2Items[$i]] }} @endif @if ($column2Items[$i])
{$column2Items[$i]} ? 'checked' : '' }} >
@endif
@if ($column3Items[$i]) {{ $healthConditions['column3'][$column3Items[$i]] }} @endif @if ($column3Items[$i])
{$column3Items[$i]} ? 'checked' : '' }} >
@endif
@php $latestFamily = isset($selectedPatient) ? $selectedPatient->familyHealthHistories->first() : null; @endphp
Riwayat Keluarga
Anggota Keluarga Diabetes Hipertensi Penyakit Lainnya
Bapak
Ibu
Saudara
Lain-lain
@php $latestLifestyle = isset($selectedPatient) ? $selectedPatient->lifestyleData->first() : null; @endphp
Gaya Hidup
consumes_alcohol ? 'checked' : '', ) }} >
consumes_alcohol ? 'checked' : '', ) }} >
is_smoker ? 'checked' : '', ) }} >
is_smoker ? 'checked' : '', ) }} >
Tuliskan nama obat yang dikonsumsi rutin
medication_prescription === 'DENGAN RESEP DOKTER' ? 'checked' : '', ) }} >
medication_prescription === 'TANPA RESEP DOKTER' ? 'checked' : '', ) }} >
Pilih sesuai dengan status resep obat