@extends('layouts.app') @section('title', isset($regularExam) ? $regularExam->typeLabel() . ' Reguler' : 'Pemeriksaan EKG - MCU Klinik Mustika') @section('breadcrumb') @if (isset($regularExam)) @include('regular_supporting_exams.partials.form_breadcrumb') @else

Pemeriksaan EKG - {{ $appointment->patient->full_name }}

@endif @endsection @section('content') @if (session('success')) @endif @if (session('error')) @endif @if ($errors->any()) @endif @if (isset($regularExam)) @include('regular_supporting_exams.partials.form_context') @else @include('partials.patient_info') @endif @if (isset($physicalExamResult) && $physicalExamResult)
Informasi Pasien
Tanda Vital
@if (!( $physicalExamResult->blood_pressure_systolic || $physicalExamResult->blood_pressure_diastolic || $physicalExamResult->heart_rate || $physicalExamResult->body_temperature || $physicalExamResult->respiratory_rate ))
Data tanda vital belum tersedia
Silakan lakukan registrasi terlebih dahulu untuk mengisi data tanda vital.
@else @if ($physicalExamResult->blood_pressure_systolic || $physicalExamResult->blood_pressure_diastolic)
{{ $physicalExamResult->blood_pressure_systolic ?? '-' }}/{{ $physicalExamResult->blood_pressure_diastolic ?? '-' }} mmHg @php $systolic = $physicalExamResult->blood_pressure_systolic ?? 0; $diastolic = $physicalExamResult->blood_pressure_diastolic ?? 0; if ($systolic >= 140 || $diastolic >= 90) { $bp_status = 'Hipertensi'; $bp_class = 'text-danger'; } else { $bp_status = 'Normal'; $bp_class = 'text-success'; } @endphp
{{ $bp_status }}
@endif @if ($physicalExamResult->heart_rate)
{{ $physicalExamResult->heart_rate }} bpm @php $hr = $physicalExamResult->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 @if ($physicalExamResult->respiratory_rate)
{{ $physicalExamResult->respiratory_rate }}/menit @php $rr = $physicalExamResult->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 @if ($physicalExamResult->body_temperature)
{{ number_format($physicalExamResult->body_temperature, 1) }}°C @php $temp = $physicalExamResult->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
@endif
Antropometri
@if (!( $physicalExamResult->height || $physicalExamResult->weight || $physicalExamResult->waist_circumference ))
Data antropometri belum tersedia
Silakan lakukan registrasi terlebih dahulu untuk mengisi data antropometri.
@else @if ($physicalExamResult->height)
{{ number_format($physicalExamResult->height, 0) }} cm
Range normal: 150-200 cm
@endif @if ($physicalExamResult->weight)
{{ number_format($physicalExamResult->weight, 1) }} kg
Range normal: 40-150 kg
@endif @if ($physicalExamResult->height && $physicalExamResult->weight)
@php $bmi = $physicalExamResult->bmi ?? $physicalExamResult->weight / ($physicalExamResult->height / 100) ** 2; 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
{{ number_format($bmi, 1) }} kg/m²
{{ $bmi_status }}
@endif @if ($physicalExamResult->waist_circumference)
@php $waist = $physicalExamResult->waist_circumference; $gender = (isset($regularExam) ? $regularExam->regularCheckup->patient : $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
{{ number_format($waist, 1) }} cm
{{ $waist_status }} ({{ $gender === 'male' ? 'Pria <90cm' : 'Wanita <80cm' }})
@endif @endif
@endif
@if (isset($regularExam) || app(\App\Services\RoleAccess::class)->allows(auth()->user(), 'ekg.store.result'))
@csrf @if (isset($regularExam)) @method ('PUT') @endif @if ($existingResults?->status === 'rejected')
Hasil ditolak. Alasan: {{ $existingResults->rejection_reason }}
@endif
Upload Gambar Hasil EKG
Petunjuk Upload Gambar EKG
Upload gambar hasil pemeriksaan EKG. Interpretasi hasil akan dilakukan oleh dokter pada tahap verifikasi.
Format yang didukung: JPG, PNG, GIF, PDF. Maksimal 10MB per file. Anda dapat memilih beberapa file sekaligus.
@if (isset($regularExam)) @include('regular_supporting_exams.partials.attachments', ['withinForm' => true]) @elseif (optional($existingResults)->ekg_images) @foreach (is_array($existingResults->ekg_images) ? $existingResults->ekg_images : (json_decode($existingResults->ekg_images, true) ?: []) as $index => $image)
EKG Image {{ $index + 1 }}
Gambar EKG {{ $index + 1 }}
@endforeach @endif
Catatan Pemeriksaan
@if (isset($regularExam)) @include('regular_supporting_exams.partials.form_back') @elseif (app(\App\Services\RoleAccess::class)->allows(auth()->user(), 'ekg.worklist')) Kembali ke Worklist @endif
@endif
@php $examinationHistoryVariant = 'process'; @endphp @if (!isset($regularExam) && app(\App\Services\RoleAccess::class)->allows(auth()->user(), 'ekg.results.show')) @include('ekg.partials.examination_history_tab_pane') @endif
@push('scripts') @endpush @endsection