|
@@ -1,3 +1,10 @@
|
|
|
|
+@if($mode === 'mcp')
|
|
|
|
+ <?php $strategy = 'X16_DAYS_20_MINS_ON_OWN_MCP_COM_DURING_CM'; // $pro->mcp_rpm_payment_strategy; ?>
|
|
|
|
+@elseif($mode === 'rmm')
|
|
|
|
+ <?php $strategy = 'X16_DAYS_20_MINS_ON_OWN_MCP_COM_DURING_CM'; // $pro->rmm_payment_strategy; ?>
|
|
|
|
+@elseif($mode === 'rmm')
|
|
|
|
+ <?php $strategy = 'X16_DAYS'; // $pro->rme_payment_strategy; ?>
|
|
|
|
+@endif
|
|
<tr data-client-uid="{{$iPatient->client_uid}}" data-care-month-uid="{{$iPatient->care_month_uid}}">
|
|
<tr data-client-uid="{{$iPatient->client_uid}}" data-care-month-uid="{{$iPatient->care_month_uid}}">
|
|
<td class="pl-2">
|
|
<td class="pl-2">
|
|
<a href="/patients/view/{{ $iPatient->client_uid }}/care-months/view/{{$iPatient->care_month_uid}}" class="text-nowrap"
|
|
<a href="/patients/view/{{ $iPatient->client_uid }}/care-months/view/{{$iPatient->care_month_uid}}" class="text-nowrap"
|
|
@@ -11,7 +18,7 @@
|
|
</td>
|
|
</td>
|
|
|
|
|
|
<td>{{friendly_date($iPatient->dob)}}</td>
|
|
<td>{{friendly_date($iPatient->dob)}}</td>
|
|
- <td>{!! $iPatient->is_enrolled_in_rm === 'YES' ? '<i class="fa fa-check text-success"></i>' : 'No' !!}</td>
|
|
|
|
|
|
+ {{--<td>{!! $iPatient->is_enrolled_in_rm === 'YES' ? '<i class="fa fa-check text-success"></i>' : 'No' !!}</td>--}}
|
|
<td>{!! $iPatient->is_assigned_cellular_bp_device ? '<i class="fa fa-check text-success"></i>' : 'No' !!}</td>
|
|
<td>{!! $iPatient->is_assigned_cellular_bp_device ? '<i class="fa fa-check text-success"></i>' : 'No' !!}</td>
|
|
<td>{!! $iPatient->is_assigned_cellular_weight_scale_device ? '<i class="fa fa-check text-success"></i>' : 'No' !!}</td>
|
|
<td>{!! $iPatient->is_assigned_cellular_weight_scale_device ? '<i class="fa fa-check text-success"></i>' : 'No' !!}</td>
|
|
<td>
|
|
<td>
|
|
@@ -46,59 +53,61 @@
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
<i class="mr-1 text-sm fa {{$iPatient->has_mcp_interacted_with_client_about_rm ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger on-hover-opaque'}}"></i>
|
|
<i class="mr-1 text-sm fa {{$iPatient->has_mcp_interacted_with_client_about_rm ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger on-hover-opaque'}}"></i>
|
|
<span class="sort-data">{{$iPatient->has_mcp_interacted_with_client_about_rm ? 'Yes' : 'No'}}</span>
|
|
<span class="sort-data">{{$iPatient->has_mcp_interacted_with_client_about_rm ? 'Yes' : 'No'}}</span>
|
|
- @if($mode === 'mcp')
|
|
|
|
- <div moe large relative class="ml-2">
|
|
|
|
- <a start show class="py-0 mb-3 text-sm">Entry</a>
|
|
|
|
- <form url="/api/careMonthEntry/createForRm" right hook="refresh-rpm-row-{{$trIndex}}">
|
|
|
|
- <input type="hidden" name="careMonthUid" value="{{ $iPatient->care_month_uid }}">
|
|
|
|
- <input type="hidden" name="proUid" value="{{ $pro->uid }}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <div class="row">
|
|
|
|
- <div class="col-6 pr-0">
|
|
|
|
- <?php
|
|
|
|
- $sD = strtotime($rcmStartDate);
|
|
|
|
- $y = date('Y', $sD);
|
|
|
|
- $m0 = date('m', $sD);
|
|
|
|
- $d = date('t', $sD);
|
|
|
|
- $defaultED = $sD >= strtotime(date('Y-m-d')) ? date('Y-m-d') : $rcmStartDate;
|
|
|
|
- ?>
|
|
|
|
- <label class="text-sm text-secondary mb-1">Effective Date</label>
|
|
|
|
- <input autofocus type="date" min="{{ date($y . '-' . $m0 . '-01') }}" max="{{ date($y . '-' . $m0 . '-' . $d) }}"
|
|
|
|
- value="{{$defaultED}}"
|
|
|
|
- class="form-control form-control-sm w-100" name="effectiveDate"
|
|
|
|
- placeholder="Effective Date" required>
|
|
|
|
|
|
+ @if(!request()->input('not-enrolled'))
|
|
|
|
+ @if($mode === 'mcp')
|
|
|
|
+ <div moe large relative class="ml-2">
|
|
|
|
+ <a start show class="py-0 mb-3 text-sm">Entry</a>
|
|
|
|
+ <form url="/api/careMonthEntry/createForRm" right hook="refresh-rpm-row-{{$trIndex}}">
|
|
|
|
+ <input type="hidden" name="careMonthUid" value="{{ $iPatient->care_month_uid }}">
|
|
|
|
+ <input type="hidden" name="proUid" value="{{ $pro->uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <div class="row">
|
|
|
|
+ <div class="col-6 pr-0">
|
|
|
|
+ <?php
|
|
|
|
+ $sD = strtotime($rcmStartDate);
|
|
|
|
+ $y = date('Y', $sD);
|
|
|
|
+ $m0 = date('m', $sD);
|
|
|
|
+ $d = date('t', $sD);
|
|
|
|
+ $defaultED = $sD >= strtotime(date('Y-m-d')) ? date('Y-m-d') : $rcmStartDate;
|
|
|
|
+ ?>
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Effective Date</label>
|
|
|
|
+ <input autofocus type="date" min="{{ date($y . '-' . $m0 . '-01') }}" max="{{ date($y . '-' . $m0 . '-' . $d) }}"
|
|
|
|
+ value="{{$defaultED}}"
|
|
|
|
+ class="form-control form-control-sm w-100" name="effectiveDate"
|
|
|
|
+ placeholder="Effective Date" required>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="col-6">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Seconds</label>
|
|
|
|
+ <input type="number" min="75" max="300" class="form-control form-control-sm w-100 cm-time-value" name="timeInSeconds"
|
|
|
|
+ value="75" placeholder="Time (secs.)" required>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div class="col-6">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Seconds</label>
|
|
|
|
- <input type="number" min="75" max="300" class="form-control form-control-sm w-100 cm-time-value" name="timeInSeconds"
|
|
|
|
- value="75" placeholder="Time (secs.)" required>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <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>.</span>
|
|
|
|
+ <div class="d-flex border-top mt-2">
|
|
|
|
+ <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>
|
|
|
|
+ <span>Yes</span>
|
|
|
|
+ </label>
|
|
|
|
+ <label class="mt-2 mb-0 d-inline-flex align-items-center">
|
|
|
|
+ <input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="false" required>
|
|
|
|
+ <span>No</span>
|
|
|
|
+ </label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <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>.</span>
|
|
|
|
- <div class="d-flex border-top mt-2">
|
|
|
|
- <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>
|
|
|
|
- <span>Yes</span>
|
|
|
|
- </label>
|
|
|
|
- <label class="mt-2 mb-0 d-inline-flex align-items-center">
|
|
|
|
- <input type="radio" class="mr-2" name="didProInteractWithClientAboutRm" value="false" required>
|
|
|
|
- <span>No</span>
|
|
|
|
- </label>
|
|
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Memo</label>
|
|
|
|
+ <textarea class="form-control form-control-sm w-100" name="contentText"
|
|
|
|
+ required>Interacted with the patient</textarea>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Memo</label>
|
|
|
|
- <textarea class="form-control form-control-sm w-100" name="contentText"
|
|
|
|
- required>Interacted with the patient</textarea>
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center">
|
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
@@ -107,26 +116,28 @@
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
<i class="mr-1 text-sm fa {{$iPatient->number_of_days_with_remote_measurements >= 16 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger on-hover-opaque'}}"></i>
|
|
<i class="mr-1 text-sm fa {{$iPatient->number_of_days_with_remote_measurements >= 16 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger on-hover-opaque'}}"></i>
|
|
<span class="sort-data">{{$iPatient->number_of_days_with_remote_measurements ?: 0}}</span>
|
|
<span class="sort-data">{{$iPatient->number_of_days_with_remote_measurements ?: 0}}</span>
|
|
- @if($iPatient->number_of_days_with_remote_measurements < 16)
|
|
|
|
- <div moe relative class="ml-2">
|
|
|
|
- <a href="#" start show class="text-sm">SMS</a>
|
|
|
|
- <form url="/api/clientSms/createOutgoing" right="" class="mcp-theme-1" noreload="" style="display: none;">
|
|
|
|
- <input type="hidden" name="uid" value="{{ $iPatient->client_uid }}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for="" class="text-sm text-secondary mb-1">Cell Number</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="cellNumber" value="{{$iPatient->cell_number}}">
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for="" class="text-sm text-secondary mb-1">Message</label>
|
|
|
|
- <textarea rows="5" class="form-control form-control-sm" name="message">Hi! This is {{$pro->displayName(true)}}, from Cardio 1st. Please check your blood pressure.</textarea>
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center">
|
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit="">Send</button>
|
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel="">Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
|
|
+ {{--@if(!request()->input('not-enrolled'))
|
|
|
|
+ @if($iPatient->number_of_days_with_remote_measurements < 16)
|
|
|
|
+ <div moe relative class="ml-2">
|
|
|
|
+ <a href="#" start show class="text-sm">SMS</a>
|
|
|
|
+ <form url="/api/clientSms/createOutgoing" right="" class="mcp-theme-1" noreload="" style="display: none;">
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $iPatient->client_uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Cell Number</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cellNumber" value="{{$iPatient->cell_number}}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Message</label>
|
|
|
|
+ <textarea rows="5" class="form-control form-control-sm" name="message">Hi! This is {{$pro->displayName(true)}}, from Cardio 1st. Please check your blood pressure.</textarea>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit="">Send</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel="">Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+ @endif--}}
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
@if($strategy === 'X16_DAYS_20_MINS_ON_OWN_MCP_COM_DURING_CM')
|
|
@if($strategy === 'X16_DAYS_20_MINS_ON_OWN_MCP_COM_DURING_CM')
|
|
@@ -134,31 +145,35 @@
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
@if($mode === 'mcp')
|
|
@if($mode === 'mcp')
|
|
<span class="sort-data">{{$iPatient->rm_num_measurements_not_stamped_by_mcp}}</span>
|
|
<span class="sort-data">{{$iPatient->rm_num_measurements_not_stamped_by_mcp}}</span>
|
|
- @if($iPatient->rm_num_measurements_not_stamped_by_mcp)
|
|
|
|
- <a href="{{ route('practice-management.rpm_work_matrix') }}?patientUid={{$iPatient->client_uid}}&careMonthUid={{$iPatient->care_month_uid}}"
|
|
|
|
- native target="_blank"
|
|
|
|
- open-in-stag-popup
|
|
|
|
- update-parent="refresh-rpm-row-{{$trIndex}}"
|
|
|
|
- popup-style="tall overflow-visible"
|
|
|
|
- class="ml-2 text-sm"
|
|
|
|
- mc-initer="rpm-work-matrix"
|
|
|
|
- title="RPM Work Matrix">
|
|
|
|
- View
|
|
|
|
- </a>
|
|
|
|
|
|
+ @if(!request()->input('not-enrolled'))
|
|
|
|
+ @if($iPatient->rm_num_measurements_not_stamped_by_mcp)
|
|
|
|
+ <a href="{{ route('practice-management.rpm_work_matrix') }}?patientUid={{$iPatient->client_uid}}&careMonthUid={{$iPatient->care_month_uid}}"
|
|
|
|
+ native target="_blank"
|
|
|
|
+ open-in-stag-popup
|
|
|
|
+ update-parent="refresh-rpm-row-{{$trIndex}}"
|
|
|
|
+ popup-style="tall overflow-visible"
|
|
|
|
+ class="ml-2 text-sm"
|
|
|
|
+ mc-initer="rpm-work-matrix"
|
|
|
|
+ title="RPM Work Matrix">
|
|
|
|
+ View
|
|
|
|
+ </a>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
@elseif($mode === 'rmm')
|
|
@elseif($mode === 'rmm')
|
|
<span class="sort-data">{{$iPatient->rm_num_measurements_not_stamped_by_rmm}}</span>
|
|
<span class="sort-data">{{$iPatient->rm_num_measurements_not_stamped_by_rmm}}</span>
|
|
- @if($iPatient->rm_num_measurements_not_stamped_by_rmm)
|
|
|
|
- <a href="{{ route('practice-management.rpm_work_matrix') }}?patientUid={{$iPatient->client_uid}}&careMonthUid={{$iPatient->care_month_uid}}"
|
|
|
|
- native target="_blank"
|
|
|
|
- open-in-stag-popup
|
|
|
|
- update-parent="refresh-rpm-row-{{$trIndex}}"
|
|
|
|
- popup-style="tall overflow-visible"
|
|
|
|
- class="ml-2 text-sm"
|
|
|
|
- mc-initer="rpm-work-matrix"
|
|
|
|
- title="RPM Work Matrix">
|
|
|
|
- View
|
|
|
|
- </a>
|
|
|
|
|
|
+ @if(!request()->input('not-enrolled'))
|
|
|
|
+ @if($iPatient->rm_num_measurements_not_stamped_by_rmm)
|
|
|
|
+ <a href="{{ route('practice-management.rpm_work_matrix') }}?patientUid={{$iPatient->client_uid}}&careMonthUid={{$iPatient->care_month_uid}}"
|
|
|
|
+ native target="_blank"
|
|
|
|
+ open-in-stag-popup
|
|
|
|
+ update-parent="refresh-rpm-row-{{$trIndex}}"
|
|
|
|
+ popup-style="tall overflow-visible"
|
|
|
|
+ class="ml-2 text-sm"
|
|
|
|
+ mc-initer="rpm-work-matrix"
|
|
|
|
+ title="RPM Work Matrix">
|
|
|
|
+ View
|
|
|
|
+ </a>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@@ -169,26 +184,28 @@
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
<i class="mr-1 text-sm fa {{$iPatient->number_of_days_with_remote_measurements >= 16 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger on-hover-opaque'}}"></i>
|
|
<i class="mr-1 text-sm fa {{$iPatient->number_of_days_with_remote_measurements >= 16 ? 'fa-check text-success' : 'fa-exclamation-triangle text-danger on-hover-opaque'}}"></i>
|
|
<span class="sort-data">{{$iPatient->number_of_days_with_remote_measurements ?: 0}}</span>
|
|
<span class="sort-data">{{$iPatient->number_of_days_with_remote_measurements ?: 0}}</span>
|
|
- @if($iPatient->number_of_days_with_remote_measurements < 16)
|
|
|
|
- <div moe relative class="ml-2">
|
|
|
|
- <a href="#" start show class="text-sm">SMS</a>
|
|
|
|
- <form url="/api/clientSms/createOutgoing" right="" class="mcp-theme-1" noreload="" style="display: none;">
|
|
|
|
- <input type="hidden" name="uid" value="{{ $iPatient->client_uid }}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for="" class="text-sm text-secondary mb-1">Cell Number</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="cellNumber" value="{{$iPatient->cell_number}}">
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for="" class="text-sm text-secondary mb-1">Message</label>
|
|
|
|
- <textarea rows="5" class="form-control form-control-sm" name="message">Hi! This is {{$pro->displayName(true)}}, from Cardio 1st. Please check your blood pressure.</textarea>
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center">
|
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit="">Send</button>
|
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel="">Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
|
|
+ {{--@if(!request()->input('not-enrolled'))
|
|
|
|
+ @if($iPatient->number_of_days_with_remote_measurements < 16)
|
|
|
|
+ <div moe relative class="ml-2">
|
|
|
|
+ <a href="#" start show class="text-sm">SMS</a>
|
|
|
|
+ <form url="/api/clientSms/createOutgoing" right="" class="mcp-theme-1" noreload="" style="display: none;">
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $iPatient->client_uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Cell Number</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cellNumber" value="{{$iPatient->cell_number}}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Message</label>
|
|
|
|
+ <textarea rows="5" class="form-control form-control-sm" name="message">Hi! This is {{$pro->displayName(true)}}, from Cardio 1st. Please check your blood pressure.</textarea>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit="">Send</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel="">Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+ @endif--}}
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
@endif
|
|
@endif
|
|
@@ -213,76 +230,110 @@
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
|
|
+ @if(!request()->input('not-enrolled'))
|
|
<td>
|
|
<td>
|
|
@if($mode === 'mcp')
|
|
@if($mode === 'mcp')
|
|
- @if($iPatient->mcp_rm_generic_bill_id)
|
|
|
|
|
|
+ @if($lastVisitWithin90Days && $iPatient->has_mcp_interacted_with_client_about_rm && $iPatient->number_of_days_with_remote_measurements >= 16 && $iPatient->rm_total_time_in_seconds_by_mcp >= 1200)
|
|
<span class="text-success font-weight-bold">
|
|
<span class="text-success font-weight-bold">
|
|
<i class="fa fa-check"></i>
|
|
<i class="fa fa-check"></i>
|
|
- Yes
|
|
|
|
|
|
+ ${{friendly_money($pro->mcp_rpm_payment_amount, 0)}}
|
|
</span>
|
|
</span>
|
|
- (${{friendly_money($iPatient->mcp_rm_generic_bill_expected_payment_amount)}})
|
|
|
|
- @if($iPatient->mcp_rm_generic_bill_signed)
|
|
|
|
- <div moe relative
|
|
|
|
- class="d-inline-block {{ $iPatient->mcp_rm_generic_bill_generic_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
|
- title="{{ $iPatient->mcp_rm_generic_bill_generic_pro_id !== $pro->id ? 'Only the bill\'s pro can sign' : '' }}">
|
|
|
|
- <a class="font-weight-bold" href="" show start>Sign</a>
|
|
|
|
- <form url="/api/bill/signAsGenericPro" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$iPatient->mcp_rm_generic_bill_uid}}">
|
|
|
|
- <p>Sign this bill?</p>
|
|
|
|
|
|
+ {{--
|
|
|
|
+ @if($iPatient->mcp_rm_generic_bill_uid)
|
|
|
|
+ ${{friendly_money($iPatient->mcp_rm_generic_bill_expected_payment_amount)}}
|
|
|
|
+ @if($iPatient->mcp_rm_generic_bill_signed)
|
|
|
|
+ <div moe relative
|
|
|
|
+ class="d-inline-block {{ $iPatient->mcp_rm_generic_bill_generic_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
|
+ title="{{ $iPatient->mcp_rm_generic_bill_generic_pro_id !== $pro->id ? 'Only the bill\'s pro can sign' : '' }}">
|
|
|
|
+ <a class="font-weight-bold" href="" show start>Sign</a>
|
|
|
|
+ <form url="/api/bill/signAsGenericPro" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$iPatient->mcp_rm_generic_bill_uid}}">
|
|
|
|
+ <p>Sign this bill?</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Sign</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @else
|
|
|
|
+ <span class="text-success">Signed</span>
|
|
|
|
+ @endif
|
|
|
|
+ @else
|
|
|
|
+ <div moe relative class="d-inline-block">
|
|
|
|
+ <a class="font-weight-bold" href="" show start>Bill</a>
|
|
|
|
+ <form url="/api/careMonth/generateRmGenericBillForMcpAndAutoSign" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$iPatient->care_month_uid}}">
|
|
|
|
+ <p>Bill for this care month and sign it?</p>
|
|
<div class="mb-0">
|
|
<div class="mb-0">
|
|
- <button class="btn btn-success btn-sm" submit>Sign</button>
|
|
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Bill & Sign</button>
|
|
<button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
<button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
- @else
|
|
|
|
- <span class="text-success">Signed</span>
|
|
|
|
@endif
|
|
@endif
|
|
|
|
+ --}}
|
|
@else
|
|
@else
|
|
<span class="text-danger font-weight-normal">
|
|
<span class="text-danger font-weight-normal">
|
|
- Not yet
|
|
|
|
|
|
+ No
|
|
</span>
|
|
</span>
|
|
@endif
|
|
@endif
|
|
@elseif($mode === 'rmm')
|
|
@elseif($mode === 'rmm')
|
|
- @if($iPatient->rmm_rm_generic_bill_id)
|
|
|
|
|
|
+ @if($lastVisitWithin90Days && $iPatient->has_mcp_interacted_with_client_about_rm && $iPatient->number_of_days_with_remote_measurements >= 16 && $iPatient->rm_total_time_in_seconds_by_rmm_pro >= 1200)
|
|
<span class="text-success font-weight-bold">
|
|
<span class="text-success font-weight-bold">
|
|
<i class="fa fa-check"></i>
|
|
<i class="fa fa-check"></i>
|
|
- Yes
|
|
|
|
</span>
|
|
</span>
|
|
- (${{friendly_money($iPatient->rmm_rm_generic_bill_expected_payment_amount)}})
|
|
|
|
- @if($iPatient->rmm_rm_generic_bill_signed)
|
|
|
|
- <div moe relative
|
|
|
|
- class="d-inline-block {{ $iPatient->rmm_rm_generic_bill_generic_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
|
- title="{{ $iPatient->rmm_rm_generic_bill_generic_pro_id !== $pro->id ? 'Only the bill\'s pro can sign' : '' }}">
|
|
|
|
- <a class="font-weight-bold" href="" show start>Sign</a>
|
|
|
|
- <form url="/api/bill/signAsGenericPro" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$iPatient->rmm_rm_generic_bill_uid}}">
|
|
|
|
- <p>Sign this bill?</p>
|
|
|
|
|
|
+ ${{friendly_money($pro->rmm_payment_amount, 0)}}
|
|
|
|
+ {{--
|
|
|
|
+ @if($iPatient->rmm_rm_generic_bill_uid)
|
|
|
|
+ ${{friendly_money($iPatient->rmm_rm_generic_bill_expected_payment_amount)}}
|
|
|
|
+ @if($iPatient->rmm_rm_generic_bill_signed)
|
|
|
|
+ <div moe relative
|
|
|
|
+ class="d-inline-block {{ $iPatient->rmm_rm_generic_bill_generic_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
|
+ title="{{ $iPatient->rmm_rm_generic_bill_generic_pro_id !== $pro->id ? 'Only the bill\'s pro can sign' : '' }}">
|
|
|
|
+ <a class="font-weight-bold" href="" show start>Sign</a>
|
|
|
|
+ <form url="/api/bill/signAsGenericPro" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$iPatient->rmm_rm_generic_bill_uid}}">
|
|
|
|
+ <p>Sign this bill?</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Sign</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @else
|
|
|
|
+ <span class="text-success">Signed</span>
|
|
|
|
+ @endif
|
|
|
|
+ @else
|
|
|
|
+ <div moe relative class="d-inline-block">
|
|
|
|
+ <a class="font-weight-bold" href="" show start>Bill</a>
|
|
|
|
+ <form url="/api/careMonth/generateRmGenericBillForRmmAndAutoSign" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$iPatient->care_month_uid}}">
|
|
|
|
+ <p>Bill for this care month and sign it?</p>
|
|
<div class="mb-0">
|
|
<div class="mb-0">
|
|
- <button class="btn btn-success btn-sm" submit>Sign</button>
|
|
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Bill & Sign</button>
|
|
<button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
<button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
- @else
|
|
|
|
- <span class="text-success">Signed</span>
|
|
|
|
@endif
|
|
@endif
|
|
|
|
+ --}}
|
|
@else
|
|
@else
|
|
<span class="text-danger font-weight-normal">
|
|
<span class="text-danger font-weight-normal">
|
|
- Not yet
|
|
|
|
|
|
+ No
|
|
</span>
|
|
</span>
|
|
@endif
|
|
@endif
|
|
@elseif($mode === 'rme')
|
|
@elseif($mode === 'rme')
|
|
@if($lastVisitWithin90Days && $iPatient->number_of_days_with_remote_measurements >= 16)
|
|
@if($lastVisitWithin90Days && $iPatient->number_of_days_with_remote_measurements >= 16)
|
|
<span class="text-success font-weight-bold">
|
|
<span class="text-success font-weight-bold">
|
|
<i class="fa fa-check"></i>
|
|
<i class="fa fa-check"></i>
|
|
- Yes
|
|
|
|
</span>
|
|
</span>
|
|
|
|
+ ${{friendly_money($pro->rme_payment_amount, 0)}}
|
|
@else
|
|
@else
|
|
<span class="text-danger font-weight-normal">
|
|
<span class="text-danger font-weight-normal">
|
|
- Not yet
|
|
|
|
|
|
+ No
|
|
</span>
|
|
</span>
|
|
@endif
|
|
@endif
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
|
|
+ @endif
|
|
</tr>
|
|
</tr>
|