BondaCare

Maternal Health Management System
ULTRASOUND EXAMINATION
Patient Name: {{ $record->mother->expectantMother->mother_full_name ?? $record->mother->name }} IC Number: {{ $record->mother->expectantMother->ic_number ?? 'N/A' }}
Visit Date: {{ $record->visit_date->format('d/m/Y') }} Color Code: {{ strtoupper($record->mother->expectantMother->current_color_code ?? $record->mother->expectantMother->color_code ?? 'WHITE') }}
@php $getData = function($key, $default = '') use ($testResult) { if (!$testResult || !$testResult->test_data) return $default; return data_get($testResult->test_data, $key, $default); }; $formatDate = function($date) { if (!$date) return '-'; try { return \Carbon\Carbon::parse($date)->format('d/m/Y'); } catch (\Exception $e) { return '-'; } }; @endphp
Examination Date
Tarikh (Date) {{ $formatDate($getData('date')) }}
Jangkamasa Kandungan
Parameter Value
EDD (Expected Delivery Date) {{ $formatDate($getData('edd')) }}
REDD (Revised Expected Delivery Date) {{ $formatDate($getData('redd')) }}
Fetal Presentation & Heart
Parameter Value
Presentasi (Presentation) {{ $getData('presentation') ?: 'Not recorded' }}
FH / FM (Fetal Heart / Fetal Movement) {{ $getData('fh_fm') ?: 'Not recorded' }}
Fetal Measurements
Measurement Value
CRL (Crown-Rump Length) {{ $getData('crl') ?: 'Not recorded' }} cm
BPD (Biparietal Diameter) {{ $getData('bpd') ?: 'Not recorded' }} cm
HC (Head Circumference) {{ $getData('hc') ?: 'Not recorded' }} cm
AC (Abdominal Circumference) {{ $getData('ac') ?: 'Not recorded' }} cm
FL (Femur Length) {{ $getData('fl') ?: 'Not recorded' }} cm
Estimated Fetal Weight {{ $getData('estimated_fetal_weight') ?: 'Not recorded' }} g
Placenta & Amniotic Fluid
Parameter Value
Placenta (Position) {{ $getData('placenta') ?: 'Not recorded' }}
AFI (Amniotic Fluid Index) {{ $getData('afi') ?: 'Not recorded' }} cm
@if($getData('remarks'))
Ulasan (Remarks)
{{ $getData('remarks') }}
@endif @if($testResult && ($testResult->performedByNurse->name || $testResult->signature_data))
Nurse Information
Nurse Name: {{ $testResult->performedByNurse->name ?? 'N/A' }}
Date Recorded: {{ $testResult->performed_at ? \Carbon\Carbon::parse($testResult->performed_at)->format('d/m/Y H:i') : 'N/A' }}
@if($testResult->signature_data)
Signature:
Nurse Signature
@endif
@endif