瀏覽代碼

unfinished

Peter Muturi 3 年之前
父節點
當前提交
13211457a3
共有 1 個文件被更改,包括 7 次插入3 次删除
  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>
       </h6>
       <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)
-        <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>
           @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
         </div>
         @endif