|
@@ -0,0 +1,106 @@
|
|
|
|
+<?php
|
|
|
|
+ $nextFUReasons = [
|
|
|
|
+ "Appointment Confirmation",
|
|
|
|
+ "New Appointment",
|
|
|
|
+ "Missed Appointment",
|
|
|
|
+ "Appointment Reschedule",
|
|
|
|
+ "Appointment Cancellation",
|
|
|
|
+ "Response to Pt's Voicemail",
|
|
|
|
+ "Regarding ERx/Lab/Image Orders",
|
|
|
|
+ "Regarding Supply Orders",
|
|
|
|
+ "Regarding RPM",
|
|
|
|
+ "Pt Profile Related Matters",
|
|
|
|
+ "Pt Insurance Related Matters",
|
|
|
|
+ "Incoming Referrals",
|
|
|
|
+ "Outgoing Referrals",
|
|
|
|
+ "Insurance Verification",
|
|
|
|
+ "Questions Related to Past Visit",
|
|
|
|
+ "Provider Recommended follow-up",
|
|
|
|
+ "Care Coordination",
|
|
|
|
+ "Patient Consent",
|
|
|
|
+ "Patient Feedback",
|
|
|
|
+ "Goals Follow Up",
|
|
|
|
+ "Other-- (check recent memo)",
|
|
|
|
+ ];
|
|
|
|
+?>
|
|
|
|
+<div moe wide>
|
|
|
|
+ <a href="#" start show class="d-flex align-items-baseline" title="Next FU"><img src="{{ asset('img/p-phone.png') }}" alt="" style="width:24px"></a>
|
|
|
|
+ <form url="/api/client/putClientRepFollowUp" class="mcp-theme-1">
|
|
|
|
+ <div id="viewNextFuData" class="{{ $patient->clientRepFollowUp ? '':'d-none' }}">
|
|
|
|
+ @if($patient->clientRepFollowUp)
|
|
|
|
+ <a id="updateNextFu" class="c-pointer">Update</a>
|
|
|
|
+ <table class="table table-sm table-striped table-bordered">
|
|
|
|
+ <tr>
|
|
|
|
+ <td><b>Updated At</b></td>
|
|
|
|
+ <td>{{ friendly_date_time($patient->clientRepFollowUp->updated_at) }}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td><b>Client Rep</b></td>
|
|
|
|
+ <td>{{ $patient->clientRepFollowUp->pro->displayName() }}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td><b>Next Followup Date</b></td>
|
|
|
|
+ <td>{{ friendly_date_time($patient->clientRepFollowUp->next_follow_up_date) }}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td><b>Next Followup Reason</b></td>
|
|
|
|
+ <td>{{ $patient->clientRepFollowUp->next_follow_up_reason }}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td><b>Next Followup Memo</b></td>
|
|
|
|
+ <td>{{ $patient->clientRepFollowUp->next_follow_up_memo }}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
+ <div id="updateNextFuData" class="{{ $patient->clientRepFollowUp ? 'd-none':'' }}">
|
|
|
|
+ <a id="showNextFu" class="c-pointer">Show FU</a>
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $patient->uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Next Calling Date</label>
|
|
|
|
+ <input type="date" class="form-control input-sm" name="nextFollowUpDate" value="{{ $patient->clientRepFollowUp ? $patient->clientRepFollowUp->next_follow_up_date : '' }}" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Call Assigned To</label>
|
|
|
|
+ <select provider-search name="clientRepProUid" class="form-control input-sm">
|
|
|
|
+ @if($patient->clientRepFollowUp)
|
|
|
|
+ <option value="{{ $patient->clientRepFollowUp->pro->uid }}">{{ $patient->clientRepFollowUp->pro->displayName() }}</option>
|
|
|
|
+ @endif
|
|
|
|
+ </select>
|
|
|
|
+ @if($patient->clientRepFollowUp)
|
|
|
|
+ <small class="text-muted">Current: <b>{{ $patient->clientRepFollowUp->pro->displayName() }}</b></small>
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Call Reason</label>
|
|
|
|
+ <select name="nextFollowUpReason" class="form-control input-sm">
|
|
|
|
+ <option value=""></option>
|
|
|
|
+ @foreach($nextFUReasons as $fuReason)
|
|
|
|
+ <option @if($patient->clientRepFollowUp){{ $patient->clientRepFollowUp->next_follow_up_reason == $fuReason ? 'selected':'' }} @endif>{{ $fuReason }}</option>
|
|
|
|
+ @endforeach
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Memo</label>
|
|
|
|
+ <textarea class="form-control input-sm" name="nextFollowUpMemo">{{ $patient->clientRepFollowUp ? $patient->clientRepFollowUp->next_follow_up_memo :'' }}</textarea>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+</div>
|
|
|
|
+
|
|
|
|
+<script>
|
|
|
|
+ $(document).ready(function() {
|
|
|
|
+ $('#updateNextFu').click(function(){
|
|
|
|
+ $('#viewNextFuData').addClass('d-none');
|
|
|
|
+ $('#updateNextFuData').removeClass('d-none');
|
|
|
|
+ });
|
|
|
|
+ $('#showNextFu').click(function(){
|
|
|
|
+ $('#viewNextFuData').removeClass('d-none');
|
|
|
|
+ $('#updateNextFuData').addClass('d-none');
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+</script>
|