Peter Muturi %!s(int64=3) %!d(string=hai) anos
pai
achega
13211457a3
Modificáronse 1 ficheiros con 7 adicións e 3 borrados
  1. 7 3
      resources/views/layouts/patient-header.blade.php

+ 7 - 3
resources/views/layouts/patient-header.blade.php

@@ -70,12 +70,16 @@ $addressParts .= implode(", ", $addressPart2);
         </span>
         </span>
       </h6>
       </h6>
       <div class="d-flex border-left pl-2 ml-2">
       <div class="d-flex border-left pl-2 ml-2">
-        <div class="mr-2">Cell. BP: <b>{{$patient->hasBPDevice()?'Yes':'No'}}</b></div>
+        Cell. BP: Yes (172/118, 04/07/2022) Wt. Scale: Yes (213.8, 04/07/2022) RPM comm. this mt: No
+        <div class="mr-1">Cell. BP: <b>{{$patient->hasBPDevice()?'Yes':'No'}}</b>
+          @if($patient->most_recent_cellular_bp_sbp_mm_hg && $patient->most_recent_cellular_bp_dbp_mm_hg)
+          (<b>{{$patient->most_recent_cellular_bp_sbp_mm_hg ?: '-'}}/{{$patient->most_recent_cellular_bp_dbp_mm_hg ?: '-'}}</b>, @if($patient->most_recent_cellular_bp_measurement_at) {{friendly_date($patient->most_recent_cellular_bp_measurement_at)}} @endif)
+        </div>
         @if($patient->most_recent_cellular_bp_sbp_mm_hg && $patient->most_recent_cellular_bp_dbp_mm_hg)
         @if($patient->most_recent_cellular_bp_sbp_mm_hg && $patient->most_recent_cellular_bp_dbp_mm_hg)
-        <div class="mr-2">Last BP:
+        <div class="mr-2">
           <b>{{$patient->most_recent_cellular_bp_sbp_mm_hg ?: '-'}}/{{$patient->most_recent_cellular_bp_dbp_mm_hg ?: '-'}}</b>
           <b>{{$patient->most_recent_cellular_bp_sbp_mm_hg ?: '-'}}/{{$patient->most_recent_cellular_bp_dbp_mm_hg ?: '-'}}</b>
           @if($patient->most_recent_cellular_bp_measurement_at)
           @if($patient->most_recent_cellular_bp_measurement_at)
-          <span class="text-sm text-secondary text-nowrap ml-1" title="{{friendly_date_time($patient->most_recent_cellular_bp_measurement_at)}}">({{friendly_date($patient->most_recent_cellular_bp_measurement_at)}})</span>
+          <span class="text-sm text-secondary text-nowrap ml-1" title="{{friendly_date_time($patient->most_recent_cellular_bp_measurement_at)}}">{{friendly_date($patient->most_recent_cellular_bp_measurement_at)}})</span>
           @endif
           @endif
         </div>
         </div>
         @endif
         @endif