@php $results=$custom_test['results']; $physical_tests=$results->skip(1)->take(7); $microscopic_tests=$results->skip(9)->take(20); @endphp @foreach($physical_tests as $result) @if(isset($result['result'])) @endif @endforeach @foreach($microscopic_tests as $result) @if(isset($result['result'])||isset($result['result_to'])) @endif @endforeach @if(!empty($custom_test['comment'])) @endif
@include('pdf.medical_report.template_5.partials.test_name',['test'=>$custom_test['test']])
▪ PHYSICAL EXAMINATION Result Reference Range
▪ {{$result['component']['name']}} : @if($result['test_type']=='range')
{{$result['result']}} - {{$result['result_to']}}
@else
{{$result['result']}}
@endif
@if(!empty($result['reference_range']))

{!! $result['reference_range_html'] !!}

@endif
▪ MICROSCOPIC EXAMINATION
@if(!in_array($result['component']['custom_name'],['trophozoite_2','cysts_2','ova_2','larva_2','proglottids_2','flagellates_2','undigested_food_2','undigested_food_3','parasitology_artifacts_2'])) ▪ @endif @if(!in_array($result['component']['custom_name'],['trophozoite_2','cysts_2','ova_2','larva_2','proglottids_2','flagellates_2','undigested_food_2','undigested_food_3','parasitology_artifacts_2'])) {{$result['component']['name']}} @endif : @if($result['test_type']=='range')
@if(isset($result['result'])&&isset($result['result_to'])) {{$result['result']}} - {{$result['result_to']}} @elseif(isset($result['result'])) Over {{$result['result']}} @else Less than {{$result['result_to']}} @endif
@else
{{$result['result']}}
@endif
@if(isset($result['degree']))
{{$result['degree']}}
@endif
@if(!empty($result['reference_range']))

{!! $result['reference_range_html'] !!}

@endif
Comment : {!! $custom_test['comment_html'] !!}