|
@@ -2,6 +2,19 @@
|
|
|
|
|
|
@section('content')
|
|
@section('content')
|
|
|
|
|
|
|
|
+ <link rel="stylesheet" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.min.css">
|
|
|
|
+ <script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script>
|
|
|
|
+ <style>
|
|
|
|
+ #table-rm-matrix_length, #table-rm-matrix_info {
|
|
|
|
+ padding-left: 0.5rem;
|
|
|
|
+ }
|
|
|
|
+ #table-rm-matrix_filter {
|
|
|
|
+ padding-right: 0.5rem;
|
|
|
|
+ }
|
|
|
|
+ #table-rm-matrix_paginate {
|
|
|
|
+ padding: 0.5rem;
|
|
|
|
+ }
|
|
|
|
+ </style>
|
|
<div class="p-3 mcp-theme-1" id="practice-remote-monitoring">
|
|
<div class="p-3 mcp-theme-1" id="practice-remote-monitoring">
|
|
|
|
|
|
<div class="card">
|
|
<div class="card">
|
|
@@ -14,7 +27,7 @@
|
|
</span>
|
|
</span>
|
|
<?php
|
|
<?php
|
|
|
|
|
|
-use App\Models\Note;
|
|
|
|
|
|
+ use App\Models\Note;
|
|
|
|
|
|
$mStr = request()->input('m') ? request()->input('m') : date('m');
|
|
$mStr = request()->input('m') ? request()->input('m') : date('m');
|
|
$yStr = request()->input('y') ? request()->input('y') : date('Y');
|
|
$yStr = request()->input('y') ? request()->input('y') : date('Y');
|
|
@@ -63,22 +76,22 @@ use App\Models\Note;
|
|
|
|
|
|
<div class="card-body p-0">
|
|
<div class="card-body p-0">
|
|
<div class="d-flex align-items-start m-0">
|
|
<div class="d-flex align-items-start m-0">
|
|
- <div class="flex-grow-1 p-0">
|
|
|
|
- <table class="table table-sm table-striped table-hover p-0 m-0">
|
|
|
|
|
|
+ <div class="flex-grow-1 px-0 pt-2">
|
|
|
|
+ <table class="table table-sm table-striped table-hover p-0 m-0 border-top" id="table-rm-matrix">
|
|
<thead class="bg-light">
|
|
<thead class="bg-light">
|
|
<tr>
|
|
<tr>
|
|
- <th class="border-0 pl-2">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'Name', 'key' => 'client_name'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'DOB', 'key' => 'dob'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'RPM?', 'key' => 'is_enrolled_in_rm'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'Cell. BP?', 'key' => 'is_assigned_cellular_bp_device'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'Cell. Scale?', 'key' => 'is_assigned_cellular_weight_scale_device'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'Last BP', 'key' => 'most_recent_cellular_bp_measurement_at'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'Last Wt', 'key' => 'most_recent_cellular_weight_measurement_at'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'Last Visit', 'key' => 'most_recent_completed_mcp_note_date'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => 'Interacted?', 'key' => 'has_mcp_interacted_with_client_about_rm'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => '#Meas. Days', 'key' => 'number_of_days_with_remote_measurements'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => '#Unstamped', 'key' => 'rm_num_measurements_not_stamped_by_mcp'])</th>
|
|
|
|
- <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.remote-monitoring"), 'label' => '#RPM Mins.', 'key' => 'rm_total_time_in_seconds_by_mcp'])</th>
|
|
|
|
|
|
+ <th class="border-0 pl-2">Name</th>
|
|
|
|
+ <th class="border-0">DOB</th>
|
|
|
|
+ <th class="border-0">RPM?</th>
|
|
|
|
+ <th class="border-0">Cell. BP?</th>
|
|
|
|
+ <th class="border-0">Cell. Scale?</th>
|
|
|
|
+ <th class="border-0">Last BP</th>
|
|
|
|
+ <th class="border-0">Last Wt</th>
|
|
|
|
+ <th class="border-0">Last Visit</th>
|
|
|
|
+ <th class="border-0">Interacted?</th>
|
|
|
|
+ <th class="border-0">#Meas. Days</th>
|
|
|
|
+ <th class="border-0">#Unstamped</th>
|
|
|
|
+ <th class="border-0">#RPM Mins.</th>
|
|
<th class="border-0">Billable</th>
|
|
<th class="border-0">Billable</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
@@ -108,7 +121,14 @@ use App\Models\Note;
|
|
?>
|
|
?>
|
|
<tr>
|
|
<tr>
|
|
<td class="pl-2">
|
|
<td class="pl-2">
|
|
- <a href="/patients/view/{{ $iPatient->client_uid }}" class="text-nowrap">{{ $iPatient->client_name }}</a>
|
|
|
|
|
|
+ <a href="/patients/view/{{ $iPatient->client_uid }}/care-months/view/{{$iPatient->care_month_uid}}" class="text-nowrap"
|
|
|
|
+ native target="_blank"
|
|
|
|
+ open-in-stag-popup
|
|
|
|
+ update-parent
|
|
|
|
+ popup-style="tall overflow-visible"
|
|
|
|
+ mc-initer="care-month-dashboard-{{$iPatient->client_uid}}"
|
|
|
|
+ title="{{$iPatient->client_name}}"
|
|
|
|
+ >{{ $iPatient->client_name }}</a>
|
|
</td>
|
|
</td>
|
|
|
|
|
|
<td>{{friendly_date($iPatient->dob)}}</td>
|
|
<td>{{friendly_date($iPatient->dob)}}</td>
|
|
@@ -118,13 +138,15 @@ use App\Models\Note;
|
|
<td>
|
|
<td>
|
|
{{$iPatient->most_recent_cellular_bp_sbp_mm_hg ?: '-'}}/{{$iPatient->most_recent_cellular_bp_dbp_mm_hg ?: '-'}}
|
|
{{$iPatient->most_recent_cellular_bp_sbp_mm_hg ?: '-'}}/{{$iPatient->most_recent_cellular_bp_dbp_mm_hg ?: '-'}}
|
|
@if($iPatient->most_recent_cellular_bp_measurement_at)
|
|
@if($iPatient->most_recent_cellular_bp_measurement_at)
|
|
- <div class="text-sm text-secondary text-nowrap">{{friendly_date_time($iPatient->most_recent_cellular_bp_measurement_at)}}</div>
|
|
|
|
|
|
+ <span class="text-sm text-secondary text-nowrap ml-1"
|
|
|
|
+ title="{{friendly_date_time($iPatient->most_recent_cellular_bp_measurement_at)}}">({{friendly_date($iPatient->most_recent_cellular_bp_measurement_at)}})</span>
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
{{$iPatient->most_recent_cellular_weight_value ? round($iPatient->most_recent_cellular_weight_value, 1) : '-'}}
|
|
{{$iPatient->most_recent_cellular_weight_value ? round($iPatient->most_recent_cellular_weight_value, 1) : '-'}}
|
|
@if($iPatient->most_recent_cellular_weight_measurement_at)
|
|
@if($iPatient->most_recent_cellular_weight_measurement_at)
|
|
- <div class="text-sm text-secondary text-nowrap">{{friendly_date_time($iPatient->most_recent_cellular_weight_measurement_at)}}</div>
|
|
|
|
|
|
+ <span class="text-sm text-secondary text-nowrap ml-1"
|
|
|
|
+ title="{{friendly_date_time($iPatient->most_recent_cellular_weight_measurement_at)}}">({{friendly_date($iPatient->most_recent_cellular_weight_measurement_at)}})</span>
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
@@ -138,9 +160,9 @@ use App\Models\Note;
|
|
<span>-</span>
|
|
<span>-</span>
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
- @if(!$lastVisitWithin90Days)
|
|
|
|
|
|
+ {{--@if(!$lastVisitWithin90Days)
|
|
<div class="text-sm font-italic text-secondary">No visit in over 90 days</div>
|
|
<div class="text-sm font-italic text-secondary">No visit in over 90 days</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif--}}
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
@@ -176,7 +198,7 @@ use App\Models\Note;
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mb-2 border border-info p-2 mt-2 bg-light">
|
|
<div class="mb-2 border border-info p-2 mt-2 bg-light">
|
|
- <span>I have had interactive communication with <b>{{$iPatient->client_name}}</b> during this care month.</span>
|
|
|
|
|
|
+ <span>I have had interactive communication with <b>{{$iPatient->client_name}}</b>.</span>
|
|
<div class="d-flex border-top mt-2">
|
|
<div class="d-flex border-top mt-2">
|
|
<label class="mt-2 mb-0 d-inline-flex align-items-center mr-3">
|
|
<label class="mt-2 mb-0 d-inline-flex align-items-center mr-3">
|
|
<input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="true" required>
|
|
<input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="true" required>
|
|
@@ -201,9 +223,9 @@ use App\Models\Note;
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
- @if(!$iPatient->has_mcp_interacted_with_client_about_rm)
|
|
|
|
|
|
+ {{--@if(!$iPatient->has_mcp_interacted_with_client_about_rm)
|
|
<div class="text-sm font-italic text-secondary">{{$performerRole === 'MCP' ? 'Not' : "MCP hasn't"}} interacted this month!</div>
|
|
<div class="text-sm font-italic text-secondary">{{$performerRole === 'MCP' ? 'Not' : "MCP hasn't"}} interacted this month!</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif--}}
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
@@ -230,9 +252,9 @@ use App\Models\Note;
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
- @if($iPatient->number_of_days_with_remote_measurements < 16)
|
|
|
|
|
|
+ {{--@if($iPatient->number_of_days_with_remote_measurements < 16)
|
|
<div class="text-sm font-italic text-secondary">Meas. days < 16</div>
|
|
<div class="text-sm font-italic text-secondary">Meas. days < 16</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif--}}
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
@@ -273,17 +295,17 @@ use App\Models\Note;
|
|
<i class="mr-1 text-sm fa {{$iPatient->rm_total_time_in_seconds_by_mcp >= 1200 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger'}}"></i>
|
|
<i class="mr-1 text-sm fa {{$iPatient->rm_total_time_in_seconds_by_mcp >= 1200 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger'}}"></i>
|
|
<span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_mcp / 60)}}m {{round($iPatient->rm_total_time_in_seconds_by_mcp % 60)}}s</span>
|
|
<span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_mcp / 60)}}m {{round($iPatient->rm_total_time_in_seconds_by_mcp % 60)}}s</span>
|
|
</div>
|
|
</div>
|
|
- @if($iPatient->rm_total_time_in_seconds_by_mcp < 1200)
|
|
|
|
|
|
+ {{--@if($iPatient->rm_total_time_in_seconds_by_mcp < 1200)
|
|
<div class="text-sm font-italic text-secondary">Entry mins. < 20</div>
|
|
<div class="text-sm font-italic text-secondary">Entry mins. < 20</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif--}}
|
|
@elseif($performerRole === 'RMM')
|
|
@elseif($performerRole === 'RMM')
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
<i class="mr-1 text-sm fa {{$iPatient->rm_total_time_in_seconds_by_rmm_pro >= 1200 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger'}}"></i>
|
|
<i class="mr-1 text-sm fa {{$iPatient->rm_total_time_in_seconds_by_rmm_pro >= 1200 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger'}}"></i>
|
|
<span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_rmm_pro / 60)}}m {{round($iPatient->rm_total_time_in_seconds_by_rmm_pro % 60)}}s</span>
|
|
<span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_rmm_pro / 60)}}m {{round($iPatient->rm_total_time_in_seconds_by_rmm_pro % 60)}}s</span>
|
|
</div>
|
|
</div>
|
|
- @if($iPatient->rm_total_time_in_seconds_by_rmm_pro < 1200)
|
|
|
|
|
|
+ {{--@if($iPatient->rm_total_time_in_seconds_by_rmm_pro < 1200)
|
|
<div class="text-sm font-italic text-secondary">Entry mins. < 20</div>
|
|
<div class="text-sm font-italic text-secondary">Entry mins. < 20</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif--}}
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
@@ -320,4 +342,12 @@ use App\Models\Note;
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <script>
|
|
|
|
+ (function() {
|
|
|
|
+ function init() {
|
|
|
|
+ $('#table-rm-matrix').DataTable();
|
|
|
|
+ }
|
|
|
|
+ addMCInitializer('practice-remote-monitoring', init, '#practice-remote-monitoring');
|
|
|
|
+ }).call(window);
|
|
|
|
+ </script>
|
|
@endsection
|
|
@endsection
|