|
@@ -228,48 +228,6 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div class="mt-3 mb-2">
|
|
|
|
- <div class="font-weight-bold mb-2">Basic Info</div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Sex: <b>{{ $patient->sex ?? '' }}</b>
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateSex" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Sex</label>
|
|
|
|
- <select class="form-control form-control-sm" name="sex">
|
|
|
|
- <option value="">--select--</option>
|
|
|
|
- <option value="M" @if($patient->sex === 'M') selected @endif>Male</option>
|
|
|
|
- <option value="F" @if($patient->sex === 'F') selected @endif>Female</option>
|
|
|
|
- </select>
|
|
|
|
- </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 class="mb-1">
|
|
|
|
- Date of Birth: <b>{{ $patient->dob ?? '' }}</b>
|
|
|
|
- <div moe>
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/editDob" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Date of Birth</label>
|
|
|
|
- <input type="date" class="form-control form-control-sm" name="dob" value="{{ $patient->dob }}" required />
|
|
|
|
- </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>
|
|
|
|
<hr class="m-negator-3 my-3">
|
|
<hr class="m-negator-3 my-3">
|
|
|
|
|
|
<div class="d-flex align-items-center mt-3 mb-2">
|
|
<div class="d-flex align-items-center mt-3 mb-2">
|
|
@@ -349,472 +307,6 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
-
|
|
|
|
- <div class="d-flex align-items-center mt-3 mb-2">
|
|
|
|
- <div class="font-weight-bold">Associated Pros</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="pl-3">
|
|
|
|
-
|
|
|
|
- <div class="mb-1">
|
|
|
|
- RMM: <b>{{ $patient->rmm->name_display ?? ''}}</b>
|
|
|
|
- @if($pro->pro_type === 'ADMIN')
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/putRmmPro" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">RMM Pro</label>
|
|
|
|
-
|
|
|
|
- <select class="form-control form-control-sm" name="rmmProUid">
|
|
|
|
- <option value="">--select--</option>
|
|
|
|
- @foreach($pros as $rmmPro)
|
|
|
|
- <option value="{{$rmmPro->uid}}">{{$rmmPro->name_display}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- RME: <b>{{ $patient->rme->name_display ?? '' }}</b>
|
|
|
|
- @if($pro->pro_type === 'ADMIN')
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/putRmePro" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">RME Pro</label>
|
|
|
|
- <select class="form-control form-control-sm" name="rmeProUid">
|
|
|
|
- <option value="">--select--</option>
|
|
|
|
- @foreach($pros as $rmePro)
|
|
|
|
- <option value="{{$rmePro->uid}}">{{$rmePro->name_display}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="mb-1">
|
|
|
|
- RMS: <b>{{ $patient->rms->name_display ??'' }}</b>
|
|
|
|
- @if($pro->pro_type === 'ADMIN')
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/putRmsPro" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">RMS Pro</label>
|
|
|
|
-
|
|
|
|
- <select class="form-control form-control-sm" name="rmsProUid">
|
|
|
|
- <option value="">--select--</option>
|
|
|
|
- @foreach($pros as $rmsPro)
|
|
|
|
- <option value="{{$rmsPro->uid}}">{{$rmsPro->name_display}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="mb-1">
|
|
|
|
- <label>Care Coordinator:</label> <b>{{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}</b>
|
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/putDefaultNaPro" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">Care Coordinator</label>
|
|
|
|
- <select provider-search data-pro-uid="{{ @$patient->defaultNaPro->uid }}"
|
|
|
|
- name="defaultNaProUid"
|
|
|
|
- class="form-control form-control-sm">
|
|
|
|
- <option value=""> --select--</option>
|
|
|
|
- @foreach($pros as $iPro)
|
|
|
|
- <option
|
|
|
|
- value="{{$iPro->uid}}" {{ $patient->defaultNaPro && $iPro->uid === $patient->defaultNaPro->uid ? 'selected' : '' }}>{{$iPro->displayName()}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @if($patient->defaultNaPro)
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-times"></i></a>
|
|
|
|
- <form url="/api/client/removeDefaultNaPro" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">Remove Care Coordinator</label>
|
|
|
|
-
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- MCP Pro: <b>{{ $patient->mcp->name_display ?? ''}}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- RD Pro: <b>{{ $patient->rd->name_display ?? ''}}</b>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div class="mt-3 mb-2">
|
|
|
|
- <div class="font-weight-bold mb-2">Claim Details</div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Claim Phone Number: <b>{{ $patient->claim_phone_number ?? '' }}</b>
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateClaimPhoneNumber" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Claim Phone Number</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="claimPhoneNumber" />
|
|
|
|
- </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 class="mb-1">
|
|
|
|
- <div class="d-flex">
|
|
|
|
- <span><b>Address</b> | </span>
|
|
|
|
- <div class="ml-1">
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateClaimAddress" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Claim Address 1</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" value="{{ $patient->claim_address_line1 }}" name="claimAddressLine1" />
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Claim Address 2</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" value="{{ $patient->claim_address_line2 }}" name="claimAddressLine2" />
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Claim Address City</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" value="{{ $patient->claim_address_city }}" name="claimAddressCity" />
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Claim Address State</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" value="{{ $patient->claim_address_state }}" name="claimAddressState" />
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Claim Address Zip</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" value="{{ $patient->claim_address_zip }}" name="claimAddressZip" />
|
|
|
|
- </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>
|
|
|
|
- <div>
|
|
|
|
- Claim Address 1: <b>{{ $patient->claim_address_line1 ?? '' }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- Claim Address 2: <b>{{ $patient->claim_address_line2 ?? '' }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- Claim Address City: <b>{{ $patient->claim_address_city ?? '' }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- Claim Address State: <b>{{ $patient->claim_address_state ?? '' }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- Claim Address Zip: <b>{{ $patient->claim_address_zip ?? '' }}</b>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div>
|
|
|
|
- <p>Is Eligible For Cm: {{$patient->is_eligible_for_cm}}</p>
|
|
|
|
- <p>Why Not Eligible For Cm Category: {{$patient->why_not_eligible_for_cm_category}}</p>
|
|
|
|
- <p>Why Not Eligible For Cm Memo: {{$patient->why_not_eligible_for_cm_memo}}</p>
|
|
|
|
- </div>
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Update CM Eligibility</a>
|
|
|
|
- <form url="/api/client/updateCmEligibility" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Is Eligible For Cm </label>
|
|
|
|
- <select name="isEligibleForCm" class="form-control">
|
|
|
|
- <option value="">--</option>
|
|
|
|
- <option value="YES">Yes</option>
|
|
|
|
- <option value="NO">No</option>
|
|
|
|
- <option value="UNKNOWN">Unknown</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Eligible For Cm Category</label>
|
|
|
|
- <input type="text" name="whyNotEligibleForCmCategory" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Eligible For Cm Memo</label>
|
|
|
|
- <input type="text" name="whyNotEligibleForCmMemo" class="form-control">
|
|
|
|
- </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>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div>
|
|
|
|
- <p>Is enrolled to CM: {{$patient->is_enrolled_in_cm}}</p>
|
|
|
|
- @if($patient->is_enrolled_in_cm == 'YES')
|
|
|
|
- <p>Cm Enrollment Consent Method Memo: {{$patient->cm_enrollment_consent_method}}</p>
|
|
|
|
- <p>Cm Enrollment Consent Method Memo: {{$patient->cm_enrollment_consent_method_memo}}</p>
|
|
|
|
- @else
|
|
|
|
- <p>Why Not Enrolled In Cm Category: {{$patient->why_not_enrolled_in_cm_category}}</p>
|
|
|
|
- <p>Why Not Enrolled In Cm Memo: {{$patient->why_not_enrolled_in_cm_memo}}</p>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- @if($patient->is_enrolled_in_cm == 'YES')
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Set is enrolled to CM to false</a>
|
|
|
|
- <form url="/api/client/setIsEnrolledInCmToFalse" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In Cm Category</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInCmCategory" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In Cm Memo</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInCmMemo" class="form-control">
|
|
|
|
- </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 moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Update CM Enrollemnt Consent Info</a>
|
|
|
|
- <form url="/api/client/updateCmEnrollmentConsentInfo" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Cm Enrollment Consent Method</label>
|
|
|
|
- <input type="text" name="cmEnrollmentConsentMethod" value="{{$patient->cm_enrollment_consent_method}}" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Cm Enrollment Consent Method Memo</label>
|
|
|
|
- <input type="text" name="cmEnrollmentConsentMethodMemo" value="{{$patient->cm_enrollment_consent_method_memo}}" class="form-control">
|
|
|
|
- </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
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Set is enrolled to CM to YES</a>
|
|
|
|
- <form url="/api/client/setIsEnrolledInCmToTrue" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Cm Enrollment Consent Method</label>
|
|
|
|
- <input type="text" name="cmEnrollmentConsentMethod" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Cm Enrollment Consent Method Memo</label>
|
|
|
|
- <input type="text" name="cmEnrollmentConsentMethodMemo" class="form-control">
|
|
|
|
- </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 moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Update Why Not Enrolled In CM</a>
|
|
|
|
- <form url="/api/client/updateWhyNotEnrolledInCm" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In Cm Category</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInCmCategory" value="{{$patient->why_not_enrolled_in_cm_category}}" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In Cm Memo</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInCmMemo" value="{{$patient->why_not_enrolled_in_cm_memo}}" class="form-control">
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div>
|
|
|
|
- <p>Is Eligible For RM: {{$patient->is_eligible_for_rm}}</p>
|
|
|
|
- <p>Why Not Eligible For RM Category: {{$patient->why_not_eligible_for_rm_category}}</p>
|
|
|
|
- <p>Why Not Eligible For RM Memo: {{$patient->why_not_eligible_for_rm_memo}}</p>
|
|
|
|
- </div>
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Update RM Eligiblity</a>
|
|
|
|
- <form url="/api/client/updateRmEligibility" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Is Eligible For RM </label>
|
|
|
|
- <select name="isEligibleForRm" class="form-control">
|
|
|
|
- <option value="">-- </option>
|
|
|
|
- <option value="YES">Yes</option>
|
|
|
|
- <option value="NO">No</option>
|
|
|
|
- <option value="UNKNOWN">Unknown</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Eligible For RM Category</label>
|
|
|
|
- <input type="text" name="whyNotEligibleForRmCategory" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Eligible For RM Memo</label>
|
|
|
|
- <input type="text" name="whyNotEligibleForRmMemo" class="form-control">
|
|
|
|
- </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>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div>
|
|
|
|
- <p>Is enrolled to RM: {{$patient->is_enrolled_in_rm}}</p>
|
|
|
|
- @if($patient->is_enrolled_in_rm == 'NO')
|
|
|
|
- <p>Why Not Enrolled In RM Category: {{$patient->why_not_enrolled_in_rm_category}}</p>
|
|
|
|
- <p>Why Not Enrolled In RM Memo: {{$patient->why_not_enrolled_in_rm_memo}}</p>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- @if($patient->is_enrolled_in_rm == 'YES')
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Set is enrolled to RM to false</a>
|
|
|
|
- <form url="/api/client/setIsEnrolledInRmToFalse" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In Rm Category</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInRmCategory" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In Rm Memo</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInRmMemo" class="form-control">
|
|
|
|
- </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
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Set is enrolled to RM to YES</a>
|
|
|
|
- <form url="/api/client/setIsEnrolledInRmToTrue" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Are you sure?</label>
|
|
|
|
- </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 moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Update Why Not Enrolled In RM</a>
|
|
|
|
- <form url="/api/client/updateWhyNotEnrolledInRm" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In RM Category</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInRmCategory" value="{{$patient->why_not_enrolled_in_rm_category}}" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Why Not Enrolled In RM Memo</label>
|
|
|
|
- <input type="text" name="whyNotEnrolledInRmMemo" value="{{$patient->why_not_enrolled_in_rm_memo}}" class="form-control">
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
|
|
|
|
@if($performer->pro->pro_type === 'ADMIN')
|
|
@if($performer->pro->pro_type === 'ADMIN')
|
|
<hr class="m-negator-3 my-3">
|
|
<hr class="m-negator-3 my-3">
|
|
@@ -861,95 +353,6 @@
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
- @if($patient->mcp && $performer->pro->id == $patient->mcp->id || true)
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div>
|
|
|
|
- <h3>MCP Engagement Assessment Status</h3>
|
|
|
|
- <p>Category: {{$patient->mcpEngagementAssessmentStatus->status_category ?? ''}}</p>
|
|
|
|
- <p>Memo: {{$patient->mcpEngagementAssessmentStatus->status_memo ?? ''}}</p>
|
|
|
|
- <p>Detail: {{$patient->mcpEngagementAssessmentStatus->status_detail ?? ''}}</p>
|
|
|
|
- </div>
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Update MCP Engagement Assessment Status</a>
|
|
|
|
- <form url="/api/client/updateMcpEngagementAssessmentStatus" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Category </label>
|
|
|
|
- <select name="category" class="form-control">
|
|
|
|
- <option value="NULL">--</option>
|
|
|
|
- <option value="ACTIVE">ACTIVE</option>
|
|
|
|
- <option value="INACTIVE">INACTIVE</option>
|
|
|
|
- <option value="ENTRY_ERROR">ENTRY_ERROR</option>
|
|
|
|
- <option value="DUMMY">DUMMY</option>
|
|
|
|
- <option value="DECEASED">DECEASED</option>
|
|
|
|
- <option value="DUPLICATE">DUPLICATE</option>
|
|
|
|
- <option value="NO_LONGER_INTERESTED">NO_LONGER_INTERESTED</option>
|
|
|
|
- <option value="BAD_RECORD">BAD_RECORD</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Memo</label>
|
|
|
|
- <input type="text" name="memo" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Detail</label>
|
|
|
|
- <input type="text" name="detail" class="form-control">
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- @if($patient->defaultNaPro && $performer->pro->id == $patient->defaultNaPro->id)
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <div>
|
|
|
|
- <h3>Default NA Engagement Assessment Status</h3>
|
|
|
|
- <p>Category: {{$patient->defaultNaEngagementAssessmentStatus->status_category ?? ''}}</p>
|
|
|
|
- <p>Memo: {{$patient->defaultNaEngagementAssessmentStatus->status_memo ?? ''}}</p>
|
|
|
|
- <p>Detail: {{$patient->defaultNaEngagementAssessmentStatus->status_detail ?? ''}}</p>
|
|
|
|
- </div>
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i>Update Default NA Engagement Assessment Status</a>
|
|
|
|
- <form url="/api/client/updateDefaultNaEngagementAssessmentStatus" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Category </label>
|
|
|
|
- <select name="category" class="form-control">
|
|
|
|
- <option value="NULL">--</option>
|
|
|
|
- <option value="ACTIVE">ACTIVE</option>
|
|
|
|
- <option value="INACTIVE">INACTIVE</option>
|
|
|
|
- <option value="ENTRY_ERROR">ENTRY_ERROR</option>
|
|
|
|
- <option value="DUMMY">DUMMY</option>
|
|
|
|
- <option value="DECEASED">DECEASED</option>
|
|
|
|
- <option value="DUPLICATE">DUPLICATE</option>
|
|
|
|
- <option value="NO_LONGER_INTERESTED">NO_LONGER_INTERESTED</option>
|
|
|
|
- <option value="BAD_RECORD">BAD_RECORD</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Memo</label>
|
|
|
|
- <input type="text" name="memo" class="form-control">
|
|
|
|
- </div>
|
|
|
|
- <div class="form-group">
|
|
|
|
- <label class="control-label">Detail</label>
|
|
|
|
- <input type="text" name="detail" class="form-control">
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
@if($performer->pro->pro_type == 'ADMIN')
|
|
@if($performer->pro->pro_type == 'ADMIN')
|
|
<hr class="m-negator-3 my-3">
|
|
<hr class="m-negator-3 my-3">
|
|
<div>
|
|
<div>
|
|
@@ -995,479 +398,7 @@
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
- <div class="col-6 border-left">
|
|
|
|
-
|
|
|
|
- <span>
|
|
|
|
- <span class="mr-1">MCP Onboarding Active?</span>
|
|
|
|
- @if($patient->has_mcp_done_onboarding_visit === 'YES')
|
|
|
|
- <b class="text-secondary"><i class="fa fa-check"></i> Already Onboarded</b>
|
|
|
|
- @else
|
|
|
|
- @if($patient->is_mcp_onboarding_active === 'YES')
|
|
|
|
- <b>Yes</b>
|
|
|
|
- @elseif($patient->is_mcp_onboarding_active === 'NO')
|
|
|
|
- <b>No</b>
|
|
|
|
- @else
|
|
|
|
- <b>-</b>
|
|
|
|
- @endif
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateMcpOnboardingActiveInfo" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">MCP Onboarding Active?</label>
|
|
|
|
- <select name="isMcpOnboardingActive"
|
|
|
|
- class="form-control form-control-sm"
|
|
|
|
- onchange="$('.if-mcb-ob-not-active')[this.value==='NO' ? 'removeClass' : 'addClass']('d-none')"
|
|
|
|
- required>
|
|
|
|
- <option value=""> --select--</option>
|
|
|
|
- <option value="YES">Yes</option>
|
|
|
|
- <option value="NO">No</option>
|
|
|
|
- <option value="UNKNOWN">Unknown</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="if-mcb-ob-not-active d-none">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">Category</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm"
|
|
|
|
- name="whyIsMcpOnboardingNotActiveCategory"
|
|
|
|
- value="{{ $patient->why_is_mcp_onboarding_not_active_category }}">
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">Memo</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm"
|
|
|
|
- name="whyIsMcpOnboardingNotActiveMemo"
|
|
|
|
- value="{{ $patient->why_is_mcp_onboarding_not_active_memo }}">
|
|
|
|
- </div>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- @if($patient->has_mcp_done_onboarding_visit !== 'YES' && $patient->is_mcp_onboarding_active === 'NO')
|
|
|
|
- <div class="text-secondary p-2 border my-2 bg-light">
|
|
|
|
- <div class="font-weight-bold">{{$patient->why_is_mcp_onboarding_not_active_category}}</div>
|
|
|
|
- <div>{{$patient->why_is_mcp_onboarding_not_active_memo}}</div>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
- </span>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <span>MCP: <b>{{ $patient->mcp ? $patient->mcp->displayName() : '-' }}</b></span>
|
|
|
|
- @if($pro->pro_type == 'ADMIN' || $pro->id == $patient->default_na_pro_id)
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/putMcp" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">MCP Pro</label>
|
|
|
|
- <select name="mcpProUid" class="form-control form-control-sm" provider-search data-pro-uid="{{ @$patient->mcp->uid }}" >
|
|
|
|
- <option value=""> --select--</option>
|
|
|
|
- @foreach($pros as $iPro)
|
|
|
|
- <option
|
|
|
|
- value="{{$iPro->uid}}" {{ $patient->mcp && $iPro->uid === $patient->mcp->uid ? 'selected' : '' }}>{{$iPro->displayName()}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <span>Physician: <b>{{ $patient->pcp ? $patient->pcp->displayName() : '-' }}</b></span>
|
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
|
- <div moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/putPhysicianPro" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">Physician Pro</label>
|
|
|
|
- <select name="physicianProUid" class="form-control form-control-sm" provider-search data-pro-uid="{{ @$patient->pcp->uid }}" >
|
|
|
|
- <option value=""> --select--</option>
|
|
|
|
- @foreach($pros as $iPro)
|
|
|
|
- <option
|
|
|
|
- value="{{$iPro->uid}}" {{ $patient->pcp && $iPro->uid === $patient->pcp->uid ? 'selected' : '' }}>{{$iPro->displayName()}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <span>MCP Onboarding Visit: <b>{{ $patient->has_mcp_done_onboarding_visit }}</b></span>
|
|
|
|
- <span moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateMcpOnboardingVisitInfo" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <select name="hasMcpDoneOnboardingVisit"
|
|
|
|
- class="form-control form-control-sm"
|
|
|
|
- onchange="toggleDisabledAsNeeded(this, 'YES', 'if-visit-done')">
|
|
|
|
- <option value="">-- Select Status --</option>
|
|
|
|
- <option
|
|
|
|
- value="YES" {{ $patient->has_mcp_done_onboarding_visit === 'YES' ? 'selected' : '' }}>YES</option>
|
|
|
|
- <option
|
|
|
|
- value="NO" {{ $patient->has_mcp_done_onboarding_visit === 'NO' ? 'selected' : '' }}>NO</option>
|
|
|
|
- <option value="UNKNOWN" {{ $patient->has_mcp_done_onboarding_visit === 'UNKNOWN' ? 'selected' : '' }}>UNKNOWN</option>
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <input type="date" class="if-visit-done form-control form-control-sm" disabled
|
|
|
|
- name="mcpOnboardingVisitDate" value="{{ date('Y-m-d') }}" max="{{ date('Y-m-d') }}">
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <select name="mcpOnboardingVisitNoteUid" disabled
|
|
|
|
- class="form-control form-control-sm if-visit-done"
|
|
|
|
- onchange="if(this.value === '-- create --') createNewNote('{{$patient->uid}}', '{{$pro->uid}}', '{{date('Y-m-d')}}');">
|
|
|
|
- <option value="">-- Visit Note --</option>
|
|
|
|
- <?php $notes = \App\Models\Note::where('client_id', $patient->id)->get() ?>
|
|
|
|
- @foreach ($notes as $note)
|
|
|
|
- @if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
|
|
|
|
- <option
|
|
|
|
- {{ $patient->mcp_onboarding_visit_note_id === $note->id ? 'selected' : '' }}
|
|
|
|
- value="{{$note->uid}}">{{$note->hcpPro->displayName()}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
|
|
|
|
- @endif
|
|
|
|
- @endforeach
|
|
|
|
- {{--<option value="-- create --">-- Create Note --</option>--}}
|
|
|
|
- </select>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2 if-note-outside-system">
|
|
|
|
- <textarea class="form-control form-control-sm" name="reasonOnboardingVisitNoteOutsideSystem"
|
|
|
|
- placeholder="Visit note outside the system reason" spellcheck="false"
|
|
|
|
- data-gramm="false"></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>
|
|
|
|
- </span>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <span>Initiative: <b>{{$patient->initiative ? $patient->initiative : 'N/A'}}</b></span>
|
|
|
|
- <span moe class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updateInitiative" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" name="initiative" class="form-control form-control-sm" value="{{$patient->initiative}}">
|
|
|
|
- </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>
|
|
|
|
- </span>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 my-3">
|
|
|
|
- <span>Send SMS for device measurements: <b>{{$patient->send_sms_on_bdt_measurement ? 'YES' : 'NO'}}</b></span>
|
|
|
|
- @if($patient->send_sms_on_bdt_measurement)
|
|
|
|
- <span moe class="ml-2">
|
|
|
|
- <a start show>Turn Off</a>
|
|
|
|
- <form url="/api/client/setSendSmsOnBdtMeasurementToFalse" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <p>Turn off SMS on device measurements?</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>
|
|
|
|
- </span>
|
|
|
|
- @else
|
|
|
|
- <span moe class="ml-2">
|
|
|
|
- <a start show>Turn On</a>
|
|
|
|
- <form url="/api/client/setSendSmsOnBdtMeasurementToTrue" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <p>Turn on SMS on device measurements?</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>
|
|
|
|
- </span>
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 mt-3">
|
|
|
|
- <div id="preferredPharmacyApp">
|
|
|
|
- <span>Preferred Pharmacy: <b>@{{ pharmacy() }}</b></span>
|
|
|
|
- <span moe bottom relative large class="ml-2">
|
|
|
|
- <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
- <form url="/api/client/updatePreferredPharmacyDetail" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <input type="hidden" name="preferredPharmacyDetail" v-model="json">
|
|
|
|
- <div class="row mb-2">
|
|
|
|
- <div class="col-12">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Business Name</label>
|
|
|
|
- <input type="text" v-model="payload.pharmacyName" class="form-control form-control-sm">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row mb-2">
|
|
|
|
- <div class="col-6">
|
|
|
|
- <label class="text-sm text-secondary mb-1">City</label>
|
|
|
|
- <input type="text" v-model="payload.pharmacyCity" class="form-control form-control-sm">
|
|
|
|
- </div>
|
|
|
|
- <div class="col-6">
|
|
|
|
- <label class="text-sm text-secondary mb-1">State</label>
|
|
|
|
- <input type="text" v-model="payload.pharmacyState" class="form-control form-control-sm">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row mb-2">
|
|
|
|
- <div class="col-12">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Address Memo</label>
|
|
|
|
- <input type="text" v-model="payload.pharmacyAddressMemo" class="form-control form-control-sm">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row mb-2">
|
|
|
|
- <div class="col-6">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Phone</label>
|
|
|
|
- <input type="text" v-model="payload.pharmacyPhone" class="form-control form-control-sm">
|
|
|
|
- </div>
|
|
|
|
- <div class="col-6">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Fax</label>
|
|
|
|
- <input type="text" v-model="payload.pharmacyFax" class="form-control form-control-sm">
|
|
|
|
- </div>
|
|
|
|
- </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>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
|
-
|
|
|
|
- @if($patient->mcp)
|
|
|
|
- <hr class="m-negator-3 mt-3">
|
|
|
|
- <div>
|
|
|
|
- <span>Default MCP Company Pro:
|
|
|
|
- <b>{{$patient->default_mcp_company_pro_id? $patient->defaultMcpCompanyPro->company->name . ' / ' . $patient->defaultMcpCompanyPro->pro->displayName():'No'}}</b>
|
|
|
|
- </span>
|
|
|
|
- @if($patient->default_mcp_company_pro_id)
|
|
|
|
- <div moe bottom relative class="ml-1">
|
|
|
|
- <a start show><i class="fa fa-times text-danger"></i></a>
|
|
|
|
- <form url="/api/client/wipeDefaultMcpCompanyPro"
|
|
|
|
- class="mcp-theme-1 min-width-200px" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <p>Remove default MCP company pro?</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>
|
|
|
|
- @else
|
|
|
|
- <div moe bottom relative class="ml-2">
|
|
|
|
- <a start show>Edit</a>
|
|
|
|
- <form url="/api/client/putDefaultMcpCompanyPro"
|
|
|
|
- class="mcp-theme-1 min-width-200px">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Payer</label>
|
|
|
|
- <select name="defaultMcpCompanyProUid" class="form-control form-control-sm">
|
|
|
|
- <option value="">-- select --</option>
|
|
|
|
- @foreach($patient->mcp->companyPros as $companyPro)
|
|
|
|
- <option value="{{$companyPro->uid}}">{{$companyPro->company->name}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- @if($patient->default_mcp_company_pro_id)
|
|
|
|
- <hr class="m-negator-3 mt-3">
|
|
|
|
- <div>
|
|
|
|
- <span>Default MCP Company Pro Payer:
|
|
|
|
- <b>{{$patient->default_mcp_company_pro_payer_id? $patient->defaultMcpCompanyProPayer->payer->name:'No'}}</b>
|
|
|
|
- </span>
|
|
|
|
- @if($patient->default_mcp_company_pro_payer_id)
|
|
|
|
- <div moe bottom relative class="ml-1">
|
|
|
|
- <a start show><i class="fa fa-times text-danger"></i></a>
|
|
|
|
- <form url="/api/client/wipeDefaultMcpCompanyProPayer"
|
|
|
|
- class="mcp-theme-1 min-width-200px" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <p>Remove default MCP company pro payer?</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>
|
|
|
|
- @else
|
|
|
|
- <div moe bottom relative class="ml-2">
|
|
|
|
- <a start show>Edit</a>
|
|
|
|
- <form url="/api/client/putDefaultMcpCompanyProPayer"
|
|
|
|
- class="mcp-theme-1 min-width-200px">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Payer</label>
|
|
|
|
- <select name="defaultMcpCompanyProPayerUid" class="form-control form-control-sm">
|
|
|
|
- <option value="">-- select --</option>
|
|
|
|
- @foreach($patient->defaultMcpCompanyPro->companyProPayers as $companyProPayer)
|
|
|
|
- <option value="{{$companyProPayer->uid}}">{{$companyProPayer->payer->name}}</option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 mt-3">
|
|
|
|
- <div>
|
|
|
|
- <span>Default MCP Company Location:
|
|
|
|
- <b>{{$patient->default_mcp_company_location_id? implode(" ", [$patient->defaultMcpCompanyLocation->line1, $patient->defaultMcpCompanyLocation->city, $patient->defaultMcpCompanyLocation->state]):'No'}}</b>
|
|
|
|
- </span>
|
|
|
|
- @if($patient->default_mcp_company_location_id)
|
|
|
|
- <div moe bottom relative class="ml-1">
|
|
|
|
- <a start show><i class="fa fa-times text-danger"></i></a>
|
|
|
|
- <form url="/api/client/wipeDefaultMcpCompanyLocation"
|
|
|
|
- class="mcp-theme-1 min-width-200px" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <p>Remove default MCP company location?</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>
|
|
|
|
- @else
|
|
|
|
- <div moe bottom relative class="ml-2">
|
|
|
|
- <a start show>Edit</a>
|
|
|
|
- <form url="/api/client/putDefaultMcpCompanyLocation"
|
|
|
|
- class="mcp-theme-1 min-width-200px">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-sm text-secondary mb-1">Payer</label>
|
|
|
|
- <select name="defaultCompanyLocationUid" class="form-control form-control-sm">
|
|
|
|
- <option value="">-- select --</option>
|
|
|
|
- @foreach($patient->defaultMcpCompanyPro->company->locations as $location)
|
|
|
|
- <option value="{{$location->uid}}">
|
|
|
|
- {{implode(" ", [$location->line1, $location->city, $location->state])}}
|
|
|
|
- </option>
|
|
|
|
- @endforeach
|
|
|
|
- </select>
|
|
|
|
- </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>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
- <hr class="m-negator-3 mt-3">
|
|
|
|
- <div>
|
|
|
|
- <div class="d-flex mb-2 align-items-center">
|
|
|
|
- <b class="d-block">MCN Query Response</b>
|
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
|
- <span class="text-secondary mx-2">|</span>
|
|
|
|
- @if(!$patient->is_coverage_manually_verified)
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i> <b>Set Part B to Manually Verified</b></a>
|
|
|
|
- <form url="/api/client/markCoverageAsManuallyVerified" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Manual Verification Memo</label>
|
|
|
|
- <textarea rows="4" type="text" class="form-control form-control-sm" name="memo"
|
|
|
|
- placeholder="Memo">{{ $patient->coverage_manual_verification_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>
|
|
|
|
- @else
|
|
|
|
- <span class="text-info font-weight-bold"><i class="fa fa-check"></i> Part B Manually Verified</span>
|
|
|
|
- <div moe wide class="ml-3">
|
|
|
|
- <a start show><i class="fa fa-edit"></i> Undo</a>
|
|
|
|
- <form url="/api/client/undoMarkCoverageAsManuallyVerified" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Undo Manual Verification Memo</label>
|
|
|
|
- <textarea rows="4" type="text" class="form-control form-control-sm" name="memo"
|
|
|
|
- placeholder="Memo">{{ $patient->coverage_manual_verification_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>
|
|
|
|
- @endif
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- <div class="bg-light border p-2">
|
|
|
|
- <?php
|
|
|
|
- function displayNode($_key, $_node, $_pro, $_patient) {
|
|
|
|
- $keyDisplay = ucwords(str_replace("_", " ", $_key));
|
|
|
|
- $nodeOutput = '<div class="mb-1">' . $keyDisplay . ': ';
|
|
|
|
- $nodeType = gettype($_node);
|
|
|
|
- if(is_array($_node) && count($_node)) {
|
|
|
|
- $nodeOutput .= '<div class="border-left pl-3 my-1">';
|
|
|
|
- foreach ($_node as $k => $v) {
|
|
|
|
- $nodeOutput .= displayNode($k, $v, $_pro, $_patient);
|
|
|
|
- }
|
|
|
|
- $nodeOutput .= '</div>';
|
|
|
|
- }
|
|
|
|
- else if(!is_array($_node)) {
|
|
|
|
- if($keyDisplay != 'Member Id') {
|
|
|
|
- $nodeOutput .= '<b>' . (!empty($_node) ? $_node : '-') . '</b>';
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- $nodeOutput .= '<b class="c-pointer text-primary show-on-click" ' .
|
|
|
|
- 'data-pro-uid="' . $_pro->uid . '" ' .
|
|
|
|
- 'data-event="View MCN of patient ' . $_patient->displayName() . '"' .
|
|
|
|
- 'data-value="' . (!empty($_node) ? $_node : '-') . '">Click to view</b>';
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- $nodeOutput .= '-';
|
|
|
|
- }
|
|
|
|
- $nodeOutput .= '</div>';
|
|
|
|
- return $nodeOutput;
|
|
|
|
- }
|
|
|
|
- $mcnResponse = !empty($patient->mcn_response_detail) ? json_decode($patient->mcn_response_detail, true) : [];
|
|
|
|
- $output = [];
|
|
|
|
- foreach ($mcnResponse as $k => $v) {
|
|
|
|
- $output[] = displayNode($k, $v, $pro, $patient);
|
|
|
|
- }
|
|
|
|
- ?>
|
|
|
|
- {!! implode("", $output) !!}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|