@role('md')

Results

Testing results
@include('livewire.results.recomend')
@foreach ((array)json_decode($dataSample, true) as $key => $items) @endforeach
Full Name Testing Information
TB Test Type Results TB TYPE Date Feedback Action
{{ $items['Fname'].' '.$items['Lname'] }} @php $check_listInfo = getRequestCheckListInfo($items['id']); $sampleTaken = getSampleInfo($items['list_id']); @endphp @foreach ($sampleTaken as $itemFetched) @endforeach
{{ $itemFetched['sample_name'] }}
@foreach ($sampleTaken as $sampleResultsItem) @if($sampleResultsItem['result'] == true) @else @endif @endforeach
{{ __('Postive') }} {{ __('Negative') }}
@foreach ($sampleTaken as $sampleResultsItem) @php $tb_type = getTBTypeObserved($sampleResultsItem['TB_category_ID']); @endphp @if($sampleResultsItem['TB_category_ID']) @foreach ($tb_type as $tb_type_item) @endforeach @else @endif @endforeach
{{ $tb_type_item['sname'] }}
----
@foreach ($sampleTaken as $sampleResultsItem) @endforeach
{{ \Carbon\Carbon::parse($sampleResultsItem['dateIssue'])->toDateString() }}
@foreach ($sampleTaken as $sampleResultsItem) @if($sampleResultsItem['notified'] == false) @elseif($sampleResultsItem['notified'] == true) @endif @endforeach
Notify ? Notified
@foreach ($sampleTaken as $sampleResultsItem) @php $checked = isRecomended($sampleResultsItem['test_ID']) @endphp @if(empty($checked)) @else @endif @endforeach
{{ __('Comment') }} No action
@endrole @role('ltc')

Results

Testing results
@include('livewire.results.recomend')
@foreach ((array)json_decode($dataSample, true) as $key => $items) @endforeach
Full Name Testing Information
TB Test Type Results TB TYPE Date Feedback Action
{{ $items['Fname'].' '.$items['Lname'] }} @php $check_listInfo = getRequestCheckListInfo($items['id']); $sampleTaken = getSampleInfo($items['list_id']); @endphp @foreach ($sampleTaken as $itemFetched) @endforeach
{{ $itemFetched['sample_name'] }}
@foreach ($sampleTaken as $sampleResultsItem) @if($sampleResultsItem['result'] == true) @else @endif @endforeach
{{ __('Postive') }} {{ __('Negative') }}
@foreach ($sampleTaken as $sampleResultsItem) @php $tb_type = getTBTypeObserved($sampleResultsItem['TB_category_ID']); @endphp @if($sampleResultsItem['TB_category_ID']) @foreach ($tb_type as $tb_type_item) @endforeach @else @endif @endforeach
{{ $tb_type_item['sname'] }}
----
@foreach ($sampleTaken as $sampleResultsItem) @endforeach
{{ \Carbon\Carbon::parse($sampleResultsItem['dateIssue'])->toDateString() }}
@foreach ($sampleTaken as $sampleResultsItem) @if($sampleResultsItem['notified'] == false) @elseif($sampleResultsItem['notified'] == true) @endif @endforeach
Notify ? Notified
@foreach ($sampleTaken as $sampleResultsItem) @php $checked = isRecomended($sampleResultsItem['test_ID']) @endphp @if(empty($checked)) @else @endif @endforeach
{{ __('Comment') }} No action
@endrole