|
@@ -9,59 +9,41 @@
|
|
|
|
|
|
<!-- title -->
|
|
|
|
|
|
- <span class="font-weight-bold d-flex align-items-center" style="">
|
|
|
- <span style="color: black; text-decoration: underline; font-size: 13px;">
|
|
|
- {{$segment->display_title}}
|
|
|
- </span>
|
|
|
- </span>
|
|
|
-
|
|
|
-
|
|
|
- @if(!$note->is_signed_by_hcp)
|
|
|
- <a class="edit-trigger d-none if-edit c-pointer ml-3">
|
|
|
- <i class="fas fa-caret-up font-size-16"></i>
|
|
|
- </a>
|
|
|
+ <div style="color: black; text-decoration: underline; font-size: 13px;" class="font-weight-bold mr-2">
|
|
|
+ {{$segment->display_title}}:
|
|
|
+ </div>
|
|
|
|
|
|
- <!-- refresh -->
|
|
|
- <a class="ml-3 font-weight-normal refresh-segment c-pointer {{$iName === 'medrisk_vigilence' ? 'on-hover-only' : ''}} screen-only"
|
|
|
- data-segment-uid="{{$segment->uid}}"
|
|
|
- title="Update with latest patient data">
|
|
|
- <i class="fa fa-sync"></i>
|
|
|
- </a>
|
|
|
+ <div class="flex-grow-1">
|
|
|
+ <div class="d-none if-not-edit inset-comment summary-container {{$iName === 'medrisk_vigilence' ? 'px-0' : 'p-2 pl-4'}}">
|
|
|
+ @if($note->is_signed_by_hcp && $segment->accepted_suggestion_summary_html)
|
|
|
+ {!! $segment->accepted_suggestion_summary_html !!}
|
|
|
+ @else
|
|
|
+ {!! $segment->summary_html !!}
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
|
|
|
-
|
|
|
- <!-- if intake - link to plan segment-->
|
|
|
- <?php
|
|
|
- $isIntake = strpos($iName, 'intake_') === 0;
|
|
|
- ?>
|
|
|
- @if($isIntake)
|
|
|
- <?php
|
|
|
- $targetSegment = 'plan_' . substr($iName, 7);
|
|
|
- ?>
|
|
|
- <a class="segment-trigger ml-3"
|
|
|
- href="#"
|
|
|
- data-target="{{$targetSegment}}">
|
|
|
- Changes During this Visit (Plan)
|
|
|
+ <?php if($iName !== 'ros') { ?>
|
|
|
+ <div class="d-none if-edit edit-container">
|
|
|
+ {!! $segment->edit_html !!}
|
|
|
+ </div>
|
|
|
+ <?php } ?>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ @if(!$note->is_signed_by_hcp)
|
|
|
+ <a class="edit-trigger d-none if-edit c-pointer ml-3">
|
|
|
+ <i class="fas fa-caret-up font-size-16"></i>
|
|
|
</a>
|
|
|
- @endif
|
|
|
|
|
|
- <!-- if plan - link to intake segment-->
|
|
|
- <?php
|
|
|
- $isPlan = strpos($iName, 'plan_') === 0 && $iName !== 'plan_free_text' && $iName !== 'plan_free_text_v2';
|
|
|
- ?>
|
|
|
- @if($isPlan)
|
|
|
- <?php
|
|
|
- $targetSegment = 'intake_' . substr($iName, 5);
|
|
|
- ?>
|
|
|
- <a class="segment-trigger ml-3"
|
|
|
- href="#"
|
|
|
- data-target="{{$targetSegment}}">
|
|
|
- Back to Intake (Subjective)
|
|
|
+ <!-- refresh -->
|
|
|
+ <a class="ml-3 font-weight-normal refresh-segment c-pointer {{$iName === 'medrisk_vigilence' ? 'on-hover-only' : ''}} screen-only"
|
|
|
+ data-segment-uid="{{$segment->uid}}"
|
|
|
+ title="Update with latest patient data">
|
|
|
+ <i class="fa fa-sync"></i>
|
|
|
</a>
|
|
|
- @endif
|
|
|
-
|
|
|
- {{--@include('app/patient/note/_templates-v2-index', ['sectionInternalName' => $segment->segmentTemplate->internal_name])--}}
|
|
|
|
|
|
- @endif
|
|
|
+ @endif
|
|
|
|
|
|
{{-- if segment has log feature, link --}}
|
|
|
@if($pro->pro_type === 'ADMIN' && file_exists(resource_path("views/app/patient/segment-templates/{$segment->segmentTemplate->internal_name}/log.blade.php")))
|
|
@@ -71,26 +53,13 @@
|
|
|
title="{{$segment->display_title}} - Change Log"
|
|
|
popup-style="medium"
|
|
|
href="/note-segment-view/{{$patient->uid}}/{{$note->uid}}/{{$segment->uid}}/<?= $segment->segmentTemplate->internal_name ?>/log">
|
|
|
- <span>Change Log</span>
|
|
|
+ <i class="fas fa-history font-size-16"></i>
|
|
|
</a>
|
|
|
@endif
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
- <div class="d-none if-not-edit inset-comment summary-container {{$iName === 'medrisk_vigilence' ? 'px-0' : 'p-2 pl-4'}}">
|
|
|
- @if($note->is_signed_by_hcp && $segment->accepted_suggestion_summary_html)
|
|
|
- {!! $segment->accepted_suggestion_summary_html !!}
|
|
|
- @else
|
|
|
- {!! $segment->summary_html !!}
|
|
|
- @endif
|
|
|
- </div>
|
|
|
-
|
|
|
- <?php if($iName !== 'ros') { ?>
|
|
|
- <div class="d-none if-edit edit-container">
|
|
|
- {!! $segment->edit_html !!}
|
|
|
- </div>
|
|
|
- <?php } ?>
|
|
|
-
|
|
|
+
|
|
|
|
|
|
</div>
|