@php
$results=$custom_test['results'];
$blood_picture_tests=$results->take(12);
@endphp
|
|
{{$custom_test['test']['name']}}
|
|
Blood Picture
|
|
Test
|
Result
|
Status
|
Reference range
|
Unit
|
@foreach($blood_picture_tests as $test)
@if(isset($test['result']))
|
@if(!in_array($test['component']['short_name'],['HGB','PLT','WBCs']))
▪
{{$test['component']['short_name']}}
@else
{{$test['component']['short_name']}}
@endif
|
{{$test['result']}}
|
{{$test['status']}}
|
@include('pdf.partials.medical_report_reference_range_2',['result'=>$test])
|
{{$test['component']['unit']}}
|
@endif
@endforeach
@if($custom_test['comment']!=null)
@endif
|
|
|
@if($custom_test['show_history'])
@include('pdf.partials.test_history',['test'=>$custom_test])
@endif