Patients

Total TB Patients: {{ count((array)json_decode($patientData, true)) }}

{{-- --}} @if((array)json_decode($patientData, true)) {{-- @dd((array)json_decode($patientData, true)) --}} @foreach ((array)json_decode($patientData, true) as $key => $Dataitems ) @php $patient_result_info = displayPatientsResultByRegion($Dataitems['patient_id']); @endphp @endforeach @endif
# First Name Middle Name Last Name Phone Age (Years) Patient No.Patient TypeTB Type Status
{{ $key+1 }} {{ $Dataitems['Fname'] }} {{ $Dataitems['Mname'] }} {{ $Dataitems['Lname'] }} {{ $Dataitems['phone'] }} {{ $Dataitems['age'] }} {{ $Dataitems['patient_number'] }} @foreach ($patient_result_info as $tb_result_info) @endforeach
{{ $tb_result_info['tb_name'] }}
@foreach ($patient_result_info as $tb_result_info) @if($tb_result_info['result'] == true) @elseif($tb_result_info['result'] == false) @endif @endforeach
PositiveNegative