@extends('layouts.dashboard') @section('title', $patient->patient_name . ' - VitalFlow') @php $activeNav = 'dashboard'; $sidebarBrand = 'VitalFlow'; $sidebarSubtitle = 'RSUD Yowari'; $sidebarSupport = false; $sidebarVariant = 'patient-input'; $sidebarSticky = true; $topbarTitle = 'Detail Pasien'; $topbarMode = 'patient-input'; @endphp @section('content')

{{ $patient->patient_name }}

{{ $detail['location'] }} - {{ $patient->doctor_name }}

{{ $detail['initials'] }}

{{ $patient->patient_name }}

Perawat: {{ $patient->nurse_name }}

Volume Awal

{{ $patient->initial_volume }} ml

Berat Terbaca

{{ $detail['currentWeight'] }} gram

Sisa Infus

{{ $detail['percentage'] }}%

Estimasi Habis

{{ $detail['timeRemaining'] }}

Sisa Cairan

{{ $detail['percentage'] }}%

Laporan Pergantian Infus

Daftar formal kantong infus yang pernah dipakai pasien ini.

{{ count($detail['infusionSessions'] ?? []) }} sesi
@forelse (($detail['infusionSessions'] ?? []) as $session)

{{ $session['infusionName'] }}

{{ $session['startedAt'] }}

{{ $session['status'] }}
Volume
{{ $session['volume'] }}
Sisa Terakhir
{{ $session['latestPercentage'] }}
Perawat Penanggung Jawab
{{ $session['nurse'] }}
@empty

Belum ada laporan pergantian infus.

@endforelse
@endsection