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