Lab work queue

Pending samples and investigations in progress

All requests @if (app(\App\Services\Care\CarePermissions::class)->can(auth()->user() ? app(\App\Services\Care\OrganizationResolver::class)->memberFor(auth()->user(), $organization) : null, 'lab.catalog.manage')) Catalog @endif
@if (($canSwitchBranch ?? false) && isset($branches) && $branches->count() > 1) @elseif (isset($branches) && $branches->isNotEmpty()) {{ $branches->first()->name }} @endif
@include('care.partials.queue-ops', [ 'queueIntegration' => $queueIntegration ?? null, 'queueCallNextRoute' => 'care.lab.queue.call-next', 'queueCallNextParams' => [], 'branchId' => $branchId, ])
@forelse ($queue as $item)
@if (! empty($queueIntegration['enabled']) && $item->queue_ticket_number) @include('care.partials.queue-ticket', [ 'ticketNumber' => $item->queue_ticket_number, 'ticketStatus' => $item->queue_ticket_status, ]) @endif

{{ $item->patient->fullName() }}

{{ $item->investigationType->name }}

{{ $statuses[$item->status] ?? $item->status }} · {{ $item->priority }} · {{ $item->created_at->diffForHumans() }}

@if (! empty($queueIntegration['enabled']) && $item->queue_ticket_uuid && ($item->queue_ticket_status ?? '') !== 'serving')
@csrf
@endif Open
@empty

Queue is empty.

@endforelse