|
@@ -63,6 +63,38 @@
|
|
Refresh
|
|
Refresh
|
|
</a>
|
|
</a>
|
|
|
|
|
|
|
|
+ <!-- if intake - link to plan segment-->
|
|
|
|
+ <?php
|
|
|
|
+ $isIntake = strpos($iName, 'intake_') === 0;
|
|
|
|
+ ?>
|
|
|
|
+ @if($isIntake)
|
|
|
|
+ <?php
|
|
|
|
+ $targetSegment = 'plan_' . substr($iName, 7);
|
|
|
|
+ ?>
|
|
|
|
+ <span class="mx-2 text-secondary text-sm">|</span>
|
|
|
|
+ <a class="segment-trigger"
|
|
|
|
+ href="#"
|
|
|
|
+ data-target="{{$targetSegment}}">
|
|
|
|
+ During Visit
|
|
|
|
+ </a>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
|
|
+ <!-- if plan - link to intake segment-->
|
|
|
|
+ <?php
|
|
|
|
+ $isPlan = strpos($iName, 'plan_') === 0;
|
|
|
|
+ ?>
|
|
|
|
+ @if($isPlan)
|
|
|
|
+ <?php
|
|
|
|
+ $targetSegment = 'intake_' . substr($iName, 5);
|
|
|
|
+ ?>
|
|
|
|
+ <span class="mx-2 text-secondary text-sm">|</span>
|
|
|
|
+ <a class="segment-trigger"
|
|
|
|
+ href="#"
|
|
|
|
+ data-target="{{$targetSegment}}">
|
|
|
|
+ On Intake
|
|
|
|
+ </a>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
@include('app/patient/note/_templates-v2-index', ['sectionInternalName' => $segment->segmentTemplate->internal_name])
|
|
@include('app/patient/note/_templates-v2-index', ['sectionInternalName' => $segment->segmentTemplate->internal_name])
|
|
@endif
|
|
@endif
|
|
|
|
|