@extends('layouts.app') @section('title', 'Detail Hasil Pemeriksaan Fisik - MCU Klinik Mustika') @section('breadcrumb')
{{ $result->blood_pressure_systolic ?? '-' }}/{{ $result->blood_pressure_diastolic ?? '-' }} mmHg
@if ($result->blood_pressure_systolic && $result->blood_pressure_diastolic) @php $systolic = $result->blood_pressure_systolic; $diastolic = $result->blood_pressure_diastolic; if ($systolic >= 140 || $diastolic >= 90) { $bp_status = 'Hipertensi'; $bp_class = 'text-danger'; } else { $bp_status = 'Normal'; $bp_class = 'text-success'; } @endphp {{ $bp_status }} @endif{{ $result->heart_rate ?? '-' }} x/mnt
@if ($result->heart_rate) @php $hr = $result->heart_rate; if ($hr < 60) { $hr_status = 'Bradikardi'; $hr_class = 'text-warning'; } elseif ($hr > 100) { $hr_status = 'Takikardi'; $hr_class = 'text-danger'; } else { $hr_status = 'Normal'; $hr_class = 'text-success'; } @endphp {{ $hr_status }} @endif{{ $result->respiratory_rate ?? '-' }} x/mnt
@if ($result->respiratory_rate) @php $rr = $result->respiratory_rate; if ($rr < 12) { $rr_status = 'Bradipnea'; $rr_class = 'text-warning'; } elseif ($rr > 24) { $rr_status = 'Takipnea'; $rr_class = 'text-danger'; } else { $rr_status = 'Normal'; $rr_class = 'text-success'; } @endphp {{ $rr_status }} @endif{{ $result->body_temperature ?? '-' }} °C
@if ($result->body_temperature) @php $temp = $result->body_temperature; if ($temp > 42.0) { $temp_status = 'Hipertermi'; $temp_class = 'text-danger'; } elseif ($temp >= 40.0 && $temp <= 42.0) { $temp_status = 'Hiperpireksis'; $temp_class = 'text-danger'; } elseif ($temp >= 38.0 && $temp < 40.0) { $temp_status = 'Febris'; $temp_class = 'text-warning'; } elseif ($temp >= 37.0 && $temp < 38.0) { $temp_status = 'Sub Febris'; $temp_class = 'text-info'; } elseif ($temp >= 36.6 && $temp <= 37.2) { $temp_status = 'Normal'; $temp_class = 'text-success'; } elseif ($temp < 36.0) { $temp_status = 'Hipotermi'; $temp_class = 'text-primary'; } else { $temp_status = 'Normal'; $temp_class = 'text-success'; } @endphp {{ $temp_status }} @endif{{ $result->height ?? '-' }} cm
{{ $result->weight ?? '-' }} kg
{{ $result->bmi ?? '-' }}
@if ($result->bmi)
@php
$bmi = $result->bmi;
if ($bmi < 18.5) {
$bmi_status = 'Underweight';
$bmi_class = 'text-info';
} elseif ($bmi < 23) {
$bmi_status = 'Normal';
$bmi_class = 'text-success';
} elseif ($bmi < 25) {
$bmi_status = 'Overweight';
$bmi_class = 'text-warning';
} elseif ($bmi < 30) {
$bmi_status = 'Obesitas I';
$bmi_class = 'text-danger';
} else {
$bmi_status = 'Obesitas II';
$bmi_class = 'text-danger';
}
@endphp
{{ $bmi_status }}
@endif
{{ $result->waist_circumference ?? '-' }} cm
@if ($result->waist_circumference) @php $waist = $result->waist_circumference; $gender = $result->appointment->patient->gender; if ($gender === 'male') { $waist_normal = $waist < 90; $waist_status = $waist_normal ? 'Normal' : 'Beresiko'; } else { $waist_normal = $waist < 80; $waist_status = $waist_normal ? 'Normal' : 'Beresiko'; } $waist_class = $waist_normal ? 'text-success' : 'text-warning'; @endphp {{ $waist_status }} @endif{{ $visionData['vision_right_uncorrected'] ?? '-' }}
{{ $visionData['vision_left_uncorrected'] ?? '-' }}
@if ($visionData['visual_field_right']) @php if (!function_exists('isNormalTextDetailVision')) { function isNormalTextDetailVision($v) { if (!is_string($v)) { return false; } return preg_match('/normal/i', $v) || preg_match('/negatif/i', $v); } } $vfR = $visionData['visual_field_right']; $isVfRNormal = isNormalTextDetailVision($vfR); @endphp {{ $visionData['visual_field_right'] }} @else - @endif
@if ($visionData['visual_field_left']) @php $vfL = $visionData['visual_field_left']; $isVfLNormal = isNormalTextDetailVision($vfL); @endphp {{ $visionData['visual_field_left'] }} @else - @endif
{{ $visionData['vision_right_corrected'] ?? '-' }}
{{ $visionData['vision_left_corrected'] ?? '-' }}
@if ($visionData['color_vision']) @php $cv = $visionData['color_vision']; $isCvNormal = isNormalTextDetailVision($cv); @endphp {{ $visionData['color_vision'] }} @else - @endif
Pasien belum melakukan pemeriksaan mata atau data belum tersimpan.
Pastikan pemeriksaan visus telah diselesaikan dan diverifikasi.@if ($result->general_appearance) {{ $result->general_appearance }} @else - @endif
@if ($result->consciousness_level) {{ $result->consciousness_level }} @else - @endif
| ' . \App\Helpers\PhysicalExamHelper::getFieldLabel($field) . ' | '; echo '' . \App\Helpers\PhysicalExamHelper::renderPhysicalExamValue( $value, $examData[$systemKey][$field . '_detail'] ?? null, $field, ) . ' | '; echo '
| ' . \App\Helpers\PhysicalExamHelper::getFieldLabel($key) . ' | '; echo '' . \App\Helpers\PhysicalExamHelper::renderPhysicalExamValue( $value, $examData[$systemKey][$key . '_detail'] ?? null, $key, ) . ' | '; echo '
Pemeriksaan fisik sistem organ belum dilakukan atau data belum tersimpan.
Pemeriksaan fisik belum dilakukan atau data belum tersimpan.
{{ $result->notes }}