Browse Source

updated weight label

= 4 years ago
parent
commit
c954500083
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/app/patient/vitals-graph.blade.php

+ 1 - 1
resources/views/app/patient/vitals-graph.blade.php

@@ -91,7 +91,7 @@
 
 
         // weight
         // weight
         $weight = array_filter($allMeasurements, function($_measurement) use ($date) {
         $weight = array_filter($allMeasurements, function($_measurement) use ($date) {
-            return $_measurement['label'] === 'Wt. (lbs.)' && $_measurement['effective_date'] === $date;
+            return $_measurement['label'] === 'Wt. (lbs.)' && $_measurement['effective_date'] === $date && !!$_measurement['numeric_value']; 
         });
         });
         if(count($weight)) {
         if(count($weight)) {
             $weight = array_values($weight);
             $weight = array_values($weight);