@php $results=$custom_test['results']; $coagulation_tests=$results->filter(function ($value, $key) { return in_array($value['component']['custom_name'],[ 'coagulation_bleeding_time', 'coagulation_clotting_time', 'coagulation_d_dimar' ]); }); $pt_tests=$results->filter(function ($value, $key) { return in_array($value['component']['custom_name'],[ 'pt_time', 'pt_concentration', 'pt_inr', 'pt_ratio', 'pt_control' ]); }); $ptt_tests=$results->filter(function ($value, $key) { return in_array($value['component']['custom_name'],[ 'coagulation_ptt_control', 'coagulation_ptt_time', 'coagulation_fibrinogen_time', 'coagulation_fdp_time' ]); }); @endphp
| {{__('Test')}} | {{__('Result')}} | {{__('Reference range')}} | {{__('Status')}} |
|---|---|---|---|
| {{$result['component']['short_name']}} | @include('partials.custom_tests.coagulation.result',['result'=>$result]) | @include('partials.custom_tests.coagulation.reference_range',['result'=>$result]) | @include('partials.custom_tests.coagulation.status',['result'=>$result]) |
| {{__('Test')}} | {{__('Result')}} | {{__('Reference range')}} | {{__('Status')}} |
|---|---|---|---|
| {{$result['component']['short_name']}} | @include('partials.custom_tests.coagulation.result',['result'=>$result]) | @include('partials.custom_tests.coagulation.reference_range',['result'=>$result]) | @include('partials.custom_tests.coagulation.status',['result'=>$result]) |
| {{__('Test')}} | {{__('Result')}} | {{__('Reference range')}} | {{__('Status')}} |
|---|---|---|---|
| {{$result['component']['short_name']}} | @include('partials.custom_tests.coagulation.result',['result'=>$result]) | @include('partials.custom_tests.coagulation.reference_range',['result'=>$result]) | @include('partials.custom_tests.coagulation.status',['result'=>$result]) |