{{-- @dd( $resultData) --}}
{{ \Carbon\Carbon::parse($items['created_at'])->toDateString() }} |
{{ $items['patient_number'] }} |
{{ $items['Fname'].' '.$items['Lname'] }} |
@if($items['sex'] == 'Male')
M |
@elseif($items['sex'] == 'Female')
F |
@endif
{{ $items['age'] }} |
{{ '0'.$items['phone'] }} |
@if($items['phone'])
Yes |
@else
No |
@endif
@php
$dose = getDosageListByPatient($items['patient_id']);
@endphp
@if($dose)
@foreach ($dose as $doseItem)
{{ $doseItem['start'] }} |
@endforeach
@else
No Dose
|
@endif
|
--- |
@foreach ($resultData as $tb_name)
{{ $tb_name['name'] }} |
@endforeach
|
@foreach ($resultData as $patient_type)
@if($patient_type['patient_type'] == 'New')
Yes |
@endif
@endforeach
|
@foreach ($resultData as $patient_type)
@if($patient_type['patient_type'] == 'Relapse')
Yes |
@endif
@endforeach
|
@foreach ($resultData as $patient_type)
@if($patient_type['patient_type'] == 'Failure')
Yes |
@endif
@endforeach
|
@foreach ($resultData as $patient_type)
@if($patient_type['patient_type'] == 'Treatment after Loss to follow up')
Yes |
@endif
@endforeach
|
@foreach ($resultData as $patient_type)
@if($patient_type['patient_type'] == 'Transfer')
Yes |
@endif
@endforeach
|
@foreach ($resultData as $patient_type)
@if($patient_type['patient_type'] == "Other's")
Yes |
@endif
@endforeach
|
@endforeach