| 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
Monitoring Date & Time
| Parameter |
Value |
| Tarikh (Date) |
{{ $formatDate($getData('date')) }} |
| Masa (Time) |
{{ $getData('time') ?: '-' }} |
Vital Signs
| Parameter |
Value |
| Tekanan Darah (Blood Pressure) |
{{ $getData('blood_pressure') ?: 'Not recorded' }} mmHg |
| Normal: <140/90 mmHg |
| Denyutan Jantung Janin (Fetal Heart Rate) |
{{ $getData('fetal_heart_rate') ?: 'Not recorded' }} bpm |
| Normal: 110-160 bpm |
| Urin Protein (Urine Protein) |
{{ $getData('urine_protein') ?: 'Not recorded' }} |
| Normal: Negative or trace |
@if($getData('symptoms'))
Symptoms & Observations
{{ $getData('symptoms') }}
Common symptoms to watch for: Headache, blurred vision, epigastric pain, swelling (edema), nausea/vomiting
@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