@extends('layouts.app') @section('title', 'Hasil Pemeriksaan EKG - MCU Klinik Mustika') @section('breadcrumb')
| No. | @include('partials.tables.sort_link', ['column' => 'registration_number', 'label' => 'No. Reg']) | @include('partials.tables.sort_link', ['column' => 'medical_record_number', 'label' => 'No. MR']) | @include('partials.tables.sort_link', ['column' => 'name', 'label' => 'Nama Pasien']) | @include('partials.tables.sort_link', ['column' => 'gender', 'label' => 'Jenis Kelamin']) | @include('partials.tables.sort_link', ['column' => 'age', 'label' => 'Umur']) | @include('partials.tables.sort_link', ['column' => 'appointment_date', 'label' => 'Tanggal MCU']) | @include('partials.tables.sort_link', ['column' => 'staff', 'label' => 'Pemeriksa & Verifikator']) | @include('partials.tables.sort_link', ['column' => 'verified_at', 'label' => 'Waktu Selesai Pemeriksaan']) | Aksi |
|---|---|---|---|---|---|---|---|---|---|
| {{ $completedResults->firstItem() + $loop->index }} | {{ $result->appointment->registration_number }} | {{ $result->appointment->patient->medical_record_number }} |
{{ $result->appointment->patient->name }}
@php
$companyFromPatient =
$result->appointment->patient && $result->appointment->patient->company
? $result->appointment->patient->company
: null;
$company = $companyFromPatient ?: $result->appointment->company ?? null;
@endphp
@if ($company)
{{ $company->name }}
@if ($result->appointment->patient->job_position)
{{ $result->appointment->patient->job_position }}
@endif
@else
Individu
@endif
|
{{ $result->appointment->patient->gender == 'male' ? 'Laki-laki' : 'Perempuan' }} | {{ $result->appointment->patient->detailed_age ?: '-' }} | {{ $result->appointment->appointment_date ? $result->appointment->appointment_date->format('d/m/Y') : '-' }} |
@if ($result->examiner)
{{ $result->examiner }}
Pemeriksa
@endif
@if ($result->verifier)
{{ $result->verifier->name }}
Verifikator
@endif
@if (!$result->examiner && !$result->verifier)
-
@endif
|
@if ($result->verified_at)
{{
\Carbon\Carbon::parse($result->verified_at)->format(
'd/m/Y H:i',
)
}}
{{
\Carbon\Carbon::parse(
$result->verified_at,
)->diffForHumans()
}}
@elseif ($result->updated_at)
{{
\Carbon\Carbon::parse($result->updated_at)->format(
'd/m/Y H:i',
)
}}
{{
\Carbon\Carbon::parse(
$result->updated_at,
)->diffForHumans()
}}
@else
-
@endif
|
@canRoute ('ekg.results.show')
@endcanRoute
@if ($result->status == 'completed' || $result->status == 'verified')
@canRoute ('ekg.results.pdf')
download
@endcanRoute
@canRoute ('ekg.results.print')
@endcanRoute
@endif
|