@if(Auth::user()->can('view-vitals-on-inpatient-sheet'))

Vitals and Observations

@if(count($patient_vitals) > 0) @foreach($patient_vitals as $key => $value) @endforeach @else @endif
{{ $key }} @php $vitals_counter = 0; @endphp @foreach($value as $value_array) @php if($vitals_counter > 4) { break; } $vitals_counter++; @endphp @endforeach
{{ $value_array["value"] }}
@php try { echo Carbon\Carbon::parse($value_array["time"])->toDateTimeString(); } catch (Exception) {} @endphp
No Vitals Registered
View All Vitals Add New Vitals @endif @push('scripts') @endpush