|
@@ -685,6 +685,100 @@
|
|
|
|
|
|
@include('app.patient.rm-setup-form')
|
|
@include('app.patient.rm-setup-form')
|
|
|
|
|
|
|
|
+ {{-- rtm --}}
|
|
|
|
+ @if($careMonth->is_enrolled_in_rtm_msk || $careMonth->is_enrolled_in_rtm_lung)
|
|
|
|
+ <hr class="m-negator my-3">
|
|
|
|
+
|
|
|
|
+ <div class="screen-only">
|
|
|
|
+ <div class="d-flex align-items-center mb-2">
|
|
|
|
+ <p class="font-weight-bold text-secondary m-0 font-size-14">RTM Transmissions</p>
|
|
|
|
+ </div>
|
|
|
|
+ <?php $transmissions = $careMonth->rtmTransmissions; ?>
|
|
|
|
+ <table class="table table-striped table-sm table-bordered mt-2 mb-0">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="text-secondary border-bottom-0">Effective Date</th>
|
|
|
|
+ <th class="text-secondary border-bottom-0">Category</th>
|
|
|
|
+ <th class="text-secondary border-bottom-0">Instructions</th>
|
|
|
|
+ <th class="text-secondary border-bottom-0">Response</th>
|
|
|
|
+ <th class="text-secondary border-bottom-0">Stamp</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody>
|
|
|
|
+ @if(!$transmissions || !count($transmissions))
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="text-secondary p-0 border-0">
|
|
|
|
+ No items to show
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ @else
|
|
|
|
+ @foreach($transmissions as $transmission)
|
|
|
|
+ <tr>
|
|
|
|
+ <td>{{friendly_date($transmission->effective_date)}}</td>
|
|
|
|
+ <td>{{$transmission->msk_or_lung}}</td>
|
|
|
|
+ <td>{{$transmission->protocol_detail_json}}</td>
|
|
|
|
+ <td>{{$transmission->feedback_detail_json}}</td>
|
|
|
|
+ <td></td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endforeach
|
|
|
|
+ @endif
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ {{-- rtm time entries --}}
|
|
|
|
+ <hr class="m-negator my-3">
|
|
|
|
+
|
|
|
|
+ <div class="screen-only">
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <h6 class="font-weight-bold text-secondary m-0 font-size-14">RTM Time Entries</h6>
|
|
|
|
+ @if($careMonth->is_enrolled_in_rtm_msk)
|
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
|
+ @include('app.practice-management.care_month_add_rtm_entry_form', ['right' => false, 'type' => 'MSK', 'label' => 'Add for MSK'])
|
|
|
|
+ @endif
|
|
|
|
+ @if($careMonth->is_enrolled_in_rtm_lung)
|
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
|
+ @include('app.practice-management.care_month_add_rtm_entry_form', ['right' => false, 'type' => 'LUNG', 'label' => 'Add for Lung'])
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
+ <table class="table table-striped table-sm table-bordered mt-2 mb-0 table-hover">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0">Effective Date</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0">Time</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0">Created</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0 w-50">Comments</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0 delete-column"> </th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody>
|
|
|
|
+ @foreach($careMonth->rtmEntries as $entry)
|
|
|
|
+ @if(!$entry->is_removed)
|
|
|
|
+ <tr>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ <div class="font-weight-bold">{{friendly_date_time($entry->effective_date, false)}}</div>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ {{time_in_hrminsec($entry->time_in_seconds)}}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ {{friendly_date_time($entry->created_at)}}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ <div class="text-secondary in-table-markup">{!! $entry->content_text !!}</div>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ @include('app.practice-management.care_month_add_rtm_entry_form', ['right' => true, 'type' => ($entry->cm_or_rm_or_rtm_msk_or_rtm_lung === 'RTM_MSK' ? 'MSK' : 'LUNG'), 'entry' => $entry])
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ @endif
|
|
|
|
+ @endforeach
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ @endif
|
|
|
|
+
|
|
@if($pro->pro_type === 'ADMIN')
|
|
@if($pro->pro_type === 'ADMIN')
|
|
|
|
|
|
<hr class="m-negator my-3">
|
|
<hr class="m-negator my-3">
|