| 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
Booking Information
| Parameter |
Value |
| Booking Weight (kg) |
{{ $getData('booking_weight') ?: '-' }} |
| Booking BMI (kg/m²) |
{{ $getData('booking_bmi') ?: '-' }} |
| Booking BP (mmHg) |
{{ $getData('booking_bp') ?: '-' }} |
Visit Details
| Parameter |
Value |
| Tarikh |
{{ $formatDate($getData('tarikh')) }} |
| Lingkaran Kepala (cm) |
{{ $getData('lk') ?: '-' }} |
| Lingkaran Rahim (cm) |
{{ $getData('lr') ?: '-' }} |
Ujian Makmal (Laboratory Tests)
| Test |
Result |
| Urin Protein |
{{ $getData('urin_protein') ?: '-' }} |
| Urin Sugar |
{{ $getData('urin_sugar') ?: '-' }} |
| Hb (g/dL) |
{{ $getData('hb_gdl') ?: '-' }} |
Pemeriksaan (Physical Examination)
| Parameter |
Value |
| Berat (kg) |
{{ $getData('berat_kg') ?: '-' }} |
| BP (mmHg) |
{{ $getData('bp') ?: '-' }} |
| Nadi (per minute) |
{{ $getData('nadi') ?: '-' }} |
| Edema |
{{ $getData('edema') ?: '-' }} |
Kandungan (Pregnancy Status)
| Parameter |
Value |
| Tempoh Hamil (minggu) |
{{ $getData('tempoh_hamil_minggu') ?: '-' }} |
| Tinggi Rahim (cm) |
{{ $getData('tinggi_rahim_cm') ?: '-' }} |
Janin (Fetal Status)
| Parameter |
Value |
| Presentasi |
{{ $getData('presentasi') ?: '-' }} |
| Jantung |
{{ $getData('jantung') ?: '-' }} |
| Gerak |
{{ $getData('gerak') ?: '-' }} |
@if($getData('additional_notes'))
Catatan (Notes)
{{ $getData('additional_notes') }}
@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)
@endif
@endif