@php // Helper function to get test data value $getData = function($key, $default = '') use ($testResult) { if (!$testResult || !$testResult->test_data) return $default; return data_get($testResult->test_data, $key, $default); }; // Helper function to format date $formatDate = function($date) { if (!$date) return null; try { return \Carbon\Carbon::parse($date)->format('d/m/Y'); } catch (\Exception $e) { return $date; } }; @endphp

Antenatal Visits

Lawatan Antenatal

@php $bookingWeight = $getData('booking_weight'); $bookingBmi = $getData('booking_bmi'); $bookingBp = $getData('booking_bp'); $tarikh = $getData('tarikh'); $lk = $getData('lk'); $lr = $getData('lr'); $urinProtein = $getData('urin_protein'); $urinSugar = $getData('urin_sugar'); $hbGdl = $getData('hb_gdl'); $beratKg = $getData('berat_kg'); $bp = $getData('bp'); $nadi = $getData('nadi'); $edema = $getData('edema'); $tempohHamilMinggu = $getData('tempoh_hamil_minggu'); $tinggiRahimCm = $getData('tinggi_rahim_cm'); $presentasi = $getData('presentasi'); $jantung = $getData('jantung'); $gerak = $getData('gerak'); $additionalNotes = $getData('additional_notes'); $hasData = $tarikh || $lk || $lr || $urinProtein || $urinSugar || $hbGdl || $beratKg || $bp || $nadi || $edema || $tempohHamilMinggu || $tinggiRahimCm || $presentasi || $jantung || $gerak || $bookingWeight || $bookingBmi || $bookingBp; @endphp @if($hasData)

Booking Information

Maklumat tempahan awal

@if($bookingWeight) {{ $bookingWeight }} kg @else Not recorded @endif
@if($bookingBmi) {{ $bookingBmi }} kg/m² @else Not recorded @endif
@if($bookingBp) {{ $bookingBp }} mmHg @else Not recorded @endif

Visit Information

Maklumat lawatan

@if($tarikh) {{ $formatDate($tarikh) }} @else Not recorded @endif
@if($lk) {{ $lk }} cm @else Not recorded @endif
@if($lr) {{ $lr }} cm @else Not recorded @endif

Ujian Makmal

Laboratory tests

@if($urinProtein) {{ $urinProtein }} @else Not recorded @endif
@if($urinSugar) {{ $urinSugar }} @else Not recorded @endif
@if($hbGdl) {{ $hbGdl }} g/dL @else Not recorded @endif

Normal: 11-14 g/dL

Pemeriksaan

Physical examination

@if($beratKg) {{ $beratKg }} kg @else Not recorded @endif
@if($bp) {{ $bp }} mmHg @else Not recorded @endif
@if($nadi) {{ $nadi }} bpm @else Not recorded @endif
@if($edema) {{ $edema }} @else Not recorded @endif

Kandungan

Uterus examination

@if($tempohHamilMinggu) {{ $tempohHamilMinggu }} minggu @else Not recorded @endif
@if($tinggiRahimCm) {{ $tinggiRahimCm }} cm @else Not recorded @endif

Janin

Fetal assessment

@if($presentasi) {{ $presentasi }} @else Not recorded @endif

Cephalic, Breech, Transverse

@if($jantung) {{ $jantung }} @else Not recorded @endif

Normal: 110-160 bpm

@if($gerak) {{ $gerak }} @else Not recorded @endif

Active, Reduced, Normal

@if($additionalNotes)

Additional Notes

Catatan tambahan

{{ $additionalNotes }}
@endif @else

No antenatal visit data recorded yet

@endif
Back to Health Record