{{-- SEC 1 --}} {{-- SEC 2 --}} {{-- SEC 3 --}} {{-- SEC 4 --}} {{-- SEC 5 --}} {{-- SEC 6 --}} {{-- SEC 7 --}} {{-- SEC 8 --}} {{-- SEC 9 --}} @foreach ($groups as $group) {{-- SEC 1 --}} {{-- SEC 2 --}} {{-- SEC 3 --}} {{-- SEC 4 --}} {{-- SEC 5 --}} {{-- SEC 6 --}} {{-- SEC 7 --}} {{-- SEC 8 --}} {{-- SEC 9 --}} @endforeach
DATE SAMPLE RECEIVED CONFIRMATORY ACCESSION NUMBER NSC SAMPLE ID NSC NAME OF PATIENTNAME OF MOTHER DATE OF BIRTH DATE OF SAMPLE COLLECTION AGE AT COLLECTION ETHINICITY TEST STATUS CANCELLATION REMARKSHPLC PATTERN CE PATTERN SIGNIFICANT VARIANT CONC. (%) READING DATE REPORTEDTAT HEMOGRAMS (CBC w/ Red Cell Indices) INTERPRETATION INSTRUCTION REMARKSDate Collected - Date Received Running day Running Day-Date Collected SAMPLE STATUS BABY RBCBABY HGB BABY HCT BABY MCV BABY MCH BABY MCHC BABY RDWMOTHER RBC MOTHER HGB MOTHER HCT MOTHER MCV MOTHER MCHMOTHER MCHC FATHER RBC FATHER HGB FATHER HCT FATHER MCVFATHER MCH FATHER MCHC GENOTYPING RESULT
{{ $group['sample'] ? $group['sample']['receive_date'] : '' }} {{ $group['group'] ? $group['group']['invoice_no'] : '' }} {{ $group['sample'] ? $group['sample']['nsc_sample_id'] : '' }} {{ $group['group']['institution'] ? $group['group']['institution']['nsc_code'] : '' }} {{ $group['group']['patient'] ? $group['group']['patient']['name'] . ' ' . $group['group']['patient']['lastname'] : '' }} {{ $group['group']['patient'] ? $group['group']['patient']['mother_name'] : '' }} {{ $group['group']['patient'] ? $group['group']['patient']['dob'] : '' }} {{ $group['sample'] ? $group['sample']['collection_date'] : '' }} @if ($group->sample) @if ($group['sample']['collection_date']) @php $date = strtotime($group['sample']['collection_date']) - strtotime($group->group->patient->dob); $days = round($date / (60 * 60 * 24)); @endphp {{ $days >= 0 ? $days . ' day(s)' : '' }} @endif @endif {{ $group['group']['patient'] ? $group['group']['patient']['nationality'] : '' }} {{ $group['done'] === 1 ? 'Done' : ( is_null($group['cancelled']) ? 'Pending' : ($group['cancelled'] === 0 ? 'Pending Cancellation' : 'Cancelled')) }} {{ $group && ($group['cancelled'] === 0 || $group['cancelled'] === 1) ? $group['comment'] : '' }}{{ $group['group']['hema'] ? $group['group']['hema']['hemoglobin_pattern'] : '' }} {{ $group['final_result'] ?? '' }} {{$group['releaseReport'] ? date('F d, Y', strtotime($group['releaseReport']['releasing_datetime'])) : ''}} {{isset($group['hemogram']) ? $group['hemogram']['remarks'] : ''}} {{$group->results()->where('code', 'INTERPRETATION')->first() != null ? html_entity_decode(strip_tags($group->results()->where('code', 'INTERPRETATION')->first()->write_up)) : ($group->test->components()->where('code', 'INTERPRETATION')->first() != null ? html_entity_decode(strip_tags($group->test->components()->where('code', 'INTERPRETATION')->first()->writeup)) : null)}} {{$group->results()->where('code', 'INSTRUCTION')->first() != null ? html_entity_decode(strip_tags($group->results()->where('code', 'INSTRUCTION')->first()->write_up)) : ($group->test->components()->where('code', 'INSTRUCTION')->first() != null ? html_entity_decode(strip_tags($group->test->components()->where('code', 'INSTRUCTION')->first()->writeup)) : null)}} {{isset($group->results()->first()->remarks) != null ? $group->results()->first()->remarks : null}} {{ $group->date_analyzed ?? '' }} {{isset($group['hemogram']) ? $group['hemogram']['rbc_baby'] : ''}}{{isset($group['hemogram']) ? $group['hemogram']['hemo_baby'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['hema_baby'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['mcv_baby'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['mch_baby'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['mchc_baby'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['rdw_baby'] : ''}}{{isset($group['hemogram']) ? $group['hemogram']['rbc_mother'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['hemo_mother'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['hema_mother'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['mcv_mother'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['mch_mother'] : ''}}{{isset($group['hemogram']) ? $group['hemogram']['mchc_mother'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['rbc_father'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['hemo_father'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['hema_father'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['mcv_father'] : ''}}{{isset($group['hemogram']) ? $group['hemogram']['mch_father'] : ''}} {{isset($group['hemogram']) ? $group['hemogram']['mchc_father'] : ''}}