@php $statusOptions = \App\Support\Lookup::options('analyzer_status'); $connectionOptions = \App\Support\Lookup::options('analyzer_connection'); $departmentOptions = \App\Support\Lookup::options('lab_department'); @endphp {{ $stats['messagesToday'] }} message(s) on the wire today {{-- ------------------------------------------------------------ stats --}}

Registered

{{ $stats['total'] }}

Machines the lab owns

On the bench

{{ $stats['active'] }}

Talking to the LIS right now

In maintenance

{{ $stats['maintenance'] }}

The bridge refuses these

Wire today

{{ $stats['messagesToday'] }}

Outbound worklists + inbound batches

{{-- ------------------------------------------------- registry --}} {{ $analyzers->total() }} machine(s)
Reset
@forelse ($analyzers as $analyzer) @empty @endforelse
Machine Department Connection Maps · msgs · QC Status
{{ $analyzer->code }} {{ $analyzer->name }} {{ collect([$analyzer->manufacturer, $analyzer->model])->filter()->implode(' · ') ?: '—' }} @if ($analyzer->software_version) · v{{ $analyzer->software_version }} @endif {{ $analyzer->department_label }} @if ($analyzer->section) {{ $analyzer->section }} @endif {{ $analyzer->connection_label }} @if ($analyzer->connection_type === 'tcp_ip' && $analyzer->host) {{ $analyzer->host }}:{{ $analyzer->port }} @endif @if ($analyzer->is_bidirectional) two-way @endif {{ $analyzer->test_maps_count }} · {{ $analyzer->messages_count }} · {{ $analyzer->qc_records_count }}
@if ($analyzer->status !== 'retired')
@csrf @method('PATCH')
@endif
No analyzer registered yet — add the first machine on the right.
@if ($analyzers->hasPages())
{{ $analyzers->links() }}
@endif
{{-- ------------------------------------------------------ register --}}
@csrf
Worklist out
From a request's workspace: transmit the pending lines as an ORM worklist to a live, two-way machine for that department.
Results in
Pull the ORU batch back onto the same request. Flags are applied, but the bench still verifies before release.
Off the bench
Setting a machine to maintenance or retired stops the bridge — no worklist out, no batch in — until it is back.
{{-- ------------------------------------------------------- edit modals --}} @foreach ($analyzers as $analyzer)
@csrf @method('PUT')

Edit {{ $analyzer->code }}

Details of the machine on the bench. Status is changed from the list, not here.

@endforeach