FACILITY/BMU TUBERCULOSIS REGISTER REPORT


patient_type @foreach ((array)json_decode($patients, true) as $items) @php $resultData = getPatientResultsForBMU($items['patient_id']); @endphp {{-- @dd( $resultData) --}} @if($items['sex'] == 'Male') @elseif($items['sex'] == 'Female') @endif @if($items['phone']) @else @endif @php $dose = getDosageListByPatient($items['patient_id']); @endphp @endforeach
Reg. Date TB patient number Full name Sex
(M/F)
Age Phone Treatment unit Treatment start date Regimen Disease site: pulmonary/extrapulmonary Type of case
New Relapse Treatment after failure Treatment after loss to follow-up Transfer in Other
{{ \Carbon\Carbon::parse($items['created_at'])->toDateString() }} {{ $items['patient_number'] }} {{ $items['Fname'].' '.$items['Lname'] }}MF{{ $items['age'] }} {{ '0'.$items['phone'] }}YesNo @if($dose) @foreach ($dose as $doseItem) @endforeach @else @endif
{{ $doseItem['start'] }}
No Dose
--- @foreach ($resultData as $tb_name) @endforeach
{{ $tb_name['name'] }}
@foreach ($resultData as $patient_type) @if($patient_type['patient_type'] == 'New') @endif @endforeach
Yes
@foreach ($resultData as $patient_type) @if($patient_type['patient_type'] == 'Relapse') @endif @endforeach
Yes
@foreach ($resultData as $patient_type) @if($patient_type['patient_type'] == 'Failure') @endif @endforeach
Yes
@foreach ($resultData as $patient_type) @if($patient_type['patient_type'] == 'Treatment after Loss to follow up') @endif @endforeach
Yes
@foreach ($resultData as $patient_type) @if($patient_type['patient_type'] == 'Transfer') @endif @endforeach
Yes
@foreach ($resultData as $patient_type) @if($patient_type['patient_type'] == "Other's") @endif @endforeach
Yes