@push('styles') @endpush
  • @if( Auth::user()->can('create-patient-episode'))
  • @endif @if( Auth::user()->can('create-patient-episode-with-clinic'))
  • @endif @if( Auth::user()->can('create-patient-episode-with-doctor-and-clinic'))
  • @endif @if( Auth::user()->can('create-patient-episode-with-doctor'))
  • @endif @if( Auth::user()->can('create-patient-episode-with-self-lab-request'))
  • @endif
    @if($patient->gender == 2)
  • @if( Auth::user()->can('create-maternity-admission')) {{ __('layout.maternity_admission') }} @endif @if(Module::has('Maternity') && Module::isEnabled('Maternity')) @endif
  • @endif
  • @if( Auth::user()->can('create-ward-admission')) @endif
@if(!is_null($documents))
@php $un_fullfilled_appointments = un_fullfilled_patient_appointments($patient->id); @endphp @if(count($un_fullfilled_appointments) > 0)
{{ __('layout.patient_appointments') }}
@foreach($un_fullfilled_appointments as $appointment) @endforeach
{{ __('layout.appointment_date') }} {{ __('layout.appointment_time') }} {{ __('layout.episode_started_on') }} {{ __('layout.clinic') }} {{ __('layout.in_charge') }} {{ __('layout.comments') }}
{{ is_null($appointment->appointment_date) ? '' : streamline_date($appointment->appointment_date) }} {{ $appointment->appointment_time }} {{ $appointment->episode_id == 0 ? "" : streamline_date_time(get_name($appointment->episode_id, 'id', 'created_at', 'patient_episodes')) }} {{ get_name($appointment->clinic_allocation, 'id', 'name', 'clinics') }} {{ get_full_name($appointment->incharge_id, 'id', 'first_name', 'last_name', 'users') != "ALL STAFF" ? get_full_name($appointment->incharge_id, 'id', 'first_name', 'last_name', 'users') : "N/A" }} {{ $appointment->comments }} {{ __('layout.appointment_actions') }}
@endif
@php $dob = new Carbon\Carbon($patient->date_of_birth); @endphp @if( Auth::user()->can('create-patient-episode')) @endif @push('scripts') @endpush @push('scripts') @endpush