@extends('layouts.app') @section('title', 'Pengambilan Sampel Laboratorium - MCU Klinik Mustika') @push('styles') @endpush @section('breadcrumb')

Pengambilan Sampel Laboratorium

@endsection @section('content')
Informasi Pasien
Nama : {{ $appointment->patient->name }}
No. Rekam Medis : {{ $appointment->patient->medical_record_number ?? '-' }}
Tanggal Lahir : {{ $appointment->patient->birth_date ? \App\Helpers\DateHelper::formatShort($appointment->patient->birth_date) : '-' }}
Jenis Kelamin : {{ $appointment->patient->gender == 'male' ? 'Laki-laki' : 'Perempuan' }}
Tanggal MCU : {{ $appointment->appointment_date ? \App\Helpers\DateHelper::formatShort($appointment->appointment_date) : '-' }}
Paket MCU : {{ $appointment->mcuPackage->name ?? '-' }}
Perusahaan : {{ $appointment->company->name ?? ($appointment->patient->company->name ?? 'Pribadi') }}
Jabatan : @php $sampleJobPosition = $appointment->patient?->corporateInvitationEmployees?->first( fn($emp) => $emp->invitation?->company_id == $appointment->company_id, )?->jobPosition?->name ?? ($appointment->patient?->job_position ?? ($appointment->patient?->occupation ?? '-')); @endphp {{ $sampleJobPosition }}
Tahun Mulai Bekerja : @php $sampleWorkStartYear = $appointment->workActivity?->work_start_year ?? ($appointment->patient?->workActivities()?->where('appointment_id', $appointment->id)->first()?->work_start_year ?? ($appointment->patient?->workActivities()?->first()?->work_start_year ?? '-')); @endphp {{ $sampleWorkStartYear }}
No. Registrasi : {{ $appointment->registration_number ?? '-' }}
Waktu Appointment : {{ $appointment->appointment_time ?? '-' }}
{{--
Pemeriksaan Lab Termasuk dalam Paket
@php $packageLabTests = $appointment->getLabTestsIncluded(); @endphp @if(!empty($packageLabTests))
@foreach($packageLabTests as $category => $tests)
{{ strtoupper(str_replace('_', ' ', $category)) }}
@foreach($tests as $test) {{ ucwords(str_replace('_', ' ', $test)) }} @endforeach
@endforeach
@else

Tidak ada informasi pemeriksaan lab untuk paket ini.

@endif
--}}
Status Pengambilan Sampel
@if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
Terdapat kesalahan input:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
📋 Panduan Pengambilan Sampel:
• Pastikan pasien sudah melakukan persiapan yang diperlukan (puasa, dll)
• Ambil sampel darah sesuai dengan kebutuhan pemeriksaan
• Tandai status pengambilan sampel dan arahkan pasien ke workstation selanjutnya
• Hasil pemeriksaan akan diinput setelah sampel selesai diproses di laboratorium
@canRoute ('lab.sample.store')
@csrf
Pilih Status Pengambilan Sampel:
Sampel Berhasil Diambil

Sampel darah telah diambil dan siap untuk diproses

Gagal Mengambil Sampel

Tidak dapat mengambil sampel (masalah medis, dll)

@canRoute ('lab.worklist') Kembali @endcanRoute
@endcanRoute
@endsection @push('scripts') @endpush