|
@@ -155,6 +155,7 @@
|
|
?>
|
|
?>
|
|
|
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
|
+ @if($patient->is_enrolled_in_cm === 'YES')
|
|
<div class="col-6">
|
|
<div class="col-6">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">CM Time Entries</h6>
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">CM Time Entries</h6>
|
|
@@ -269,6 +270,42 @@
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
+ @else
|
|
|
|
+ <div class="col-6">
|
|
|
|
+ <h6 class="mb-3 text-secondary font-weight-bold text-dark">CM Time Entries</h6>
|
|
|
|
+ <div class="alert alert-secondary mb-0">
|
|
|
|
+ <b>{{ $patient->displayName() }}</b> is currently not enrolled in <b>CM</b>.
|
|
|
|
+ <span moe class="">
|
|
|
|
+ <a start show class="font-weight-bold">Enroll Now</a>
|
|
|
|
+ <form url="/api/client/setIsEnrolledInCmToTrue">
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $patient->uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cmEnrollmentConsentMethod"
|
|
|
|
+ value="" placeholder="Consent Method">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cmEnrollmentConsentMethodMemo"
|
|
|
|
+ value="" placeholder="Consent Method Memo">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cmReason1"
|
|
|
|
+ value="" placeholder="CM Reason 1">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cmReason2"
|
|
|
|
+ value="" placeholder="CM Reason 2">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-success mr-2" submit>Enroll</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
|
|
+ @if($patient->is_enrolled_in_rm === 'YES')
|
|
<div class="col-6">
|
|
<div class="col-6">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">RM Time Entries</h6>
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">RM Time Entries</h6>
|
|
@@ -379,14 +416,43 @@
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
+ @else
|
|
|
|
+ <div class="col-6">
|
|
|
|
+ <h6 class="mb-3 text-secondary font-weight-bold text-dark">RM Time Entries</h6>
|
|
|
|
+ <div class="alert alert-secondary mb-0">
|
|
|
|
+ <b>{{ $patient->displayName() }}</b> is currently not enrolled in <b>RM</b>.
|
|
|
|
+ <span moe class="">
|
|
|
|
+ <a start show class="font-weight-bold">Enroll Now</a>
|
|
|
|
+ <form url="/api/client/setIsEnrolledInRmToTrue">
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $patient->uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="rmReason1"
|
|
|
|
+ value="" placeholder="RM Reason 1">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="rmReason2"
|
|
|
|
+ value="" placeholder="RM Reason 2">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-success mr-2" submit>Enroll</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ @if($patient->is_enrolled_in_cm === 'YES' || $patient->is_enrolled_in_rm === 'YES')
|
|
<hr class="m-negator mt-4 mb-3">
|
|
<hr class="m-negator mt-4 mb-3">
|
|
|
|
+ @endif
|
|
|
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
|
|
|
{{-- cm bills --}}
|
|
{{-- cm bills --}}
|
|
<div class="col-6">
|
|
<div class="col-6">
|
|
|
|
+ @if($patient->is_enrolled_in_cm === 'YES')
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">CM Bill
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">CM Bill
|
|
@if($activeCMBill && !$activeCMBill->is_signed_by_hcp)
|
|
@if($activeCMBill && !$activeCMBill->is_signed_by_hcp)
|
|
@@ -564,10 +630,12 @@
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endforeach
|
|
@endif
|
|
@endif
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{{-- rm bills --}}
|
|
{{-- rm bills --}}
|
|
<div class="col-6">
|
|
<div class="col-6">
|
|
|
|
+ @if($patient->is_enrolled_in_rm === 'YES')
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">RM Bill
|
|
<h6 class="my-0 text-secondary font-weight-bold text-dark">RM Bill
|
|
@if($activeRMBill && !$activeRMBill->is_signed_by_hcp)
|
|
@if($activeRMBill && !$activeRMBill->is_signed_by_hcp)
|
|
@@ -788,6 +856,7 @@
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endforeach
|
|
@endif
|
|
@endif
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|