@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 '-'; try { return \Carbon\Carbon::parse($date)->format('d/m/Y'); } catch (\Exception $e) { return '-'; } }; @endphp

OGTT Screening

Saringan Ujian Toleransi Glukosa Oral

Senarai Semak Kriteria Untuk Ujian Saringan OGTT

Risk factors assessment for OGTT screening

@php $criteria = [ ['key' => 'bmi_over_27', 'label' => 'BMI >27 kg/m²'], ['key' => 'history_gdm', 'label' => 'Sejarah Gestational Diabetes Mellitus (GDM)'], ['key' => 'family_diabetes', 'label' => 'Sejarah keluarga terdekat dengan diabetes'], ['key' => 'macrosomia_history', 'label' => 'Sejarah melahirkan bayi macrosomia (berat bayi ≥4 kg)'], ['key' => 'bad_obstetric_history', 'label' => 'Bad Obstetric History: Sejarah kelahiran IUD/ Stillbirth, kecacatan kongenital'], ['key' => 'glycosuria', 'label' => 'Glycosuria ≥ 2 kali'], ['key' => 'current_obstetric_problems', 'label' => 'Masalah obstetrik sekarang (Hypertensive disease, Polyhydramnios, rawatan Corticosteroids)'], ['key' => 'age_over_25', 'label' => 'Umur ≥25 tahun (walaupun tanpa faktor risiko GDM yang lain)'], ]; $checkedCriteria = array_filter($criteria, function($item) use ($getData) { return $getData('criteria.' . $item['key']) == '1'; }); @endphp @if(count($checkedCriteria) > 0)
@foreach($checkedCriteria as $index => $item)
{{ $index + 1 }}. {{ $item['label'] }}
@endforeach
@else

No risk factors identified

@endif

Keputusan Ujian OGTT

Your OGTT test results

Normal Range Reference:

FBS: <5.1 mmol/L  |  2HPP: <7.8 mmol/L

Rujuk CPG Diabetes in Pregnancy 2017

@php $date = $getData('date'); $pog = $getData('pog'); $fbs = $getData('fbs'); $hpp = $getData('2hpp'); $hasResults = $date || $pog || $fbs || $hpp; @endphp @if($hasResults)
{{ $formatDate($date) }}
{{ $pog ?: 'Not recorded' }}
@if($fbs) {{ $fbs }} mmol/L @if(floatval($fbs) >= 5.1) ⚠️ Above normal @else ✓ Normal @endif @else Not recorded @endif

Normal: <5.1 mmol/L

@if($hpp) {{ $hpp }} mmol/L @if(floatval($hpp) >= 7.8) ⚠️ Above normal @else ✓ Normal @endif @else Not recorded @endif

Normal: <7.8 mmol/L

@else

No OGTT results recorded yet

@endif
Back to Health Record