|
@@ -95,42 +95,48 @@
|
|
|
</td>
|
|
|
@endif
|
|
|
@if($viewingAs === 'ADMIN')
|
|
|
- <td class="rmgr-name-column"><div class="rmgr-name-element" title="{{$iPatient->mcp_name ?: ''}}">{{$iPatient->mcp_last_name ?: '-'}}</div></td>
|
|
|
- <td class="rmgr-name-column"><div class="rmgr-name-element" title="{{$iPatient->rmm_name ?: ''}}">{{$iPatient->rmm_last_name ?: '-'}}</div></td>
|
|
|
- <td class="rmgr-name-column"><div class="rmgr-name-element" title="{{$iPatient->rme_name ?: ''}}">{{$iPatient->rme_last_name ?: '-'}}</div></td>
|
|
|
+ <td class="rmgr-name-column" title="{{$iPatient->mcp_name ?: ''}}"><div class="rmgr-name-element">{{$iPatient->mcp_last_name ?: '-'}}</div></td>
|
|
|
+ <td class="rmgr-name-column" title="{{$iPatient->rmm_name ?: ''}}"><div class="rmgr-name-element">{{$iPatient->rmm_last_name ?: '-'}}</div></td>
|
|
|
+ <td class="rmgr-name-column" title="{{$iPatient->rme_name ?: ''}}"><div class="rmgr-name-element">{{$iPatient->rme_last_name ?: '-'}}</div></td>
|
|
|
@endif
|
|
|
- <td>{{$iPatient->days_between_most_recent_mcp_note_date_and_end_of_care_month}}</td>
|
|
|
+ <td><span class="text-nowrap">{{$iPatient->next_visit_date ? friendly_date($iPatient->next_visit_date) : '-'}}</span></td>
|
|
|
+ @if(date('m') == $month && date('Y') == $year)
|
|
|
+ <td>{{$iPatient->dslm ?: '-'}}</td>
|
|
|
+ @endif
|
|
|
+ <td class="{{+$iPatient->days_between_most_recent_mcp_note_date_and_end_of_care_month > 120 ? 'text-danger opacity-60' : ''}}"
|
|
|
+ title="{{+$iPatient->days_between_most_recent_mcp_note_date_and_end_of_care_month > 120 ? 'Days between most recent visit before end of care month is > 120. Not billable.' : ''}}"
|
|
|
+ >{{$iPatient->days_between_most_recent_mcp_note_date_and_end_of_care_month}}</td>
|
|
|
|
|
|
<!--# Meas. Days-->
|
|
|
- <td>
|
|
|
- <?php
|
|
|
- $icon = '';
|
|
|
- $label = '';
|
|
|
- if($iPatient->number_of_days_with_remote_measurements>=16) {
|
|
|
- $icon = '<i class="ml-1 fa fa-check text-success opacity-35"></i>';
|
|
|
- }
|
|
|
- else {
|
|
|
- if(intval(date('m')) === intval(request()->input('m')) || !request()->input('m')) {
|
|
|
- if($daysRemaining < 16 - $iPatient->number_of_days_with_remote_measurements) {
|
|
|
- $icon = '<i class="ml-1 fas fa-ban text-secondary opacity-35"></i>';
|
|
|
- $label = 'Not possible. Not enough days left to reach 16.';
|
|
|
- }
|
|
|
- elseif($daysRemaining > 16 - $iPatient->number_of_days_with_remote_measurements) {
|
|
|
- $icon = '<i class="ml-1 fa fa-bolt text-primary"></i>';
|
|
|
- $label = 'Possible. Ensure ' . (16 - $iPatient->number_of_days_with_remote_measurements) . ' more days with measurements before the end of the month.';
|
|
|
- }
|
|
|
- elseif($daysRemaining === 16 - $iPatient->number_of_days_with_remote_measurements) {
|
|
|
- $icon = '<i class="ml-1 fa fa-exclamation-triangle text-danger"></i>';
|
|
|
- $label = 'Possible. Ensure a measurement every day for the rest of the month.';
|
|
|
- }
|
|
|
- }
|
|
|
- else {
|
|
|
+ <?php
|
|
|
+ $icon = '';
|
|
|
+ $label = '';
|
|
|
+ if($iPatient->number_of_days_with_remote_measurements>=16) {
|
|
|
+ $icon = '<i class="ml-1 fa fa-check text-success opacity-35"></i>';
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ if(intval(date('m')) === intval(request()->input('m')) || !request()->input('m')) {
|
|
|
+ if($daysRemaining < 16 - $iPatient->number_of_days_with_remote_measurements) {
|
|
|
$icon = '<i class="ml-1 fas fa-ban text-secondary opacity-35"></i>';
|
|
|
- $label = 'Not possible. Past month.';
|
|
|
+ $label = 'Not possible. Not enough days left to reach 16.';
|
|
|
+ }
|
|
|
+ elseif($daysRemaining > 16 - $iPatient->number_of_days_with_remote_measurements) {
|
|
|
+ $icon = '<i class="ml-1 fa fa-bolt text-primary"></i>';
|
|
|
+ $label = 'Possible. Ensure ' . (16 - $iPatient->number_of_days_with_remote_measurements) . ' more days with measurements before the end of the month.';
|
|
|
}
|
|
|
+ elseif($daysRemaining === 16 - $iPatient->number_of_days_with_remote_measurements) {
|
|
|
+ $icon = '<i class="ml-1 fa fa-exclamation-triangle text-danger"></i>';
|
|
|
+ $label = 'Possible. Ensure a measurement every day for the rest of the month.';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ $icon = '<i class="ml-1 fas fa-ban text-secondary opacity-35"></i>';
|
|
|
+ $label = 'Not possible. Past month.';
|
|
|
}
|
|
|
- ?>
|
|
|
- <div class="d-flex align-items-baseline flex-nowrap" title="{{$label}}">
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+ <td title="{{$label}}">
|
|
|
+ <div class="d-flex align-items-baseline flex-nowrap">
|
|
|
<?php $iPatient->number_of_days_with_remote_measurements = $iPatient->number_of_days_with_remote_measurements ?: 0; ?>
|
|
|
<span>{{$iPatient->number_of_days_with_remote_measurements}}</span>
|
|
|
{!! $icon !!}
|
|
@@ -139,6 +145,7 @@
|
|
|
<td>{{$iPatient->number_of_days_with_remote_bp_measurements}}</td>
|
|
|
<td>{{$iPatient->number_of_days_with_remote_weight_measurements}}</td>
|
|
|
|
|
|
+ <!-- latest weight/bp -->
|
|
|
<td class="text-nowrap position-relative {{$iPatient->has_cellular_bp_device && $iPatient->most_recent_cellular_bp_sbp_mm_hg && $iPatient->most_recent_cellular_bp_dbp_mm_hg ? 'rpm-manager-bp-popover-trigger' : ''}} rpm-manager-popover-trigger"
|
|
|
data-uid="{{$iPatient->care_month_uid}}" data-client-uid="{{$iPatient->client_uid}}" data-cm-title="{{$iPatient->client_name}} - {{friendly_month($iPatient->care_month_start_date)}}">
|
|
|
@if(!$iPatient->has_cellular_bp_device)
|
|
@@ -268,6 +275,7 @@
|
|
|
@endif
|
|
|
</td>
|
|
|
|
|
|
+ <!-- entries -->
|
|
|
@if($viewingAs !== 'RME')
|
|
|
<td>
|
|
|
@if(@$iPatient->myEntries && count($iPatient->myEntries))
|
|
@@ -333,15 +341,24 @@
|
|
|
</td>
|
|
|
@endif
|
|
|
|
|
|
+ <!-- interaction -->
|
|
|
<td>
|
|
|
@if($viewingAs === 'ADMIN')
|
|
|
<div class="d-flex align-items-baseline flex-nowrap">
|
|
|
<div class="d-inline-flex align-items-baseline" title="MCP Interaction">
|
|
|
- <i class="fa fa-circle text-sm opacity-35 {{$iPatient->has_mcp_interacted_with_client_about_rm ? 'text-success' : 'text-danger'}}"></i>
|
|
|
+ @if($iPatient->mcp_name)
|
|
|
+ <i class="fa fa-circle text-sm opacity-35 {{$iPatient->has_mcp_interacted_with_client_about_rm ? 'text-success' : 'text-danger'}}"></i>
|
|
|
+ @else
|
|
|
+ -
|
|
|
+ @endif
|
|
|
<span class="ml-1 mr-2">M</span>
|
|
|
</div>
|
|
|
<div class="d-inline-flex align-items-baseline" title="RMM Interaction">
|
|
|
- <i class="fa fa-circle text-sm opacity-35 {{$iPatient->has_rmm_interacted_with_client_about_rm ? 'text-success' : 'text-danger'}}"></i>
|
|
|
+ @if($iPatient->rmm_name)
|
|
|
+ <i class="fa fa-circle text-sm opacity-35 {{$iPatient->has_rmm_interacted_with_client_about_rm ? 'text-success' : 'text-danger'}}"></i>
|
|
|
+ @else
|
|
|
+ -
|
|
|
+ @endif
|
|
|
<span class="ml-1 mr-2">R</span>
|
|
|
</div>
|
|
|
<div class="d-inline-flex align-items-baseline" title="Admin Interaction">
|
|
@@ -368,99 +385,109 @@
|
|
|
@if($viewingAs === 'ADMIN' || $viewingAs === 'MCP')
|
|
|
<?php $minsBilled = round($iPatient->rm_total_time_in_seconds_by_mcp / 60); ?>
|
|
|
<td>
|
|
|
- <div class="d-flex align-items-baseline flex-nowrap">
|
|
|
- <i class="mr-1 text-sm fa fa-circle opacity-35 {{$iPatient->rm_total_time_in_seconds_by_mcp >= 1200 ? 'text-success' : 'text-danger'}}"></i>
|
|
|
- <span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_mcp / 60)}}:{{round($iPatient->rm_total_time_in_seconds_by_mcp % 60)}}</span>
|
|
|
- @if(date('m') == $month && date('Y') == $year && $viewingAs === 'MCP')
|
|
|
- <?php
|
|
|
- $showAddEntry = 0;
|
|
|
- $expectation = 0;
|
|
|
- ?>
|
|
|
- @if($dayOfTheMonth >= 7 && $minsBilled < 5)
|
|
|
- <?php
|
|
|
- $showAddEntry = 5 - $minsBilled;
|
|
|
- $expectation = 5;
|
|
|
- ?>
|
|
|
- @elseif($dayOfTheMonth >= 14 && $minsBilled < 10)
|
|
|
- <?php
|
|
|
- $showAddEntry = 10 - $minsBilled;
|
|
|
- $expectation = 10;
|
|
|
- ?>
|
|
|
- @elseif($dayOfTheMonth >= 21 && $minsBilled < 15)
|
|
|
- <?php
|
|
|
- $showAddEntry = 15 - $minsBilled;
|
|
|
- $expectation = 15;
|
|
|
- ?>
|
|
|
- @elseif($dayOfTheMonth >= 28 && $minsBilled < 20)
|
|
|
+ @if($iPatient->mcp_name)
|
|
|
+ <div class="d-flex align-items-baseline flex-nowrap">
|
|
|
+ <i class="mr-1 text-sm fa fa-circle opacity-35 {{$iPatient->rm_total_time_in_seconds_by_mcp >= 1200 ? 'text-success' : 'text-danger'}}"></i>
|
|
|
+ <span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_mcp / 60)}}:{{round($iPatient->rm_total_time_in_seconds_by_mcp % 60)}}</span>
|
|
|
+ @if(date('m') == $month && date('Y') == $year && $viewingAs === 'MCP')
|
|
|
<?php
|
|
|
- $showAddEntry = 20 - $minsBilled;
|
|
|
- $expectation = 20;
|
|
|
+ $showAddEntry = 0;
|
|
|
+ $expectation = 0;
|
|
|
?>
|
|
|
+ @if($dayOfTheMonth >= 7 && $minsBilled < 5)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 5 - $minsBilled;
|
|
|
+ $expectation = 5;
|
|
|
+ ?>
|
|
|
+ @elseif($dayOfTheMonth >= 14 && $minsBilled < 10)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 10 - $minsBilled;
|
|
|
+ $expectation = 10;
|
|
|
+ ?>
|
|
|
+ @elseif($dayOfTheMonth >= 21 && $minsBilled < 15)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 15 - $minsBilled;
|
|
|
+ $expectation = 15;
|
|
|
+ ?>
|
|
|
+ @elseif($dayOfTheMonth >= 28 && $minsBilled < 20)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 20 - $minsBilled;
|
|
|
+ $expectation = 20;
|
|
|
+ ?>
|
|
|
+ @endif
|
|
|
+ @if($showAddEntry > 0)
|
|
|
+ <i class="ml-1 fa fa-hourglass text-danger opacity-60 text-sm"></i>
|
|
|
+ <div class="ml-1" title="Total expected billing by end of today: {{$expectation}}m">
|
|
|
+ @include('app.practice-management.rpm-manager.rpm_manager_care_month_add_entry_form', [
|
|
|
+ 'right' => true,
|
|
|
+ 'defaultDate' => date('Y-m-d'),
|
|
|
+ 'cmUid' => $iPatient->care_month_uid,
|
|
|
+ 'cmStartDate' => $iPatient->care_month_start_date,
|
|
|
+ 'cmEndDate' => $iPatient->care_month_end_date,
|
|
|
+ 'defaultMins' => $showAddEntry,
|
|
|
+ 'defaultComment' => 'I have discussed remote monitoring data to date and encouraged patient to regularly measure and follow the care plan.',
|
|
|
+ 'hook' => 'refresh-' . $iPatient->care_month_uid])
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
@endif
|
|
|
- @if($showAddEntry > 0)
|
|
|
- <i class="ml-1 fa fa-hourglass text-danger opacity-60 text-sm"></i>
|
|
|
- <div class="ml-1" title="Total expected billing by end of today: {{$expectation}}m">
|
|
|
- @include('app.practice-management.rpm-manager.rpm_manager_care_month_add_entry_form', [
|
|
|
- 'right' => true,
|
|
|
- 'defaultDate' => date('Y-m-d'),
|
|
|
- 'cmUid' => $iPatient->care_month_uid,
|
|
|
- 'cmStartDate' => $iPatient->care_month_start_date,
|
|
|
- 'cmEndDate' => $iPatient->care_month_end_date,
|
|
|
- 'defaultMins' => $showAddEntry,
|
|
|
- 'hook' => 'refresh-' . $iPatient->care_month_uid])
|
|
|
- </div>
|
|
|
- @endif
|
|
|
- @endif
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ -
|
|
|
+ @endif
|
|
|
</td>
|
|
|
@endif
|
|
|
@if($viewingAs === 'ADMIN' || $viewingAs === 'RMM')
|
|
|
<?php $minsBilled = round($iPatient->rm_total_time_in_seconds_by_rmm_pro / 60); ?>
|
|
|
<td>
|
|
|
- <div class="d-flex align-items-baseline flex-nowrap">
|
|
|
- <i class="mr-1 text-sm fa fa-circle opacity-35 {{$iPatient->rm_total_time_in_seconds_by_rmm_pro >= 1200 ? 'text-success' : 'text-danger'}}"></i>
|
|
|
- <span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_rmm_pro / 60)}}:{{round($iPatient->rm_total_time_in_seconds_by_rmm_pro % 60)}}</span>
|
|
|
- @if(date('m') == $month && date('Y') == $year && $viewingAs === 'RMM')
|
|
|
- <?php
|
|
|
- $showAddEntry = 0;
|
|
|
- $expectation = 0;
|
|
|
- ?>
|
|
|
- @if($dayOfTheMonth >= 7 && $minsBilled < 5)
|
|
|
- <?php
|
|
|
- $showAddEntry = 5 - $minsBilled;
|
|
|
- $expectation = 5;
|
|
|
- ?>
|
|
|
- @elseif($dayOfTheMonth >= 14 && $minsBilled < 10)
|
|
|
- <?php
|
|
|
- $showAddEntry = 10 - $minsBilled;
|
|
|
- $expectation = 10;
|
|
|
- ?>
|
|
|
- @elseif($dayOfTheMonth >= 21 && $minsBilled < 15)
|
|
|
- <?php
|
|
|
- $showAddEntry = 15 - $minsBilled;
|
|
|
- $expectation = 15;
|
|
|
- ?>
|
|
|
- @elseif($dayOfTheMonth >= 28 && $minsBilled < 20)
|
|
|
+ @if($iPatient->rmm_name)
|
|
|
+ <div class="d-flex align-items-baseline flex-nowrap">
|
|
|
+ <i class="mr-1 text-sm fa fa-circle opacity-35 {{$iPatient->rm_total_time_in_seconds_by_rmm_pro >= 1200 ? 'text-success' : 'text-danger'}}"></i>
|
|
|
+ <span class="text-nowrap">{{round($iPatient->rm_total_time_in_seconds_by_rmm_pro / 60)}}:{{round($iPatient->rm_total_time_in_seconds_by_rmm_pro % 60)}}</span>
|
|
|
+ @if(date('m') == $month && date('Y') == $year && $viewingAs === 'RMM')
|
|
|
<?php
|
|
|
- $showAddEntry = 20 - $minsBilled;
|
|
|
- $expectation = 20;
|
|
|
+ $showAddEntry = 0;
|
|
|
+ $expectation = 0;
|
|
|
?>
|
|
|
+ @if($dayOfTheMonth >= 7 && $minsBilled < 5)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 5 - $minsBilled;
|
|
|
+ $expectation = 5;
|
|
|
+ ?>
|
|
|
+ @elseif($dayOfTheMonth >= 14 && $minsBilled < 10)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 10 - $minsBilled;
|
|
|
+ $expectation = 10;
|
|
|
+ ?>
|
|
|
+ @elseif($dayOfTheMonth >= 21 && $minsBilled < 15)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 15 - $minsBilled;
|
|
|
+ $expectation = 15;
|
|
|
+ ?>
|
|
|
+ @elseif($dayOfTheMonth >= 28 && $minsBilled < 20)
|
|
|
+ <?php
|
|
|
+ $showAddEntry = 20 - $minsBilled;
|
|
|
+ $expectation = 20;
|
|
|
+ ?>
|
|
|
+ @endif
|
|
|
+ @if($showAddEntry > 0)
|
|
|
+ <i class="ml-1 fa fa-hourglass text-danger opacity-60 text-sm"></i>
|
|
|
+ <div class="ml-1" title="Total expected billing by end of today: {{$expectation}}">
|
|
|
+ @include('app.practice-management.rpm-manager.rpm_manager_care_month_add_entry_form', [
|
|
|
+ 'right' => true,
|
|
|
+ 'defaultDate' => date('Y-m-d'),
|
|
|
+ 'cmUid' => $iPatient->care_month_uid,
|
|
|
+ 'cmStartDate' => $iPatient->care_month_start_date,
|
|
|
+ 'cmEndDate' => $iPatient->care_month_end_date,
|
|
|
+ 'defaultMins' => $showAddEntry,
|
|
|
+ 'defaultComment' => 'I have discussed remote monitoring data to date and encouraged patient to regularly measure and follow the care plan.',
|
|
|
+ 'hook' => 'refresh-' . $iPatient->care_month_uid])
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
@endif
|
|
|
- @if($showAddEntry > 0)
|
|
|
- <i class="ml-1 fa fa-hourglass text-danger opacity-60 text-sm"></i>
|
|
|
- <div class="ml-1" title="Total expected billing by end of today: {{$expectation}}">
|
|
|
- @include('app.practice-management.rpm-manager.rpm_manager_care_month_add_entry_form', [
|
|
|
- 'right' => true,
|
|
|
- 'defaultDate' => date('Y-m-d'),
|
|
|
- 'cmUid' => $iPatient->care_month_uid,
|
|
|
- 'cmStartDate' => $iPatient->care_month_start_date,
|
|
|
- 'cmEndDate' => $iPatient->care_month_end_date,
|
|
|
- 'defaultMins' => $showAddEntry,
|
|
|
- 'hook' => 'refresh-' . $iPatient->care_month_uid])
|
|
|
- </div>
|
|
|
- @endif
|
|
|
- @endif
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ -
|
|
|
+ @endif
|
|
|
</td>
|
|
|
@endif
|
|
|
@if($viewingAs === 'ADMIN')
|
|
@@ -475,6 +502,7 @@
|
|
|
'cmUid' => $iPatient->care_month_uid,
|
|
|
'cmStartDate' => $iPatient->care_month_start_date,
|
|
|
'cmEndDate' => $iPatient->care_month_end_date,
|
|
|
+ 'defaultComment' => 'I have discussed remote monitoring data to date and encouraged patient to regularly measure and follow the care plan.',
|
|
|
'hook' => 'refresh-' . $iPatient->care_month_uid])
|
|
|
</div>
|
|
|
</div>
|
|
@@ -484,108 +512,114 @@
|
|
|
|
|
|
<!--Reimb.-->
|
|
|
@if($viewingAs === 'ADMIN' || $viewingAs === 'MCP')
|
|
|
- <td class="text-nowrap v-sep-before">
|
|
|
+ <td class="text-nowrap v-sep-before p-0 text-center">
|
|
|
@if($iPatient->mcp_paid)
|
|
|
- <i class="mr-1 fas fa-dollar-sign text-success opacity-60" title="Paid"></i>
|
|
|
+ <i class="px-3 py-2 fas fa-dollar-sign text-success opacity-60" title="Paid"></i>
|
|
|
@else
|
|
|
@if($iPatient->is_billable_by_mcp)
|
|
|
@if($iPatient->is_billed_by_mcp)
|
|
|
- <i class="mr-1 fa fa-check text-info opacity-60" title="Billed"></i>
|
|
|
+ <i class="px-3 py-2 fa fa-check text-info opacity-60" title="Billed"></i>
|
|
|
@else
|
|
|
- <i class="mr-1 fa fa-bolt text-primary" title="Billable"></i>
|
|
|
+ <i class="px-3 py-2 fa fa-bolt text-primary" title="Billable"></i>
|
|
|
@endif
|
|
|
@else
|
|
|
- <i class="mr-1 fas fa-ban text-secondary" title="Not Billable"></i>
|
|
|
+ <i class="px-3 py-2 fas fa-ban text-secondary" title="Not Billable"></i>
|
|
|
@endif
|
|
|
@endif
|
|
|
</td>
|
|
|
@endif
|
|
|
@if($viewingAs === 'ADMIN' || $viewingAs === 'RMM')
|
|
|
- <td class="text-nowrap {{$viewingAs === 'RMM' ? 'v-sep-before' : ''}}">
|
|
|
- @if($iPatient->rmm_paid)
|
|
|
- <i class="mr-1 fas fa-dollar-sign text-success opacity-60" title="Paid"></i>
|
|
|
- @else
|
|
|
- @if($iPatient->is_billable_by_rmm)
|
|
|
- @if($iPatient->is_billed_by_rmm)
|
|
|
- <i class="mr-1 fa fa-check text-info opacity-60" title="Billed"></i>
|
|
|
+ <td class="text-nowrap p-0 text-center {{$viewingAs === 'RMM' ? 'v-sep-before' : ''}}">
|
|
|
+ @if($iPatient->rmm_name)
|
|
|
+ @if($iPatient->rmm_paid)
|
|
|
+ <i class="px-3 py-2 fas fa-dollar-sign text-success opacity-60" title="Paid"></i>
|
|
|
+ @else
|
|
|
+ @if($iPatient->is_billable_by_rmm)
|
|
|
+ @if($iPatient->is_billed_by_rmm)
|
|
|
+ <i class="px-3 py-2 fa fa-check text-info opacity-60" title="Billed"></i>
|
|
|
+ @else
|
|
|
+ <i class="px-3 py-2 fa fa-bolt text-primary" title="Billable"></i>
|
|
|
+ @endif
|
|
|
@else
|
|
|
- <i class="mr-1 fa fa-bolt text-primary" title="Billable"></i>
|
|
|
+ <i class="px-3 py-2 fas fa-ban text-secondary" title="Not Billable"></i>
|
|
|
@endif
|
|
|
- @else
|
|
|
- <i class="mr-1 fas fa-ban text-secondary" title="Not Billable"></i>
|
|
|
@endif
|
|
|
+ @else
|
|
|
+ -
|
|
|
@endif
|
|
|
</td>
|
|
|
@endif
|
|
|
@if($viewingAs === 'ADMIN' || $viewingAs === 'RME')
|
|
|
- <td class="text-nowrap {{$viewingAs === 'RMM' ? 'v-sep-before' : ''}}">
|
|
|
- @if($iPatient->rme_paid)
|
|
|
- <i class="mr-1 fas fa-dollar-sign text-success opacity-60" title="Paid"></i>
|
|
|
- @else
|
|
|
- @if($iPatient->is_billable_by_rme)
|
|
|
- @if($iPatient->is_billed_by_rme)
|
|
|
- <i class="mr-1 fa fa-check text-info opacity-60" title="Billed"></i>
|
|
|
+ <td class="text-nowrap p-0 text-center {{$viewingAs === 'RMM' ? 'v-sep-before' : ''}}">
|
|
|
+ @if($iPatient->rme_name)
|
|
|
+ @if($iPatient->rme_paid)
|
|
|
+ <i class="px-3 py-2 fas fa-dollar-sign text-success opacity-60" title="Paid"></i>
|
|
|
+ @else
|
|
|
+ @if($iPatient->is_billable_by_rme)
|
|
|
+ @if($iPatient->is_billed_by_rme)
|
|
|
+ <i class="px-3 py-2 fa fa-check text-info opacity-60" title="Billed"></i>
|
|
|
+ @else
|
|
|
+ <i class="px-3 py-2 fa fa-bolt text-primary" title="Billable"></i>
|
|
|
+ @endif
|
|
|
@else
|
|
|
- <i class="mr-1 fa fa-bolt text-primary" title="Billable"></i>
|
|
|
+ <i class="px-3 py-2 fas fa-ban text-secondary" title="Not Billable"></i>
|
|
|
@endif
|
|
|
- @else
|
|
|
- <i class="mr-1 fas fa-ban text-secondary" title="Not Billable"></i>
|
|
|
@endif
|
|
|
+ @else
|
|
|
+ -
|
|
|
@endif
|
|
|
</td>
|
|
|
@endif
|
|
|
|
|
|
<!--Claim-->
|
|
|
@if($viewingAs === 'ADMIN' && !(date('m') == $month && date('Y') == $year))
|
|
|
- <td class="v-sep-before">
|
|
|
+ <td class="v-sep-before p-0 text-center">
|
|
|
@if($iPatient->is_99454_claiming_waived)
|
|
|
- <span title="{{$iPatient->why_claiming_99454_waived ?: ''}}">Waived</span>
|
|
|
+ <span class="px-1 py-2" title="{{$iPatient->why_claiming_99454_waived ?: ''}}">Waived</span>
|
|
|
@else
|
|
|
@if($iPatient->is_99454_claimable)
|
|
|
@if($iPatient->is_99454_claimed)
|
|
|
- <i class="mr-1 fa fa-check text-success opacity-60" title="Claimed"></i>
|
|
|
+ <i class="px-2 py-2 fa fa-check text-success opacity-60" title="Claimed"></i>
|
|
|
@else
|
|
|
- <i class="mr-1 fa fa-bolt text-primary" title="Claimable"></i>
|
|
|
+ <i class="px-2 py-2 fa fa-bolt text-primary" title="Claimable"></i>
|
|
|
@endif
|
|
|
@else
|
|
|
- <i class="mr-1 fas fa-ban text-secondary" title="Not Claimable: {{$iPatient->why_99454_not_claimable_reason ?: ''}}"></i>
|
|
|
+ <i class="px-2 py-2 fas fa-ban text-secondary" title="Not Claimable: {{$iPatient->why_99454_not_claimable_reason ?: ''}}"></i>
|
|
|
@endif
|
|
|
@endif
|
|
|
</td>
|
|
|
- <td>
|
|
|
+ <td class=" p-0 text-center">
|
|
|
@if($iPatient->is_99457_claiming_waived)
|
|
|
- <span title="{{$iPatient->why_claiming_99457_waived ?: ''}}">Waived</span>
|
|
|
+ <span class="px-1 py-2" title="{{$iPatient->why_claiming_99457_waived ?: ''}}">Waived</span>
|
|
|
@else
|
|
|
@if($iPatient->is_99457_claimable)
|
|
|
@if($iPatient->is_99457_claimed)
|
|
|
- <i class="mr-1 fa fa-check text-success opacity-60" title="Claimed"></i>
|
|
|
+ <i class="px-2 py-2 fa fa-check text-success opacity-60" title="Claimed"></i>
|
|
|
@else
|
|
|
- <i class="mr-1 fa fa-bolt text-primary" title="Claimable"></i>
|
|
|
+ <i class="px-2 py-2 fa fa-bolt text-primary" title="Claimable"></i>
|
|
|
@endif
|
|
|
@else
|
|
|
- <i class="mr-1 fas fa-ban text-secondary" title="Not Claimable: {{$iPatient->why_99457_not_claimable_reason ?: ''}}"></i>
|
|
|
+ <i class="px-2 py-2 fas fa-ban text-secondary" title="Not Claimable: {{$iPatient->why_99457_not_claimable_reason ?: ''}}"></i>
|
|
|
@endif
|
|
|
@endif
|
|
|
</td>
|
|
|
- <td>
|
|
|
+ <td class=" p-0 text-center">
|
|
|
@if($iPatient->is_99458_claiming_waived)
|
|
|
- <span title="{{$iPatient->why_claiming_99458_waived ?: ''}}">Waived</span>
|
|
|
+ <span class="px-1 py-2" title="{{$iPatient->why_claiming_99458_waived ?: ''}}">Waived</span>
|
|
|
@else
|
|
|
@if($iPatient->is_99458_claimable)
|
|
|
@if($iPatient->is_99458_claimed)
|
|
|
- <i class="mr-1 fa fa-check text-success opacity-60" title="Claimed"></i>
|
|
|
+ <i class="px-2 py-2 fa fa-check text-success opacity-60" title="Claimed"></i>
|
|
|
@else
|
|
|
- <i class="mr-1 fa fa-bolt text-primary" title="Claimable"></i>
|
|
|
+ <i class="px-2 py-2 fa fa-bolt text-primary" title="Claimable"></i>
|
|
|
@endif
|
|
|
@else
|
|
|
- <i class="mr-1 fas fa-ban text-secondary" title="Not Claimable: {{$iPatient->why_99458_not_claimable_reason ?: ''}}"></i>
|
|
|
+ <i class="px-2 py-2 fas fa-ban text-secondary" title="Not Claimable: {{$iPatient->why_99458_not_claimable_reason ?: ''}}"></i>
|
|
|
@endif
|
|
|
@endif
|
|
|
</td>
|
|
|
@endif
|
|
|
|
|
|
- <td><span class="text-nowrap">{{$iPatient->next_visit_date ?: '-'}}</span></td>
|
|
|
-
|
|
|
<td class="border-right-0"></td>
|
|
|
|
|
|
</tr>
|