Requisition No: {{ $inhouse->id }} Report No: Department: {{ $inhouse->department }} Requesting Officer: {{ $inhouse->requested_by }} Date of request {{ $inhouse->created_at }}
@if(Entrust::can('view_names')) @else @endif
{{ $patient->name }}N/A{{ trans('messages.gender')}} {{ $patient->getGender(false) }} {{ trans('messages.age')}} {{ $patient->getAge()}} {{ trans('messages.patient-id')}} {{ $patient->patient_number}}
Unit @if(isset($tests)) @if(!is_null($tests->first())) @if(is_null($tests->first()->visit->ward)) @if($tests->first()->visit->visit_type == 'Out-patient') {{ 'OPD' }} @endif @else {{ $tests->first()->visit->ward->name }} @endif @endif @endif Requesting Officer @if(isset($tests)) {{ is_null($tests->first()) ? '':$tests->first()->requested_by }} @endif


Lab Reception
Specimen Type Received By Date Received {{ trans('messages.specimen-status')}} {{ Lang::choice('messages.test-category', 2)}} Tests Requested
@forelse($tests as $test) @if($test->specimen->specimen_status_id == UnhlsSpecimen::NOT_COLLECTED) @elseif($test->specimen->specimen_status_id == UnhlsSpecimen::ACCEPTED) @elseif($test->test_status_id == UnhlsTest::REJECTED) @endif @empty @endforelse
{{ $test->specimen->specimenType->name }} {{trans('messages.specimen-not-collected')}}{{$test->specimen->acceptedBy->name}} {{$test->specimen->time_accepted}} {{trans('messages.specimen-accepted')}}{{$test->specimen->rejectedBy->name}} {{$test->specimen->time_rejected}} {{trans('messages.specimen-rejected')}}{{ $test->testType->testCategory->name }} {{ $test->testType->name }}
{{trans("messages.no-records-found")}}


{{trans('messages.test-results')}}
{{Lang::choice('messages.test-type', 1)}} {{trans('messages.test-results-values')}} {{trans('messages.tested-by')}} Results Entry Date
@forelse($tests as $test) @if(!$test->testType->isCulture() && ($test->isCompleted() || $test->isVerified()))
{{ $test->testType->name }} @foreach($test->testResults as $result) @if($result->result != '') @if($test->testType->measures->count() > 1) @endif @endif @endforeach @if($test->testType->name == 'HIV') @else @endif
{{ Measure::find($result->measure_id)->name }}: {{ $result->result }} {{ Measure::getRange($test->visit->patient, $result->measure_id) }} {{ Measure::find($result->measure_id)->unit }}
Interpretaion:{{$test->interpreteHIVResults()}}
Comments: {{ $test->interpretation == '' ? 'N/A' : $test->interpretation }}
{{ $test->isCompleted()?$test->testedBy->name:'Pending'}} {{ $test->time_completed }}
@elseif($test->testType->isCulture()) @if(count($test->isolated_organisms)>0)
Antimicrobial Susceptibility Testing(AST)
Organism(s) Antibiotic(s) Result(s)
@foreach($test->isolated_organisms as $isolated_organism) @if($isolated_organism->drug_susceptibilities->count() == 0) @else @foreach($isolated_organism->drug_susceptibilities as $drug_susceptibility) @if ($i > 1) @endif @endforeach @endif
{{$isolated_organism->organism->name}}
{{$drug_susceptibility->drug->name}} {{$drug_susceptibility->drug_susceptibility_measure->symbol}}
@endforeach
Comment(s) {{$test->interpretation}}
Analysis Performed by: {{ $test->isCompleted()?$test->testedBy->name:'Pending' }}
Result Guide S-Sensitive | R-Resistant | I-Intermediate
@else @if($test->culture_observation)
{{ $test->culture_observation->observation }}
@endif @endif @endif @empty
{{trans("messages.no-records-found")}}
@endforelse
Approved By : {{ trans('messages.signature-holder') }}