@extends('layouts.base') @section('stylesheets') @endsection @section('content')
@include('inc.components.messages')
Patient Image
@if($patient->profile_image) profile-image @else profile-image @endif
{{ $patient->code }}
@if(Auth::user()->user_type == 2) @endif
Patient Information
Name

{{ $patient->first_name }} {{ $patient->last_name }}

Email

{{ $patient->email }}

Gender

{{ $patient->gender }}

DOB

{{ $patient->dob }}

Phone Number

{{ $patient->phone_number }}

Nationality

{{ $patient->nationality }}

{{ $patient->identification_document }}

{{ $patient->identification_number }}

Address

{{ $patient->address }}

@if(Auth::user()->user_type == 2)

@endif
@if($certificate)
Certificate Information (Covid Card)
Patient Certificate Number

{{ $certificate->code }}

Date Created

{{ $certificate->created_at->format('Y-m-d') }}

Created At

{{ $certificate->facility->name }}

Created By

{{ $certificate->createdBy->first_name }} {{ $certificate->createdBy->last_name }}

@if($certificate->qr_code) qr_code @else qr_code @endif
Vaccinations
@if(Auth::user()->user_type == 2) @endif
@if(Auth::user()->user_type == 2) @endif @foreach($certificate->vaccinations as $vaccination) @if(Auth::user()->user_type == 2) @endif @endforeach
Date Vaccine Batch Number Dose Next Dose Date Personnel Place of VaccinationAction
{{ $vaccination->vaccination_date }} {{ $vaccination->vaccine->product_name }} {{ $vaccination->batch_number }} @if($vaccination->dose == 1) 1ST DOSE @elseif($vaccination->dose == 2) 2ND DOSE @elseif($vaccination->dose == 3) BOOSTER SHOT @elseif($vaccination->dose == 4) OTHER @endif {{ $vaccination->next_dose_date }} {{ $vaccination->issuedBy->first_name }} {{ $vaccination->issuedBy->last_name }} {{ $vaccination->place_of_vaccination }} Edit Remove
@else
No Vaccinations

There is currently have no COVID vaccination record under patient

@if(Auth::user()->user_type == 2) @endif
@endif
@if(Auth::user()->user_type == 2) @include('medicals::inc.components.modals.patients.edit_patient_modal') @include('medicals::inc.components.modals.patients.edit_patient_image_modal') @include('medicals::inc.components.modals.patients.add_vaccination_modal') @include('medicals::inc.components.modals.patients.remove_vaccination_modal') @endif @endsection @section('scripts') @endsection @section('page_scripts') @endsection