@extends('layouts.app') @section('title', 'New Direct ' . ($type === 'lab' ? 'Lab' : 'Imaging') . ' Encounter') @section('content')
โ† Back to Direct Encounters
@csrf @if($errors->any())
    @foreach($errors->all() as $err)
  • {{ $err }}
  • @endforeach
@endif

@if($type === 'lab') ๐Ÿงช New Direct Lab Encounter @else ๐Ÿ“ท New Direct Imaging Encounter @endif

Walk-in {{ $type === 'lab' ? 'lab test' : 'imaging' }} request โ€” no doctor consultation. The patient is billed at the till and proceeds to {{ $type === 'lab' ? 'the lab' : 'imaging' }} once payment is confirmed.

{{-- Patient + payer --}}

Not found? Register new patient โ†’

Flagged as STAT for the lab/imaging team.

{{-- โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ LAB-FLAVORED ORDERS โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ --}} @if($type === 'lab')

Lab Tests to Order *

Select one or more tests. Prices auto-fill from the lab catalogue.

@forelse($labTests as $t) @empty @endforelse
Test Category Sample Price (KES)
id, old('lab_test_ids', [])) ? 'checked' : '' }} onchange="recalcLabTotal()"> {{ $t->name }} {{ $t->category ?: 'โ€”' }} {{ $t->sample_type ?: 'โ€”' }} {{ number_format($t->price, 2) }}
No active lab tests in catalogue.
0 test(s) selected Estimated total: KES 0
@endif {{-- โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ RADIOLOGY-FLAVORED ORDERS โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ --}} @if($type === 'radiology')

Imaging Requests *

Add one or more imaging requests. Pricing assigned at the radiology station.

{{-- One initial row, JS adds more on demand --}}
@endif {{-- Optional notes --}}
Cancel
@push('scripts') @endpush @endsection