|
@@ -9,7 +9,6 @@ $numRelevant = 0;
|
|
$numVisible = 0;
|
|
$numVisible = 0;
|
|
$plural = 'Problems';
|
|
$plural = 'Problems';
|
|
?>
|
|
?>
|
|
-
|
|
|
|
<?php if (!count($points)): ?>
|
|
<?php if (!count($points)): ?>
|
|
<div class="text-secondary">-</div>
|
|
<div class="text-secondary">-</div>
|
|
<?php else: ?>
|
|
<?php else: ?>
|
|
@@ -19,7 +18,8 @@ $plural = 'Problems';
|
|
<?php $rel = $point->relevanceToNote($note); ?>
|
|
<?php $rel = $point->relevanceToNote($note); ?>
|
|
<?php $plan = $point->lastChildPlan; ?>
|
|
<?php $plan = $point->lastChildPlan; ?>
|
|
<?php if($plan && @($plan->data)) $plan->data = json_decode($plan->data); ?>
|
|
<?php if($plan && @($plan->data)) $plan->data = json_decode($plan->data); ?>
|
|
- <?php $numVisible++; ?>
|
|
|
|
|
|
+ <?php if(!$rel && $point->addition_reason_category != 'DURING_VISIT' /* && @VJ PLAN_NOT_UPDATED_ON_THIS_NOTE */ ) continue; ?>
|
|
|
|
+ <?php $numVisible++; ?>
|
|
<tr>
|
|
<tr>
|
|
<td class="width-40px pl-0 pr-2 {{ $rel ? 'font-weight-bold text-info':'' }}">
|
|
<td class="width-40px pl-0 pr-2 {{ $rel ? 'font-weight-bold text-info':'' }}">
|
|
@if($rel)
|
|
@if($rel)
|
|
@@ -53,7 +53,7 @@ $plural = 'Problems';
|
|
<?php if ($point->addition_reason_category === 'DURING_VISIT'): ?>
|
|
<?php if ($point->addition_reason_category === 'DURING_VISIT'): ?>
|
|
<span class="ml-2 text-sm text-success">* Added during visit</span>
|
|
<span class="ml-2 text-sm text-success">* Added during visit</span>
|
|
<?php else: ?>
|
|
<?php else: ?>
|
|
- <span class="ml-2 text-sm text-info">* Added on intake</span>
|
|
|
|
|
|
+ <span class="ml-2 text-sm text-info">* Added on intakee</span>
|
|
<?php endif;?>
|
|
<?php endif;?>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|