|
@@ -53,36 +53,6 @@
|
|
|
@endif
|
|
|
</div>
|
|
|
<span class="text-secondary mx-2">|</span>
|
|
|
- <?php $currentCareMonth = $patient->currentCareMonth(); ?>
|
|
|
- @if($currentCareMonth && $pro->id === $currentCareMonth->mcp_pro_id)
|
|
|
- <?php $spoken = $currentCareMonth->has_anyone_interacted_with_client_about_rm_outside_note; ?>
|
|
|
- {{--
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <span class="mr-1 text-secondary">Comm. this month:</span>
|
|
|
- <span class="{{$spoken ? 'text-success' : ''}}">
|
|
|
- {{$spoken ? 'Yes' : 'No'}}
|
|
|
- @if(!$spoken)
|
|
|
- <i class="fa fa-exclamation-triangle"></i>
|
|
|
- @else
|
|
|
- <i class="fa fa-check"></i>
|
|
|
- @endif
|
|
|
- </span>
|
|
|
- @if($currentCareMonth->mcp && $pro->id === $currentCareMonth->mcp->id)
|
|
|
- <div moe relative class="ml-1">
|
|
|
- <a href="#" start show class=""><i class="fa fa-edit on-hover-opaque"></i></a>
|
|
|
- <form url="/api/careMonth/setHasAnyoneInteractedWithClientAboutRmOutsideNoteTo{{$spoken ? 'False' : 'True'}}" right>
|
|
|
- <input type="hidden" name="uid" value="{{$currentCareMonth->uid}}">
|
|
|
- <p>Set to {{$spoken ? 'No' : 'Yes'}}?</p>
|
|
|
- <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
|
|
|
- </div>
|
|
|
- <span class="text-secondary mx-2 d-xlarge">|</span>--}}
|
|
|
- @endif
|
|
|
|
|
|
<div class="d-flex align-items-center">
|
|
|
<span class="mr-1 text-secondary">Enrollment:</span>
|
|
@@ -90,37 +60,11 @@
|
|
|
@if($patient->is_enrolled_in_rm === 'NO' && $patient->why_not_enrolled_in_rm_category)
|
|
|
<span class="text-sm ml-2">({{$patient->why_not_enrolled_in_rm_category}})</span>
|
|
|
@endif
|
|
|
- @if($patient->is_enrolled_in_rm === 'YES')
|
|
|
- <div moe class="ml-1">
|
|
|
- <a start show><i class="fa fa-edit on-hover-opaque"></i></a>
|
|
|
- <form url="/api/client/setIsEnrolledInRmToFalse" class="mcp-theme-1">
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
- <p class="mb-2">Un-enroll from RPM?</p>
|
|
|
- <div class="mb-2">
|
|
|
- <label class="text-secondary text-sm mb-1">Reason</label>
|
|
|
- <select name="whyNotEnrolledInRmCategory" class="form-control" required>
|
|
|
- <option value="">-- select --</option>
|
|
|
- <option value="Withdrawn">Withdrawn</option>
|
|
|
- <option value="Inactive">Inactive</option>
|
|
|
- <option value="Entry Error">Entry Error</option>
|
|
|
- <option value="Test Chart">Test Chart</option>
|
|
|
- <option value="Deceased">Deceased</option>
|
|
|
- <option value="No Longer Eligible">No Longer Eligible</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="mb-2">
|
|
|
- <label class="text-secondary text-sm mb-1">Memo</label>
|
|
|
- <textarea type="text" name="whyNotEnrolledInRmMemo" class="form-control"></textarea>
|
|
|
- </div>
|
|
|
- <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
|
|
|
+
|
|
|
+ @if($patient->is_enrolled_in_rm === 'NO' || $patient->is_enrolled_in_rm === 'UNKNOWN')
|
|
|
+ <span class="ml-2 text-secondary">|</span>
|
|
|
<div moe wide class="ml-2">
|
|
|
- <a start show><i class="fa fa-edit on-hover-opaque"></i></a>
|
|
|
+ <a start show>Enroll</a>
|
|
|
<form url="/api/client/setIsEnrolledInRmToTrue" class="mcp-theme-1">
|
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
<h2>RPM Enrollment:</h2>
|
|
@@ -151,6 +95,35 @@
|
|
|
</form>
|
|
|
</div>
|
|
|
@endif
|
|
|
+
|
|
|
+ <span class="ml-2 text-secondary">|</span>
|
|
|
+ <div moe class="ml-2">
|
|
|
+ <a start show>{{$patient->is_enrolled_in_rm === 'YES' ? 'Un-enroll' : ($patient->is_enrolled_in_rm === 'NO' ? 'Edit Reason' : 'Not interested/other')}}</a>
|
|
|
+ <form url="/api/client/setIsEnrolledInRmToFalse" class="mcp-theme-1">
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <p class="mb-2 text-nowrap">{{$patient->is_enrolled_in_rm === 'YES' ? 'Mark as not enrolled' : ($patient->is_enrolled_in_rm === 'NO' ? 'Edit Reason' : 'Not interested/other')}}</p>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label class="text-secondary text-sm mb-1">Reason</label>
|
|
|
+ <select name="whyNotEnrolledInRmCategory" class="form-control" required>
|
|
|
+ <option value="">-- select --</option>
|
|
|
+ <option {{$patient->why_not_enrolled_in_rm_category === 'Withdrawn' ? 'selected' : ''}} value="Withdrawn">Withdrawn</option>
|
|
|
+ <option {{$patient->why_not_enrolled_in_rm_category === 'Inactive' ? 'selected' : ''}} value="Inactive">Inactive</option>
|
|
|
+ <option {{$patient->why_not_enrolled_in_rm_category === 'Entry Error' ? 'selected' : ''}} value="Entry Error">Entry Error</option>
|
|
|
+ <option {{$patient->why_not_enrolled_in_rm_category === 'Test Chart' ? 'selected' : ''}} value="Test Chart">Test Chart</option>
|
|
|
+ <option {{$patient->why_not_enrolled_in_rm_category === 'Deceased' ? 'selected' : ''}} value="Deceased">Deceased</option>
|
|
|
+ <option {{$patient->why_not_enrolled_in_rm_category === 'No Longer Eligible' ? 'selected' : ''}} value="No Longer Eligible">No Longer Eligible</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label class="text-secondary text-sm mb-1">Memo</label>
|
|
|
+ <textarea type="text" name="whyNotEnrolledInRmMemo" class="form-control">{{$patient->why_not_enrolled_in_rm_memo}}</textarea>
|
|
|
+ </div>
|
|
|
+ <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>
|
|
|
</div>
|
|
|
</div>
|
|
|
|