@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); }; @endphp @extends('layouts.mother') @section('content')

Medical Checkup (RME)

Routine Medical Examination

@if($testResult)

Basic Information

Height and BMI measurements

{{ $getData('height') ?: 'Not recorded' }}
{{ $getData('bmi') ?: 'Not recorded' }}

PEMERIKSAAN RUTIN KESIHATAN (RME 1)

Routine health examination

{{ $getData('rme1_date') ? \Carbon\Carbon::parse($getData('rme1_date'))->format('d/m/Y') : 'Not recorded' }}

General Examination

{{ $getData('rme1_pink_pallor') ?: 'Not recorded' }}
{{ $getData('rme1_jaundice') ?: 'Not recorded' }}
{{ $getData('rme1_bp') ?: 'Not recorded' }}
{{ $getData('rme1_pulse') ?: 'Not recorded' }}
{{ $getData('rme1_neck_swelling') ?: 'Not recorded' }}
{{ $getData('rme1_clubbing') ?: 'Not recorded' }}

Cardiovascular System

{{ $getData('rme1_jvp') ?: 'Not recorded' }}
{{ $getData('rme1_apex_beat') ?: 'Not recorded' }}
{{ $getData('rme1_heart_sounds') ?: 'Not recorded' }}

Respiratory System

{{ $getData('rme1_breast') ?: 'Not recorded' }}
{{ $getData('rme1_lungs') ?: 'Not recorded' }}

Abdominal Examination

{{ $getData('rme1_abdomen') ?: 'Not recorded' }}
{{ $getData('rme1_sfh') ?: 'Not recorded' }}
{{ $getData('rme1_fhr') ?: 'Not recorded' }}

Lower Limbs

{{ $getData('rme1_oedema') ?: 'Not recorded' }}
{{ $getData('rme1_calf_tenderness') ?: 'Not recorded' }}
{{ $getData('rme1_notes') ?: 'No notes recorded' }}

Medical Officer Information

Examining medical officer details

{{ $getData('medical_officer_name') ?: 'Not recorded' }}
@if($getData('medical_officer_signature'))
Medical Officer Signature
@endif

Dental Examination

Dental health assessment

{{ $getData('dental_date') ? \Carbon\Carbon::parse($getData('dental_date'))->format('d/m/Y') : 'Not recorded' }}
{{ $getData('dental_notes') ?: 'No notes recorded' }}
{{ $getData('dental_officer_name') ?: 'Not recorded' }}
@if($getData('dental_officer_signature'))
Dental Officer Signature
@endif
@if($testResult->performedByNurse || $testResult->signature_data)

Nurse Information

Recorded by

{{ $testResult->performedByNurse->name ?? 'N/A' }}
{{ $testResult->performed_at ? $testResult->performed_at->format('d/m/Y H:i') : 'N/A' }}
@if($testResult->signature_data)
Nurse Signature
@endif
@endif
@else

No Medical Checkup Data

This test has not been recorded yet.

Back to Record
@endif
@endsection