@extends('layouts.app') @section('title', 'Lab report') @section('content')

{{ $labReport->panel ?: 'Lab report' }}

{{ $labReport->report_date->format('j F Y') }} @if($labReport->lab_name) · {{ $labReport->lab_name }} @endif

@if($labReport->attachment_path)Open attachment@endif
@csrf @method('DELETE')
@foreach($labReport->results as $r) @endforeach
TestResultUnitReference rangeFlag
{{ $r->test_name }} {{ $r->display_value }} {{ $r->unit ?: '—' }} {{ $r->ref_low !== null || $r->ref_high !== null ? trim(($r->ref_low!==null?rtrim(rtrim(number_format($r->ref_low,3),'0'),'.'):'').' – '.($r->ref_high!==null?rtrim(rtrim(number_format($r->ref_high,3),'0'),'.'):'')) : '—' }} @if($r->flag==='high')High @elseif($r->flag==='low')Low @elseif($r->flag==='normal')Normal @else @endif
@if($labReport->notes)
Notes

{{ $labReport->notes }}

@endif
← Back to patient @endsection