@php // Helper function to safely get nested data $getData = function($key, $default = '-') use ($testData) { $value = data_get($testData, $key, $default); return $value === '' || $value === null ? $default : $value; }; @endphp
| Test Name | Date Taken | Result |
|---|---|---|
| Rhesus blood group | {{ $getData('rhesus_blood_group.taken_at') }} | {{ $getData('rhesus_blood_group.result') }} |
| VDRL/TPHA | {{ $getData('vdrl_tpha.taken_at') }} | {{ $getData('vdrl_tpha.result') }} |
| Syphilis (Ibu) | {{ $getData('syphilis_ibu.taken_at') }} | {{ $getData('syphilis_ibu.result') }} |
| Syphilis (Pasangan) | {{ $getData('syphilis_pasangan.taken_at') }} | {{ $getData('syphilis_pasangan.result') }} |
| HIV (Ibu) | {{ $getData('hiv_ibu.taken_at') }} | {{ $getData('hiv_ibu.result') }} |
| HIV (Pasangan) | {{ $getData('hiv_pasangan.taken_at') }} | {{ $getData('hiv_pasangan.result') }} |
| Hepatitis B | {{ $getData('hepatitis_b.taken_at') }} | {{ $getData('hepatitis_b.result') }} |
| Malaria | {{ $getData('malaria.taken_at') }} | {{ $getData('malaria.result') }} |
| Date | POG | FBS | 2HPP |
|---|---|---|---|
| {{ $getData('ogtt_results.' . $i . '.date') }} | {{ $getData('ogtt_results.' . $i . '.pog') }} | {{ $getData('ogtt_results.' . $i . '.fbs') }} | {{ $getData('ogtt_results.' . $i . '.2hpp') }} |
| Date | Breakfast | Lunch | Dinner | Pre Bed | Notes |
|---|---|---|---|---|---|
| {{ $getData('monitoring.' . $i . '.date') }} | {{ $getData('monitoring.' . $i . '.breakfast') }} | {{ $getData('monitoring.' . $i . '.lunch') }} | {{ $getData('monitoring.' . $i . '.dinner') }} | {{ $getData('monitoring.' . $i . '.pre_bed') }} | {{ $getData('monitoring.' . $i . '.notes') }} |
| Date | Time | Symptoms | BP | FHR | Urine Protein |
|---|---|---|---|---|---|
| {{ $getData('bp_monitoring.' . $i . '.date') }} | {{ $getData('bp_monitoring.' . $i . '.time') }} | {{ $getData('bp_monitoring.' . $i . '.symptoms') }} | {{ $getData('bp_monitoring.' . $i . '.blood_pressure') }} | {{ $getData('bp_monitoring.' . $i . '.fetal_heart_rate') }} | {{ $getData('bp_monitoring.' . $i . '.urine_protein') }} |
Test data display not yet implemented for this test type.
Test Type: {{ $testType }}