Samson Mutunga il y a 3 ans
Parent
commit
da83b33284
1 fichiers modifiés avec 20 ajouts et 20 suppressions
  1. 20 20
      resources/views/layouts/patient-header.blade.php

+ 20 - 20
resources/views/layouts/patient-header.blade.php

@@ -37,6 +37,11 @@ $addressParts .= implode(", ", $addressPart2);
   .patient-header label {
     margin-bottom: 0 !important;
   }
+  @media screen and (max-width:1400px){
+    .header-coverage-status {
+      max-width:305px;
+    }
+  }
 </style>
 <div class="p-2 mcp-theme-1 patient-header">
   @if($patient->is_duplicate)
@@ -70,34 +75,29 @@ $addressParts .= implode(", ", $addressPart2);
         </span>
       </h6>
       <div class="d-flex border-left pl-2 ml-2">
-        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">
-          <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>
+          (<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)
           @endif
         </div>
-        @endif
-        <div class="mr-2">Wt. Scale: <b>{{$patient->hasWeightScaleDevice()?'Yes':'No'}}</b></div>
-        @if($patient->most_recent_cellular_weight_value)
-        <div class="mr-2">Last Wt.:
-          <b>{{round($patient->most_recent_cellular_weight_value, 1)}}</b>
-          @if($patient->most_recent_cellular_weight_measurement_at)
-          <span class="text-sm text-secondary text-nowrap ml-1" title="{{friendly_date_time($patient->most_recent_cellular_weight_measurement_at)}}">({{friendly_date($patient->most_recent_cellular_weight_measurement_at)}})</span>
+        <div class="mr-2">Wt. Scale: <b>{{$patient->hasWeightScaleDevice()?'Yes':'No'}}</b>
+          @if($patient->most_recent_cellular_weight_value)
+          (
+            <b>{{round($patient->most_recent_cellular_weight_value, 1)}}</b>
+            @if($patient->most_recent_cellular_weight_measurement_at)
+            , {{friendly_date($patient->most_recent_cellular_weight_measurement_at)}}
+            @endif
+          )
           @endif
         </div>
-        @endif
+        
 
         <?php $currentCareMonth = $patient->currentCareMonth(); ?>
         @if($currentCareMonth && ($pro->pro_type === 'ADMIN' || $pro->id === $currentCareMonth->mcp_pro_id))
         <div class="text-primary c-pointer" open-in-stag-popup mc-initer="care-month-dashboard-{{$patient->uid}}" title="Care Month: {{friendly_month($currentCareMonth->start_date)}}" popup-style="overflow-visible" href="/patients/view/{{ $patient->uid }}/care-months/view/{{$currentCareMonth->uid}}">
           <?php $spoken = $currentCareMonth->has_anyone_interacted_with_client_about_rm_outside_note; ?>
-          <span class="">RPM comm. this month:</span>
+          <span class="">RPM comm. this mt:</span>
           <b class="{{$spoken ? 'text-success' : ''}}">
             {{$spoken ? 'Yes' : 'No'}}
             @if(!$spoken)
@@ -303,7 +303,7 @@ $addressParts .= implode(", ", $addressPart2);
 
 
     @if(!$patient->getPrimaryCoverage() || $patient->getPrimaryCoverageStatus() !== 'YES')
-    <div class="d-flex bg-light p-2 border">
+    <div class="d-flex bg-light p-2 border header-coverage-status">
       @include('app.patient.coverage-status')
     </div>
     @endif
@@ -492,9 +492,9 @@ $addressParts .= implode(", ", $addressPart2);
       @endif
     </div>
 
-    <div class="bg-light p-2 border max-width-300px">
+    <div class="bg-light p-2 border" style="max-width: 215px;">
       <div>
-        <div class="max-width-300px d-flex">
+        <div class="d-flex">
           <label class="mb-1">Sticky Note:</label>
           <div moe relative wide class="ml-2 hide-inside-popup">
             <a start show><i class="fa fa-edit on-hover-opaque"></i></a>