|
@@ -20,9 +20,13 @@ $medications = Point::getIntakePointsOfCategory($patient, 'MEDICATION', $note);
|
|
|
<?= !!@($medication->data->start_date) ? '/ From ' . @($medication->data->start_date) : '' ?>
|
|
|
</div>
|
|
|
<?php if ($medication->is_removed): ?>
|
|
|
- <span class="ml-2 text-sm text-secondary">Removed on intake</span>
|
|
|
+ @if($medication->removal_reason_category === 'DURING_VISIT')
|
|
|
+ <span class="ml-2 text-sm text-secondary">Removed during visit</span>
|
|
|
+ @elseif($medication->removal_reason_category === 'ON_INTAKE')
|
|
|
+ <span class="ml-2 text-sm text-secondary">Removed on intake</span>
|
|
|
+ @endif
|
|
|
<?php elseif ($medication->added_in_note_id === $note->id): ?>
|
|
|
- <span class="ml-2 text-sm text-success">* Added on intake</span>
|
|
|
+ <span class="ml-2 text-sm text-success">* Added on intake</span>
|
|
|
<?php endif; ?>
|
|
|
</div>
|
|
|
<?php $review = $medication->childReviewAddedInNote($note); ?>
|