@include('layouts.header_pdf_print')
{{ __('surgery.surgery_details') }} : {{ streamline_date($anaesthesia->created_at) }}

@php $total_amount_to_pay = 0; @endphp
{{ __('surgery.patient_number') }} {{ $patient->number}}   Anaethesia Type {{ get_name($anaesthesia->anaesthesia_type , 'id', 'name', 'procedures') }}
{{ __('surgery.patient_names') }} {{ $patient->first_name}} {{ $patient->last_name}}   {{ __('inpatient.age') }} {{ get_patients_age($patient->date_of_birth) }}
{{ __('inpatient.residence') }} {{ patient_residence($patient->id) }}   {{ __('inpatient.gender') }} {{ $patient->gender == 1 ? __('inpatient.male') : __('inpatient.female') }}
{{ __('anaesthetics.procedure') }} {{ get_name($anaesthesia->procedure_id, 'id', 'name', 'procedures') }}
{{ __('anaesthetics.primary_diagnosis') }} {{ isset($diagnoses[$anaesthesia->primary_diagnosis]) ? $diagnoses[$anaesthesia->primary_diagnosis] : "" }}
{{ __('anaesthetics.other_diagnoses') }} @php $other_diagnoses_array = @unserialize($anaesthesia->other_diagnoses); @endphp @if(!empty($other_diagnoses_array) && $other_diagnoses_array[0] != "") @foreach($other_diagnoses_array as $diagnosis)
    @if($diagnosis != "")
  • {{ $diagnoses[$diagnosis] }}
  • @endif
@endforeach @endif
{{ __('anaesthetics.date') }} {{ streamline_date($anaesthesia->created_at) }}
{{ __('anaesthetics.time_anaesthesia_commenced') }} {{ date('h:i:s A', strtotime($anaesthesia->time_commenced)) }}
{{ __('anaesthetics.anaesthetist') }} {{ get_full_name($anaesthesia->anaesthetist, 'id', 'first_name', 'last_name', 'users') }}
{{ __('anaesthetics.anaesthetics') }} {{ get_name($anaesthesia->anaesthesia_type, 'id', 'name', 'procedures') }}
{{ __('anaesthetics.blood_given') }} {{ $anaesthesia->blood_given }} units
{{ __('anaesthetics.anaesthesia_checklist') }} @php $anaesthesia_checklist = ''; $anaesthesia_checklist_array = unserialize($anaesthesia->anaesthesia_checklist); foreach ($anaesthesia_checklist_array as $key => $value) { if ($value == 1) { $anaesthesia_checklist .= $key . ', '; } } @endphp {{ rtrim($anaesthesia_checklist, ', ') }}
{{ __('anaesthetics.monitoring_signs') }} @php $monitoring_signs = ''; $monitoring_signs_array = unserialize($anaesthesia->monitoring_signs); foreach ($monitoring_signs_array as $k => $v) { if ($v == 1) { $monitoring_signs .= $k . ', '; } } @endphp {{ rtrim($monitoring_signs, ', ') }}
{{ __('anaesthetics.type_of_needle_used') }} {{ get_name($anaesthesia->needle_type, 'id', 'name', 'needle_types') }}
{{ __('anaesthetics.volume_administered') }} {{ $anaesthesia->volume_administered }} mls
{{ __('anaesthetics.muscle_relaxants') }} {{ get_name($anaesthesia->muscle_relaxant, 'id', 'name', 'muscle_relaxants') }}
{{ __('anaesthetics.checklist_confirmed_by') }} {{ get_full_name($anaesthesia->checklist_confirmed_by, 'id', 'first_name', 'last_name', 'users') }}
{{ __('anaesthetics.induction') }} {{ get_name($anaesthesia->induction, 'id', 'name', 'anaesthesia_inductions') }}
{{ __('anaesthetics.antibiotics') }} @php $antibiotics_array = explode(",", $anaesthesia->antibiotics) @endphp @for($i = 0; $i < count($antibiotics_array); $i++) {{ $i + 1 }} - {{ get_name($antibiotics_array[$i], 'id', 'name', 'drugs') }}
@endfor
{{ __('anaesthetics.airway') }} {{ get_name($anaesthesia->airway, 'id', 'name', 'anaesthesia_airways') }}
ETT {{ get_name($anaesthesia->ETT, 'id', 'name', 'anaesthesia_etts') }}
{{ __('anaesthetics.agent_used') }} {{ get_name($anaesthesia->agent_used, 'id', 'name', 'anaesthetic_agents') }}
{{ __('anaesthetics.technique') }} {{ get_name($anaesthesia->technique, 'id', 'name', 'anaesthetic_techniques') }}
{{ __('anaesthetics.analgesics') }} @php $analgesics_array = explode(",", $anaesthesia->analgesic); @endphp @if (count($analgesics_array) > 0)
    @for ($i = 0; $i < count($analgesics_array); $i++)
  • {{ get_name($analgesics_array[$i], 'id', 'name', 'analgesics') }}
  • @endfor
@endif
{{ __('anaesthetics.volatile_liquid_anaethetics') }} {{ get_name($anaesthesia->volatile_liquid_anaethetics, "id", "name", "volatile_liquid_anaesthetics") }}
{{ __('anaesthetics.volatile_liquid_anaesthetic_used') }} {{ $anaesthesia->volatile_liquid_anaesthetic_used }} mls
{{ __('anaesthetics.iv_fluids_used') }} @php $iv_fluids = ''; $iv_fluid_array = unserialize($anaesthesia->iv_fluids); $iv_fluid_ids = $iv_fluid_array['iv_fluids']; $iv_fluid_units = $iv_fluid_array['units']; if (!empty($iv_fluid_ids)) { foreach ($iv_fluid_ids as $x => $y) { $iv_fluids .= '* ' . (isset($iv_fluid_units[$x]) ? $iv_fluid_units[$x] : "") . ': ' . $iv_fluid_units[$x] . ' mls
'; } } @endphp {!! $iv_fluids !!}


{{ __('surgery.comments') }}
{!! nl2br(e($anaesthesia->comments)) !!}