Kaynağa Gözat

Support for NKDA and related in allergies and rx

Vijayakrishnan 3 yıl önce
ebeveyn
işleme
efe95dc5ab

+ 2 - 2
resources/views/app/patient/segment-templates/intake_medications/summary.blade.php

@@ -13,7 +13,7 @@ $numRelevant = 0;
 <?php if($tracker && @($tracker->data->no_known_medications)): ?>
     <div class="text-secondary"><span>No Known Medications</span></div>
 <?php endif; ?>
-
+<?php if(!$tracker || !@($tracker->data->no_known_medications)): ?>
 <?php if (!count($medications)): ?>
     <div class="text-secondary">No medications</div>
 <?php else: ?>
@@ -59,4 +59,4 @@ $numRelevant = 0;
         </div>
     @endif
 <?php endif; ?>
-
+<?php endif; ?>

+ 2 - 2
resources/views/app/patient/segment-templates/plan_medications/summary.blade.php

@@ -13,7 +13,7 @@ $numVisible = 0;
 <?php if($tracker && @($tracker->data->no_known_medications)): ?>
     <div class="text-secondary"><span>No Known Medications</span></div>
 <?php endif; ?>
-
+<?php if(!$tracker || !@($tracker->data->no_known_medications)): ?>
 <?php if (!count($medications)): ?>
     <div class="text-secondary">No medications</div>
 <?php else: ?>
@@ -82,4 +82,4 @@ $numVisible = 0;
         </div>
     @endif
 <?php endif; ?>
-
+<?php endif; ?>