BondaCare

Maternal Health Management System
BLOOD SUGAR MONITORING
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
⚠️ Nota Penting

Untuk: Ibu Diabetes

Sasaran: Pre meal ≤5.3mmol/L, 1H post meal ≤7.8mmol/L, 2H post meal ≤6.7mmol/L

⚠️ Awasi: Tanda-tanda hypoglasemia dan bacaan tidak boleh ≤4.0 mmol/L

Monitoring Date
Parameter Value
Tarikh {{ $formatDate($getData('date')) }}
Blood Sugar Readings (mmol/L)
Meal Time Reading (mmol/L)
Pre/Post Breakfast {{ $getData('breakfast') ?: 'Not recorded' }}
Pre/Post Lunch {{ $getData('lunch') ?: 'Not recorded' }}
Pre/Post Dinner {{ $getData('dinner') ?: 'Not recorded' }}
Pre Bed {{ $getData('pre_bed') ?: 'Not recorded' }}
@if($getData('notes'))
Clinical Notes
{{ $getData('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)
Signature:
Nurse Signature
@endif
@endif