{{-- Requesting a test straight from the patient record. A walk-in asking for a blood test, or someone arriving with an outside doctor's request slip, has no consultation and does not need one. The order model has always allowed it — `encounter_id` is nullable and the service takes it as an optional argument — so this is the missing door, not a new capability. An order raised here is identical to one raised in a consultation except that it names no encounter. It still belongs to the patient, still numbers from the branch sequence, and still appears on the worklist. --}} @if ($orderPatientUlid !== null) @if ($orderTests->isEmpty()) {{-- Distinguishes "nothing is set up" from "the list failed to load". With the whole catalogue awaiting approval this is the state most people will meet first. --}}

{{ __('laboratory::messages.orders.no_tests_available') }}

{{ __('laboratory::messages.orders.no_tests_available_text') }}

@else

{{ __('laboratory::messages.orders.request_direct_hint') }}

@csrf {{-- No encounter_id: this order deliberately names no consultation. The service treats that as valid. --}}
{{ __('laboratory::messages.orders.tests_hint') }}
{{ __('laboratory::messages.orders.clinical_details_hint') }}
@endif
@endif