{{ $patient->first_name . ' ' . $patient->second_name }}

AFN {{ $patient->new_id }}

BFN {{ $patient->new_branch_id }}

Date

@if (count($patient->investigation) > 0 && $cat == 1)

{{ $patient->investigation[0]->date }}

@else @if(count($patient->investigation) > 0)

{{ $patient->investigation_lab[0]->date }}

@endif @endif

{{ $patient->new_id }}

@if ($cat == 1)
Radiology Investigation
@else
Lab Investigation
@endif
@if (count($patient->investigation) > 0 && $cat == 1) @foreach ($patient->investigation[0]->items as $item) @endforeach @else @if (count($patient->investigation) > 0) @foreach ($patient->investigation_lab[0]->items as $item) @endforeach @endif @endif
Name Value
{{ $item->name }} {{ $item->value }}
{{ $item->name }} @if($item->value) Check @endif