@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
{{$custom_test['test']['report_name']}}
▪ Physical Examination Result Reference Range
▪ {{$result['component']['name']}} :
@include('pdf.partials.test_result_2',['result'=>$result])
@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 :
@include('pdf.partials.test_result_2',['result'=>$result])
@if(isset($result['degree']))
{{$result['degree']}}
@endif
@if(!empty($result['reference_range']))

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

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