|
@@ -56,17 +56,51 @@
|
|
|
<div class="ml-3">
|
|
|
<div class="d-inline-flex align-items-start">
|
|
|
<b>{{ ucwords($patient->is_enrolled_in_rm ? $patient->is_enrolled_in_rm : '-') }}</b>
|
|
|
- <div moe class="ml-2">
|
|
|
- <a start show>Toggle</a>
|
|
|
- <form url="/api/client/{{$patient->is_enrolled_in_rm === 'YES' ? 'setIsEnrolledInRmToFalse' : 'setIsEnrolledInRmToTrue'}}" class="mcp-theme-1">
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
- <p>Toggle RM enrollment?</p>
|
|
|
- <div>
|
|
|
- <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
- <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
+ @if($patient->is_enrolled_in_rm === 'YES')
|
|
|
+ <div moe wide class="ml-2">
|
|
|
+ <a start show>Toggle</a>
|
|
|
+ <form url="/api/client/setIsEnrolledInRmToFalse" class="mcp-theme-1">
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <h2 class="alert alert-warning"><i class="fa fa-warning"></i> RPM Enrollment Cancellation</h2>
|
|
|
+ <div>
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ <div moe wide class="ml-2">
|
|
|
+ <a start show>Toggle</a>
|
|
|
+ <form url="/api/client/setIsEnrolledInRmToTrue" class="mcp-theme-1">
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <h2>RPM Enrollment:</h2>
|
|
|
+ <h3>Please confirm the following with patient:</h3>
|
|
|
+ <p>I understand that:</p>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+ <input type="checkbox" required="true" name="x" class="form-control input-sm">
|
|
|
+ I am the only person who should be using the remote monitoring equipment as instructed. I will
|
|
|
+ not use the device for reasons other than my own personal health monitoring. I understand that
|
|
|
+ I can only participate in this program with one Medical Provider at a time.
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <input type="checkbox" required="true" name="y" class="form-control input-sm">
|
|
|
+ I will not tamper with the equipment. I understand that I am responsible for any fees associated
|
|
|
+ with misuse of the equipment.
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <input type="checkbox" required="true" name="z" class="form-control input-sm">
|
|
|
+ I understand the devices are only designed for the RPM program.
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|