{{ $statuses[$investigation->status] ?? $investigation->status }}

{{ $investigation->investigationType->name }}

{{ $investigation->patient->fullName() }} · {{ $investigation->patient->patient_number }}

@if ($canManage && $investigation->status === \App\Models\InvestigationRequest::STATUS_PENDING)
@csrf
@endif @if ($canManage && $investigation->status === \App\Models\InvestigationRequest::STATUS_SAMPLE_COLLECTED)
@csrf
@endif @if ($canManage && $investigation->status === \App\Models\InvestigationRequest::STATUS_AWAITING_REVIEW)
@csrf
@endif @if ($canManage && $investigation->status === \App\Models\InvestigationRequest::STATUS_COMPLETED)
@csrf
@endif

Request details

Priority
{{ $investigation->priority }}
Sample barcode
{{ $investigation->sample_barcode ?? '—' }}
Clinical notes
{{ $investigation->clinical_notes ?? '—' }}
@if ($canManage && in_array($investigation->status, [\App\Models\InvestigationRequest::STATUS_IN_PROGRESS, \App\Models\InvestigationRequest::STATUS_AWAITING_REVIEW], true))

Enter results

@csrf

Ref: {{ $investigation->investigationType->reference_text ?? ($investigation->investigationType->reference_low.'–'.$investigation->investigationType->reference_high) }} {{ $investigation->investigationType->unit }}

@endif @if ($investigation->result && ($canViewResults || $canManage))

Results @if ($investigation->result->is_abnormal)· Abnormal@endif

@foreach ($investigation->result->values as $val)

{{ $val->parameter }}: {{ $val->value }} {{ $val->unit }} @if ($val->reference_text || $val->reference_low) (ref: {{ $val->reference_text ?? $val->reference_low.'–'.$val->reference_high }}) @endif

@endforeach @if ($investigation->result->result_summary)

{{ $investigation->result->result_summary }}

@endif @if ($investigation->result->interpretation)

{{ $investigation->result->interpretation }}

@endif
@endif