| {{ $patient['code'] }} |
{{ $patient['name'] }} |
{{ $patient['middle_name'] }} |
{{ $patient['last_name'] }} |
{{ $patient['birth_count'] }} |
{{ $patient['gender'] }} |
{{ date('Y-m-d',strtotime($patient['dob'])) }} |
{{ $patient['age'] }} |
{{ ucfirst($patient['nationality']) }} |
@if(isset($patient['phones'])){
@foreach($patient['phones'] as $phone)
@if($loop->last){{$phone->phone}} @else {{$phone->phone}}, @endif
@endforeach
}
@endif
|
{{ $patient['email'] }} |
{{-- {{ $patient['street'] }} {{ $patient['barangay'] }} {{ $patient['city'] }} {{ $patient['province'] }} {{ isset($patient->region_name->name)?$patient->region_name->name: '' }} {{ $patient['zip_code'] }} | --}}
{{ $patient['street'] }} |
{{ $patient['barangay'] }} |
{{ $patient['city'] }} |
{{ $patient['province'] }} |
{{ isset($patient->region_name->name)?$patient->region_name->name: '' }} |
{{ isset($patient['country'])?$patient['country']:'' }} |
{{ $patient['zip_code'] }} |
{{ $patient['mother_name'] }} |
{{ $patient['guardian_name'] }} |
@if(!empty($patient['contract']['title']))
{{ $patient['contract']['title'] }} |
{{ $patient['start_contract'] }} |
{{ $patient['end_contract'] }} |
@else
|
|
|
@endif
@if (session('branch_id') == 3)
@if($patient['metabolic_registry'] == 1)
Positive
@elseif($patient['metabolic_registry'] == 2)
Negative
@elseif($patient['metabolic_registry'] == 3)
Inconclusive
@endif
|
{{ $patient['metabolic_registry_date'] ? date('Y-m-d',strtotime($patient['metabolic_registry_date'])) : '' }} |
{{ $patient['disorders'] ? $patient['disorders']['disorder'] : '' }} |
@endif
@endforeach