@extends('layouts.nurse') @section('content') @php $getData = function($key, $default = '') use ($testResult) { if (!$testResult || !$testResult->test_data) return $default; return data_get($testResult->test_data, $key, $default); }; $isReadOnly = $isReadOnly ?? false; $disabledAttr = $isReadOnly ? 'disabled' : ''; @endphp
@include('nurse.health-records.tests.partials.readonly-handler')

Medical Checkup (RME)

Routine Medical Examination

@csrf

Basic Information

Height and BMI measurements

PEMERIKSAAN RUTIN KESIHATAN (RME 1)

Routine health examination

General / Neck

CVS

Breast, Lungs, Abdomen, SFH, FHR, Lower Limbs

Lower Limbs

Pegawai Perubatan

Required - Sign above

PEMERIKSAAN GIGI

Dental examination

Pegawai Pergigian

Required - Sign above

Back to Record @if(!$isReadOnly)
@php // Define all available test types in order $allTestTypes = [ 'immunization', 'antenatal_blood', 'medical_checkup', 'ogtt', 'blood_sugar_monitoring', 'blood_pressure_monitoring', 'pre_eclampsia', 'weight_monitoring', 'ultrasound_examination', 'antenatal_color_code', 'vte_risk_assessment', 'antenatal_visits' ]; $currentTestIndex = array_search($test, $allTestTypes); $nextTestKey = ($currentTestIndex !== false && isset($allTestTypes[$currentTestIndex + 1])) ? $allTestTypes[$currentTestIndex + 1] : null; @endphp @if($nextTestKey) @endif
@else
Record is {{ ucfirst($record->status) }} - Read Only
@endif
@endsection