|
@@ -22,8 +22,8 @@ list($medications, $counts) = Point::getPointsOfCategoryExtended($patient, 'MEDI
|
|
|
<th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
|
|
|
@endif
|
|
|
<th class="border-bottom-0 text-secondary">Name</th>
|
|
|
- <th class="border-bottom-0 text-secondary w-25">Review</th>
|
|
|
<th class="border-bottom-0 text-secondary w-25">Directions/Plan</th>
|
|
|
+ <th class="border-bottom-0 text-secondary w-25">Review</th>
|
|
|
<th class="border-bottom-0 text-secondary">Active?</th>
|
|
|
<th class="border-bottom-0 text-secondary">Started</th>
|
|
|
<th class="border-bottom-0 text-secondary">Ended</th>
|
|
@@ -55,8 +55,7 @@ list($medications, $counts) = Point::getPointsOfCategoryExtended($patient, 'MEDI
|
|
|
<div class="d-flex align-items-start">
|
|
|
<div class="flex-grow-1">
|
|
|
<?php
|
|
|
- $point = $medication;
|
|
|
- include resource_path('views/app/patient/segment-templates/_child_review/last-review.php');
|
|
|
+ include resource_path('views/app/patient/segment-templates/_child_plan/last-plan.php');
|
|
|
?>
|
|
|
</div>
|
|
|
<div class="d-inline-flex flex-nowrap">
|
|
@@ -64,10 +63,16 @@ list($medications, $counts) = Point::getPointsOfCategoryExtended($patient, 'MEDI
|
|
|
native target="_blank"
|
|
|
open-in-stag-popup
|
|
|
popup-style="stag-popup-md"
|
|
|
- title="Review log<?= !!@($medication->data->name) ? ' for ' . @($medication->data->name) : '' ?>"
|
|
|
- href="/point/review-log/<?= $medication->uid ?>?popupmode=1">
|
|
|
+ title="Plan log<?= !!@($medication->data->name) ? ' for ' . @($medication->data->name) : '' ?>"
|
|
|
+ href="/point/plan-log/<?= $medication->uid ?>?popupmode=1">
|
|
|
<i class="fa fa-history"></i>
|
|
|
</a>
|
|
|
+ <?php
|
|
|
+ /*$segment = $note->getSegmentByInternalName('plan_medications');
|
|
|
+ if($segment) {
|
|
|
+ include resource_path('views/app/patient/segment-templates/_child_plan/edit-plan.php');
|
|
|
+ }*/
|
|
|
+ ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
@@ -75,7 +80,8 @@ list($medications, $counts) = Point::getPointsOfCategoryExtended($patient, 'MEDI
|
|
|
<div class="d-flex align-items-start">
|
|
|
<div class="flex-grow-1">
|
|
|
<?php
|
|
|
- include resource_path('views/app/patient/segment-templates/_child_plan/last-plan.php');
|
|
|
+ $point = $medication;
|
|
|
+ include resource_path('views/app/patient/segment-templates/_child_review/last-review.php');
|
|
|
?>
|
|
|
</div>
|
|
|
<div class="d-inline-flex flex-nowrap">
|
|
@@ -83,16 +89,10 @@ list($medications, $counts) = Point::getPointsOfCategoryExtended($patient, 'MEDI
|
|
|
native target="_blank"
|
|
|
open-in-stag-popup
|
|
|
popup-style="stag-popup-md"
|
|
|
- title="Plan log<?= !!@($medication->data->name) ? ' for ' . @($medication->data->name) : '' ?>"
|
|
|
- href="/point/plan-log/<?= $medication->uid ?>?popupmode=1">
|
|
|
+ title="Review log<?= !!@($medication->data->name) ? ' for ' . @($medication->data->name) : '' ?>"
|
|
|
+ href="/point/review-log/<?= $medication->uid ?>?popupmode=1">
|
|
|
<i class="fa fa-history"></i>
|
|
|
</a>
|
|
|
- <?php
|
|
|
- /*$segment = $note->getSegmentByInternalName('plan_medications');
|
|
|
- if($segment) {
|
|
|
- include resource_path('views/app/patient/segment-templates/_child_plan/edit-plan.php');
|
|
|
- }*/
|
|
|
- ?>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|