@extends('layouts.app') @section('title', 'Worklist Pemeriksaan - MCU Klinik Mustika') @section('breadcrumb')

Worklist Pemeriksaan

Antrian pasien yang diproses langsung oleh dokter, terpisah dari workstation MCU.

@endsection @section('content')
Gunakan Mulai Pemeriksaan untuk mengambil antrian. Setelah diambil, hasil hanya dapat diisi oleh dokter tersebut; hasil yang sudah disimpan dapat dikoreksi selama alur pasien belum selesai.
Menunggu
{{ $summary['registered'] }}
Sedang diperiksa
{{ $summary['in_progress'] }}
Selesai
{{ $summary['completed'] }}
@include('partials.tables.filters', ['paginator' => $checkups, 'tableFilters' => ['date', 'status', 'q', 'sort', 'direction']]) @forelse ($checkups as $regularCheckup) @empty @endforelse
No. @include('partials.tables.sort_link', ['column' => 'checkup_number', 'label' => 'Nomor & Waktu']) @include('partials.tables.sort_link', ['column' => 'name', 'label' => 'Pasien']) Keluhan Dokter Status Aksi
{{ $checkups->firstItem() + $loop->index }}
{{ $regularCheckup->checkup_number }}
{{ $regularCheckup->checkup_time?->format('H:i') ?: '-' }}
{{ $regularCheckup->patient->name }}
{{ $regularCheckup->patient->medical_record_number ?: $regularCheckup->patient->nik ?: '-' }}
{{ \Illuminate\Support\Str::limit( \App\Helpers\QuillHelper::plainText($regularCheckup->chief_complaint) ?: '-', 80, ) }} {{ $regularCheckup->doctor?->name ?? '-' }} {{ $regularCheckup->workflowStatusLabel() }} @foreach ($regularCheckup->supportingExams->where('status', '!=', \App\Models\RegularSupportingExam::CANCELLED) as $exam)
{{ $exam->typeLabel() }} ยท {{ $exam->statusLabel() }}
@endforeach @if ($regularCheckup->status === \App\Models\RegularCheckup::STATUS_COMPLETED)
{{ $regularCheckup->prescriptions->isNotEmpty() ? 'Resep sudah dibuat' : 'Resep belum dibuat' }}
@endif
@if ($regularCheckup->workflowStatus() === \App\Models\RegularCheckup::STATUS_COMPLETED) @can ('view-regular-checkups') Detail @endcan @elseif ($regularCheckup->status === \App\Models\RegularCheckup::STATUS_REGISTERED)
@csrf
@elseif ($regularCheckup->status === \App\Models\RegularCheckup::STATUS_IN_PROGRESS && $regularCheckup->canBeEditedByDoctor((int) auth()->id())) {{ $regularCheckup->draft_saved_at ? 'Lanjutkan Draf' : 'Edit Pemeriksaan' }} @elseif ($regularCheckup->status === \App\Models\RegularCheckup::STATUS_IN_PROGRESS) Diproses dokter lain @else
@if (\App\Helpers\ModuleHelper::isPharmacyEnabled() && $regularCheckup->canCreatePrescription()) @can ('create-prescriptions') Input Resep @endcan @endif
@if ($regularCheckup->canBeEditedByDoctor((int) auth()->id())) Edit @endif @can ('view-regular-checkups') Detail @endcan
@endif
Tidak ada data yang cocok dengan pencarian.
{{ $checkups->links('partials.tables.pagination') }}
@endsection