|
@@ -4,223 +4,258 @@
|
|
|
|
|
|
<div id="client-settings-container">
|
|
<div id="client-settings-container">
|
|
|
|
|
|
- <div class="d-flex align-items-center mb-2">
|
|
|
|
- <div class="font-weight-bold">Home Address</div>
|
|
|
|
- <span class="text-secondary mx-2">|</span>
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i> Edit Address</a>
|
|
|
|
- <form url="/api/client/editAddress" class="mcp-theme-1" onbeforesubmit="setSettingsMailingAddress">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
|
|
+ <div class="row">
|
|
|
|
+ <div class="col-6">
|
|
|
|
|
|
- <p class="mb-2 font-weight-bold">Home Address</p>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="homeAddressLine1"
|
|
|
|
- placeholder="Address Line 1" value="{{ $patient->home_address_line1 }}">
|
|
|
|
|
|
+ <div class="d-flex align-items-center mb-2">
|
|
|
|
+ <div class="font-weight-bold">Home Address</div>
|
|
|
|
+ <span class="text-secondary mx-2">|</span>
|
|
|
|
+ <div moe wide>
|
|
|
|
+ <a start show><i class="fa fa-edit"></i> Edit Address</a>
|
|
|
|
+ <form url="/api/client/editAddress" class="mcp-theme-1" onbeforesubmit="setSettingsMailingAddress">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+
|
|
|
|
+ <p class="mb-2 font-weight-bold">Home Address</p>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="homeAddressLine1"
|
|
|
|
+ placeholder="Address Line 1" value="{{ $patient->home_address_line1 }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="homeAddressLine2"
|
|
|
|
+ placeholder="Address Line 2" value="{{ $patient->home_address_line2 }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="homeAddressCity"
|
|
|
|
+ placeholder="City" value="{{ $patient->home_address_city }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="homeAddressState"
|
|
|
|
+ placeholder="State" value="{{ $patient->home_address_state }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="homeAddressZip" placeholder="ZIP"
|
|
|
|
+ value="{{ $patient->home_address_zip }}">
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <p class="mb-2 mt-3 font-weight-bold">Mailing Address</p>
|
|
|
|
+ <label class="d-flex align-items-center">
|
|
|
|
+ @php
|
|
|
|
+ $isSame = ($patient->home_address_line1 == $patient->mailing_address_line1 &&
|
|
|
|
+ $patient->home_address_line2 == $patient->mailing_address_line2 &&
|
|
|
|
+ $patient->home_address_city == $patient->mailing_address_city &&
|
|
|
|
+ $patient->home_address_state == $patient->mailing_address_state &&
|
|
|
|
+ $patient->home_address_zip == $patient->mailing_address_zip);
|
|
|
|
+ @endphp
|
|
|
|
+ <input type="checkbox" id="settingsSameAsHome"
|
|
|
|
+ onchange="copyHomeToMailingAndReadOnly(this.checked)" {{ $isSame ? 'checked' : '' }}>
|
|
|
|
+ <span class="ml-2">Same as home address</span>
|
|
|
|
+ </label>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="mailingAddressLine1"
|
|
|
|
+ placeholder="Address Line 1" value="{{ $patient->mailing_address_line1 }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="mailingAddressLine2"
|
|
|
|
+ placeholder="Address Line 2" value="{{ $patient->mailing_address_line2 }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="mailingAddressCity"
|
|
|
|
+ placeholder="City" value="{{ $patient->mailing_address_city }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="mailingAddressState"
|
|
|
|
+ placeholder="State" value="{{ $patient->mailing_address_state }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="mailingAddressZip"
|
|
|
|
+ placeholder="ZIP" value="{{ $patient->mailing_address_zip }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <textarea type="text" class="form-control form-control-sm" name="mailingAddressMemo"
|
|
|
|
+ placeholder="Memo">{{ $patient->mailing_address_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 class="pl-3">
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Address Line 1: <b>{{ $patient->home_address_line1 }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="homeAddressLine2"
|
|
|
|
- placeholder="Address Line 2" value="{{ $patient->home_address_line2 }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Address Line 2: <b>{{ $patient->home_address_line2 }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="homeAddressCity"
|
|
|
|
- placeholder="City" value="{{ $patient->home_address_city }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ City: <b>{{ $patient->home_address_city }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="homeAddressState"
|
|
|
|
- placeholder="State" value="{{ $patient->home_address_state }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ State: <b>{{ $patient->home_address_state }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="homeAddressZip" placeholder="ZIP"
|
|
|
|
- value="{{ $patient->home_address_zip }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ ZIP: <b>{{ $patient->home_address_zip }}</b>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
|
|
|
|
- <p class="mb-2 mt-3 font-weight-bold">Mailing Address</p>
|
|
|
|
- <label class="d-flex align-items-center">
|
|
|
|
- @php
|
|
|
|
- $isSame = ($patient->home_address_line1 == $patient->mailing_address_line1 &&
|
|
|
|
- $patient->home_address_line2 == $patient->mailing_address_line2 &&
|
|
|
|
- $patient->home_address_city == $patient->mailing_address_city &&
|
|
|
|
- $patient->home_address_state == $patient->mailing_address_state &&
|
|
|
|
- $patient->home_address_zip == $patient->mailing_address_zip);
|
|
|
|
- @endphp
|
|
|
|
- <input type="checkbox" id="settingsSameAsHome"
|
|
|
|
- onchange="copyHomeToMailingAndReadOnly(this.checked)" {{ $isSame ? 'checked' : '' }}>
|
|
|
|
- <span class="ml-2">Same as home address</span>
|
|
|
|
- </label>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="mailingAddressLine1"
|
|
|
|
- placeholder="Address Line 1" value="{{ $patient->mailing_address_line1 }}">
|
|
|
|
|
|
+ <div class="font-weight-bold mb-2 mt-3">Mailing Address</div>
|
|
|
|
+ <div class="pl-3">
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Address Line 1: <b>{{ $patient->mailing_address_line1 }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="mailingAddressLine2"
|
|
|
|
- placeholder="Address Line 2" value="{{ $patient->mailing_address_line2 }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Address Line 2: <b>{{ $patient->mailing_address_line2 }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="mailingAddressCity"
|
|
|
|
- placeholder="City" value="{{ $patient->mailing_address_city }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ City: <b>{{ $patient->mailing_address_city }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="mailingAddressState"
|
|
|
|
- placeholder="State" value="{{ $patient->mailing_address_state }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ State: <b>{{ $patient->mailing_address_state }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="mailingAddressZip"
|
|
|
|
- placeholder="ZIP" value="{{ $patient->mailing_address_zip }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ ZIP: <b>{{ $patient->mailing_address_zip }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <textarea type="text" class="form-control form-control-sm" name="mailingAddressMemo"
|
|
|
|
- placeholder="Memo">{{ $patient->mailing_address_memo }}</textarea>
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Special Instructions: <b>{{ $patient->mailing_address_memo }}</b>
|
|
</div>
|
|
</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>
|
|
|
|
- </div>
|
|
|
|
- <div class="pl-3">
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Address Line 1: <b>{{ $patient->home_address_line1 }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Address Line 2: <b>{{ $patient->home_address_line2 }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- City: <b>{{ $patient->home_address_city }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- State: <b>{{ $patient->home_address_state }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- ZIP: <b>{{ $patient->home_address_zip }}</b>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <hr class="m-negator-3 my-3">
|
|
|
|
|
|
- <div class="font-weight-bold mb-2 mt-3">Mailing Address</div>
|
|
|
|
- <div class="pl-3">
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Address Line 1: <b>{{ $patient->mailing_address_line1 }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Address Line 2: <b>{{ $patient->mailing_address_line2 }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- City: <b>{{ $patient->mailing_address_city }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- State: <b>{{ $patient->mailing_address_state }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- ZIP: <b>{{ $patient->mailing_address_zip }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Special Instructions: <b>{{ $patient->mailing_address_memo }}</b>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="d-flex align-items-center mt-3 mb-2">
|
|
|
|
+ <div class="font-weight-bold">Contact Info</div>
|
|
|
|
+ <span class="text-secondary mx-2">|</span>
|
|
|
|
+ <div moe wide>
|
|
|
|
+ <a start show><i class="fa fa-edit"></i> Edit Contact Info</a>
|
|
|
|
+ <form url="/api/client/putContactInfo" class="mcp-theme-1">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="mb-1 text-secondary text-sm">Home Phone Number</label>
|
|
|
|
+ <input type="tel" class="form-control form-control-sm" name="homeNumber"
|
|
|
|
+ placeholder="Home Phone Number" value="{{ $patient->phone_home }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="mb-1 text-secondary text-sm">Cell Number</label>
|
|
|
|
+ <input type="tel" class="form-control form-control-sm" name="cellNumber"
|
|
|
|
+ placeholder="Cell Number" value="{{ $patient->cell_number }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="mb-1 text-secondary text-sm">Cell Number Memo</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cellNumberMemo"
|
|
|
|
+ placeholder="Cell Number Memo" value="{{ $patient->cell_number_memo }}">
|
|
|
|
+ </div>
|
|
|
|
|
|
- <hr class="m-negator my-3">
|
|
|
|
-
|
|
|
|
- <div class="d-flex align-items-center mb-2 mt-3">
|
|
|
|
- <div class="font-weight-bold">Contact Info</div>
|
|
|
|
- <span class="text-secondary mx-2">|</span>
|
|
|
|
- <div moe wide>
|
|
|
|
- <a start show><i class="fa fa-edit"></i> Edit Contact Info</a>
|
|
|
|
- <form url="/api/client/putContactInfo" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Home Phone Number</label>
|
|
|
|
- <input type="tel" class="form-control form-control-sm" name="homeNumber"
|
|
|
|
- placeholder="Home Phone Number" value="{{ $patient->phone_home }}">
|
|
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="mb-1 text-secondary text-sm">Cell Phone Type</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cellPhoneType"
|
|
|
|
+ data-option-list autocomplete="off"
|
|
|
|
+ placeholder="Cell Phone Type" value="{{ $patient->cell_phone_type }}">
|
|
|
|
+ <div class="data-option-list">
|
|
|
|
+ <div>Android</div>
|
|
|
|
+ <div>iOS</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="mb-1 text-secondary text-sm">Cell Phone Model</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="cellPhoneModel"
|
|
|
|
+ placeholder="Cell Phone Model" value="{{ $patient->cell_phone_model }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="mb-1 text-secondary text-sm">Available Video Apps</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="availableVideoApps"
|
|
|
|
+ placeholder="Available Video Apps" value="{{ $patient->available_video_apps }}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="mb-1 text-secondary text-sm">Email Address</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm" name="email" placeholder="Email Address"
|
|
|
|
+ value="{{ $patient->email_address }}">
|
|
|
|
+ </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-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Cell Number</label>
|
|
|
|
- <input type="tel" class="form-control form-control-sm" name="cellNumber"
|
|
|
|
- placeholder="Cell Number" value="{{ $patient->cell_number }}">
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pl-3">
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Home Phone: <b>{{ $patient->phone_home }}</b>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Cell Number Memo</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="cellNumberMemo"
|
|
|
|
- placeholder="Cell Number Memo" value="{{ $patient->cell_number_memo }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Cell Phone: <b>{{ $patient->cell_number }}</b> <span
|
|
|
|
+ class="text-sm text-secondary ml-2">{{ $patient->cell_number_memo ? '(' . $patient->cell_number_memo . ')' : '' }}</span>
|
|
</div>
|
|
</div>
|
|
- <div class="mb-2">
|
|
|
|
- <label class="mb-1 text-secondary text-sm">Email Address</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm" name="email" placeholder="Email Address"
|
|
|
|
- value="{{ $patient->email_address }}">
|
|
|
|
|
|
+ <div class="mb-1">
|
|
|
|
+ Cell Phone Type: <b>{{ $patient->cell_phone_type }}</b>
|
|
</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 class="mb-1">
|
|
|
|
+ Cell Phone Model: <b>{{ $patient->cell_phone_model }}</b>
|
|
</div>
|
|
</div>
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="pl-3">
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Home Phone: <b>{{ $patient->phone_home }}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Cell Phone: <b>{{ $patient->cell_number }}</b> <span
|
|
|
|
- class="text-sm text-secondary ml-2">{{ $patient->cell_number_memo ? '(' . $patient->cell_number_memo . ')' : '' }}</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-1">
|
|
|
|
- Email: <b>{{ $patient->email_address }}</b>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <hr class="m-negator my-3">
|
|
|
|
- <span>MCP: <b>{{ $patient->mcp ? $patient->mcp->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/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">
|
|
|
|
- <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 class="mb-1">
|
|
|
|
+ Available Video Apps: <b>{{ $patient->available_video_apps }}</b>
|
|
</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 class="mb-1">
|
|
|
|
+ Email: <b>{{ $patient->email_address }}</b>
|
|
</div>
|
|
</div>
|
|
- </form>
|
|
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
- @endif
|
|
|
|
|
|
+ <div class="col-6 border-left">
|
|
|
|
|
|
- <hr class="m-negator 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">
|
|
|
|
- <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>
|
|
|
|
|
|
+ <span>MCP: <b>{{ $patient->mcp ? $patient->mcp->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/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">
|
|
|
|
+ <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>
|
|
</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>
|
|
|
|
|
|
+ @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">
|
|
|
|
+ <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>
|
|
</div>
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
|
|
|
|
- <hr class="m-negator my-3">
|
|
|
|
- <span>MCP Onboarding Visit: <b>{{ $patient->has_mcp_done_onboarding_visit }}</b></span>
|
|
|
|
- <span moe class="ml-2">
|
|
|
|
|
|
+ <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>
|
|
<a start show><i class="fa fa-edit"></i></a>
|
|
<form url="/api/client/updateMcpOnboardingVisitInfo" class="mcp-theme-1">
|
|
<form url="/api/client/updateMcpOnboardingVisitInfo" class="mcp-theme-1">
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
@@ -267,9 +302,9 @@
|
|
</form>
|
|
</form>
|
|
</span>
|
|
</span>
|
|
|
|
|
|
- <hr class="m-negator my-3">
|
|
|
|
- <span>Initiative: <b>{{$patient->initiative ? $patient->initiative : 'N/A'}}</b></span>
|
|
|
|
- <span moe class="ml-2">
|
|
|
|
|
|
+ <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>
|
|
<a start show><i class="fa fa-edit"></i></a>
|
|
<form url="/api/client/updateInitiative" class="mcp-theme-1">
|
|
<form url="/api/client/updateInitiative" class="mcp-theme-1">
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
@@ -288,52 +323,128 @@
|
|
</form>
|
|
</form>
|
|
</span>
|
|
</span>
|
|
|
|
|
|
- <hr class="m-negator my-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>
|
|
|
|
|
|
+ <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')
|
|
|
|
+ <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>
|
|
|
|
+ <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> Set coverage to <b>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> 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
|
|
</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 class="bg-light border p-2">
|
|
|
|
+ @php
|
|
|
|
+ function displayNode($_key, $_node) {
|
|
|
|
+ $nodeOutput = '<div class="mb-1">' . ucwords(str_replace("_", " ", $_key)) . ': ';
|
|
|
|
+ $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);
|
|
|
|
+ }
|
|
|
|
+ $nodeOutput .= '</div>';
|
|
|
|
+ }
|
|
|
|
+ else if(!is_array($_node)) {
|
|
|
|
+ $nodeOutput .= '<b>' . (!empty($_node) ? $_node : '-') . '</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);
|
|
|
|
+ }
|
|
|
|
+ @endphp
|
|
|
|
+ {!! implode("", $output) !!}
|
|
</div>
|
|
</div>
|
|
- </form>
|
|
|
|
- </span>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|