@extends('layouts.app') @section('title', 'Detail Pasien Reguler - MCU Klinik Mustika') @section('breadcrumb')

Detail Pasien Reguler

Identitas pasien dan riwayat kunjungan klinik reguler.

@endsection @section('content')
Informasi Pasien
{{ $patient->medical_record_number ?: 'Tanpa No. MR' }}
Nama Pasien
{{ $patient->name }}
@if ($patient->nickname)
({{ $patient->nickname }})
@endif
NIK
{{ $patient->nik ?: '-' }}
Jenis Kelamin
{{ $patient->gender === 'male' ? 'Laki-laki' : 'Perempuan' }}
Tanggal Lahir
{{ $patient->birth_date ? \App\Helpers\DateHelper::formatDate($patient->birth_date) : '-' }}
Telepon
{{ $patient->phone_number ?: '-' }}
Perusahaan
{{ $patient->company?->name ?? 'Individu' }}
@if ($patient->job_position)
{{ $patient->job_position }}
@endif
Alamat
{{ $patient->address ?: '-' }}
Total Kunjungan
{{ $summary['total'] }}
Terdaftar
{{ $summary['registered'] }}
Sedang Diperiksa
{{ $summary['in_progress'] }}
Selesai
{{ $summary['completed'] }}
Riwayat Kunjungan Reguler
Kembali
@include('partials.tables.filters', ['paginator' => $regularCheckups, 'tableFilters' => ['sort', 'direction']]) @forelse ($regularCheckups as $regularCheckup) @php($statusClass = match ($regularCheckup->status) { \App\Models\RegularCheckup::STATUS_REGISTERED => 'bg-warning', \App\Models\RegularCheckup::STATUS_IN_PROGRESS => 'bg-primary', \App\Models\RegularCheckup::STATUS_COMPLETED => 'bg-success', \App\Models\RegularCheckup::STATUS_CANCELLED => 'bg-danger', default => 'bg-secondary' }) @empty @endforelse
No. @include('partials.tables.sort_link', ['column' => 'checkup_date', 'label' => 'Tanggal']) @include('partials.tables.sort_link', ['column' => 'checkup_number', 'label' => 'Nomor Kunjungan']) Keluhan Dokter Diagnosis @include('partials.tables.sort_link', ['column' => 'status', 'label' => 'Status']) Aksi
{{ $regularCheckups->firstItem() + $loop->index }} {{ \App\Helpers\DateHelper::formatShort( $regularCheckup->checkup_date, ) }} {{ $regularCheckup->checkup_number }} {{ \Illuminate\Support\Str::limit( \App\Helpers\QuillHelper::plainText($regularCheckup->chief_complaint) ?: '-', 60, ) }} {{ $regularCheckup->doctor?->name ?? '-' }} {{ \Illuminate\Support\Str::limit( $regularCheckup->diagnosis ?: '-', 60, ) }} {{ $regularCheckup->statusLabel() }} Lihat Kunjungan
Tidak ada data yang cocok dengan pencarian.
{{ $regularCheckups->links('partials.tables.pagination') }}
@endsection