@extends('layouts.app') @section('title', __('laboratory::messages.external.title')) @section('content')

{{ __('laboratory::messages.external.title') }}

{{ __('laboratory::messages.external.subtitle') }}

@if (Route::has('patients.show')) {{ __('laboratory::messages.orders.patient_record') }} @endif
@csrf
{{-- Who this is for. Shown large: attaching one patient's results to another is the worst outcome here. --}}

{{ $patient->name }}

{{ $patient->mrn }} @if ($patient->ageLabel) ยท {{ $patient->ageLabel }} @endif

{{-- Suggestions from what has already been recorded, so the same laboratory is not stored under three spellings across three visits. --}} @foreach ($laboratories as $laboratory) @endforeach
{{ __('laboratory::messages.external.reported_on_hint') }}
@forelse ($catalogue as $category => $tests)

{{ $category }}

@foreach ($tests as $test)
@error('values.'.$test->id) {{ $message }} @enderror
@endforeach
@empty

{{ __('laboratory::messages.external.no_catalogue_title') }}

{{ __('laboratory::messages.external.no_catalogue_text') }}

@if (Route::has('lab.catalogue.index')) {{ __('laboratory::messages.orders.catalogue') }} @endif
@endforelse
@endsection