|
@@ -17,24 +17,24 @@ $plural = 'Problems';
|
|
|
<?php $rel = $point->relevanceToNote($note); ?>
|
|
|
<div>
|
|
|
<span class="">
|
|
|
- <span class="font-weight-bold" <?= $point->is_removed ? 'strike-through' : '' ?> grow-till-300px" >
|
|
|
+ <span class="font-weight-bold <?= $point->is_removed ? 'strike-through' : '' ?> grow-till-300px" >
|
|
|
<?= !!@($point->data->name) ? @($point->data->name) : '-' ?><?= !!@($point->data->icd) ? ' / ' . @($point->data->icd) : '' ?>:
|
|
|
</span>
|
|
|
- <span class="text-nowrap">
|
|
|
- <?php if ($point->is_removed): ?>
|
|
|
- @if($point->removal_reason_category === 'DURING_VISIT')
|
|
|
- <span class="text-sm text-secondary">Removed during visit</span>
|
|
|
- @elseif($point->removal_reason_category === 'ON_INTAKE')
|
|
|
- <span class="text-sm text-secondary">Removed on intake</span>
|
|
|
- @endif
|
|
|
- <?php elseif ($point->added_in_note_id === $note->id): ?>
|
|
|
- <?php if ($point->addition_reason_category === 'DURING_VISIT'): ?>
|
|
|
- <span class="text-sm text-success">* Added during visit</span>
|
|
|
- <?php else: ?>
|
|
|
- <span class="text-sm text-info">* Added on intake</span>
|
|
|
- <?php endif;?>
|
|
|
- <?php endif; ?>
|
|
|
- </span>
|
|
|
+ <span class="text-nowrap">
|
|
|
+ <?php if ($point->is_removed): ?>
|
|
|
+ @if($point->removal_reason_category === 'DURING_VISIT')
|
|
|
+ <span class="text-sm text-secondary">Removed during visit</span>
|
|
|
+ @elseif($point->removal_reason_category === 'ON_INTAKE')
|
|
|
+ <span class="text-sm text-secondary">Removed on intake</span>
|
|
|
+ @endif
|
|
|
+ <?php elseif ($point->added_in_note_id === $note->id): ?>
|
|
|
+ <?php if ($point->addition_reason_category === 'DURING_VISIT'): ?>
|
|
|
+ <span class="text-sm text-success">* Added during visit</span>
|
|
|
+ <?php else: ?>
|
|
|
+ <span class="text-sm text-info">* Added on intake</span>
|
|
|
+ <?php endif;?>
|
|
|
+ <?php endif; ?>
|
|
|
+ </span>
|
|
|
</span>
|
|
|
<div class="ml-3 mb-1">
|
|
|
<?php $review = $point->childReviewAddedInNote($note); ?>
|