{{--@if($order->HOSPITAL->PROFILE_ID != session('profile_id'))--}} {{--{{exit("
Patient Name : {{$patient_info->NAME}}
Patient ID : {{$patient_info->IDENTIFICATION}}
Date of Birth : {{$patient_info->DATE_OF_BIRTH}}
Age : {{\Carbon\Carbon::parse($patient_info->DATE_OF_BIRTH)->diff(\Carbon\Carbon::now())->format('%y')}} Year(s)
Medical Center : {{$order->HOSPITAL->NAME_EN}}
Gender : {{$patient_info->GENDER_ID == 1 ? "Male" : ($patient_info->GENDER_ID == 2 ? "Female" : "Unknown")}}
Patient Mobile : {{$patient_info->MOBILE_NUMBER}}
SERIAL NUMBER : {{$order->SERIAL_NUMBER}}
@if(!empty($order->eNDUSER->IS_COMPANY) && !empty($patient_info->eNDUSERLABORDER->HOSPITAL->IS_BRANCH))Referral : {{$order->eNDUSER->FULL_NAME}}
@endif @if(!empty($order->referenceDoctor->ID))Doctor : {{$order->referenceDoctor->NAME}}
@endif @if(!empty($order->eNDUSER->MRN) || !empty($mrn))MRN : {{$order->eNDUSER->MRN??$mrn}}
@endif{{$order->ID}}
@else{{$order->ID}}
@endif| Specimen Type | Sample ID Barcode | Sample ID | Collection Date & Time | Tests | Sample Condition | Remark |
|---|---|---|---|---|---|---|
| @if(!empty($sample->sampleGeneration->ID)){{$sample->sampleGeneration->BARCODE_LABEL}} - {{$sample->sampleGeneration->ProfileUnit->NAME_EN ?? ''}} @else PCR Swab @endif | {!!$sample->barcode!!} | {{$sample->ID}} | {{$sample->COLLECTION_TIME}} | {!! $sample->Tests !!} | {!! $sample->SampleConditions !!} |