|
@@ -82,47 +82,7 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
</nav>
|
|
</nav>
|
|
@endif
|
|
@endif
|
|
<main role="main" class="w-100 {{$trimLayout || $isVisitNote ? 'p-0' : ''}}">
|
|
<main role="main" class="w-100 {{$trimLayout || $isVisitNote ? 'p-0' : ''}}">
|
|
- @if($pro->is_enrolled_as_mcp && !$patient->mcp)
|
|
|
|
- <div class="alert alert-info bg-white mt-3 mcp-theme-1 p-3 hide-inside-ticket-popup m-1">
|
|
|
|
- <div class="font-size-16">
|
|
|
|
- <i class="fa fa-exclamation-triangle text-warning-mellow"></i>
|
|
|
|
- This patient currently does not have an MCP assigned.
|
|
|
|
- </div>
|
|
|
|
- <div class="mt-3 d-flex align-items-center">
|
|
|
|
- <button class="btn btn-info" onclick="$('.in-conv-confirmed').removeClass('d-none').addClass('d-inline-flex')">I am currently seeing or talking to this patient</button>
|
|
|
|
- <div class="in-conv-confirmed d-none align-items-center">
|
|
|
|
- <i class="fa fa-chevron-right mx-3 text-secondary"></i>
|
|
|
|
- <div moe class=" hide-inside-popup">
|
|
|
|
- <a href="" start show class="btn btn-primary font-weight-bold text-white">
|
|
|
|
- Assign myself as the MCP for this patient
|
|
|
|
- </a>
|
|
|
|
- <form url="/api/client/putMcp" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <input type="hidden" name="mcpProUid" value="{{$pro->uid}}">
|
|
|
|
- <p>Are you sure?</p>
|
|
|
|
- <div>
|
|
|
|
- <button submit class="btn btn-sm btn-primary mr-2">
|
|
|
|
- Submit
|
|
|
|
- </button>
|
|
|
|
- <button cancel class="btn btn-sm btn-default border">
|
|
|
|
- Cancel
|
|
|
|
- </button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
- @if($patient->has_mcp_done_onboarding_visit !== 'YES' && $patient->is_mcp_onboarding_active === 'NO')
|
|
|
|
- <div class="alert alert-warning mt-3 mcp-theme-1 p-3 hide-inside-ticket-popup">
|
|
|
|
- <div class="font-weight-bold text-dark font-size-16">MCP onboarding is not active for this patient.</div>
|
|
|
|
- <div class="text-secondary p-2 border mt-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>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
|
|
+
|
|
<div class="card {{$trimLayout || $isVisitNote ? 'card m-0 border-0 rounded-0' : 'my-3'}}" id="patient-header">
|
|
<div class="card {{$trimLayout || $isVisitNote ? 'card m-0 border-0 rounded-0' : 'my-3'}}" id="patient-header">
|
|
<div id="patient-header-content">
|
|
<div id="patient-header-content">
|
|
<div class="card-header @if($patient->client_engagement_status_category == 'DUMMY') alert-warning @endif py-1 hide-inside-ticket-popup">
|
|
<div class="card-header @if($patient->client_engagement_status_category == 'DUMMY') alert-warning @endif py-1 hide-inside-ticket-popup">
|
|
@@ -161,14 +121,7 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
@endif
|
|
@endif
|
|
<div class="hbox mr-auto">
|
|
<div class="hbox mr-auto">
|
|
|
|
|
|
- {{--<div>
|
|
|
|
- <div @if($patient->is_microphone_available)style="color:green" @else style="color:gray" @endif>
|
|
|
|
- <i class="fa fa-microphone"></i>
|
|
|
|
- </div>
|
|
|
|
- <div @if($patient->is_camera_available)style="color:green" @else style="color:gray" @endif>
|
|
|
|
- <i class="fa fa-video"></i>
|
|
|
|
- </div>
|
|
|
|
- </div>--}}
|
|
|
|
|
|
+
|
|
<section>
|
|
<section>
|
|
<div class="hbox">
|
|
<div class="hbox">
|
|
<h4 class="pt-name">{{$patientName}}</h4>
|
|
<h4 class="pt-name">{{$patientName}}</h4>
|
|
@@ -181,273 +134,25 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
<i class="fa fa-info-circle ml-1 text-primary"></i>
|
|
<i class="fa fa-info-circle ml-1 text-primary"></i>
|
|
<div class="on-hover-content py-2 pl-3 text-nowrap">
|
|
<div class="on-hover-content py-2 pl-3 text-nowrap">
|
|
Joined <?=$memberSince?>
|
|
Joined <?=$memberSince?>
|
|
- @if($pro->pro_type === 'ADMIN')
|
|
|
|
- <div class="mt-1">
|
|
|
|
- Created by <b>{{$patient->creator ? $patient->creator->displayName() : '-'}}</b>
|
|
|
|
- </div>
|
|
|
|
- <div class="mt-1">
|
|
|
|
- Created on <b>{{friendly_date_time($patient->created_at)}}</b>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
|
|
+ <div class="mt-1">
|
|
|
|
+ Created by <b>{{$patient->creator ? $patient->creator->displayName() : '-'}}</b>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mt-1">
|
|
|
|
+ Created on <b>{{friendly_date_time($patient->created_at)}}</b>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class=separators>
|
|
<div class=separators>
|
|
- <div>{{friendly_date($patient->dob, false,null, true)}} ({{$patient->age_in_years}}
|
|
|
|
- y.o {{$patient->sex}})
|
|
|
|
- </div>
|
|
|
|
- @if($patient->getPrimaryCoverage() && $patient->getPrimaryCoverageStatus() === 'YES')
|
|
|
|
- <div class="text-nowrap screen-only">
|
|
|
|
- {{$patient->getPrimaryCoverage()->insuranceDisplayName()}}
|
|
|
|
- <span class="on-hover-show d-inline-block on-hover-opaque">
|
|
|
|
- <i class="fa fa-check-circle text-success"></i>
|
|
|
|
- <div class="on-hover-content py-2 pl-3 text-nowrap">
|
|
|
|
- Covered
|
|
|
|
- </div>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
<div class="screen-only">
|
|
<div class="screen-only">
|
|
<label>Status:</label>
|
|
<label>Status:</label>
|
|
<b>{{$patient->client_engagement_status_category ? ucwords(strtolower(str_replace('_', ' ', $patient->client_engagement_status_category == 'DUMMY' ? 'Test Chart' : $patient->client_engagement_status_category))) : '-'}}</b>
|
|
<b>{{$patient->client_engagement_status_category ? ucwords(strtolower(str_replace('_', ' ', $patient->client_engagement_status_category == 'DUMMY' ? 'Test Chart' : $patient->client_engagement_status_category))) : '-'}}</b>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="screen-only">
|
|
|
|
- <div class=separators>
|
|
|
|
- <div>
|
|
|
|
- <label>MCP:</label> {{$mcpName}}
|
|
|
|
- @if($patient->has_mcp_done_onboarding_visit !== 'YES' && $pro->pro_type == 'ADMIN')
|
|
|
|
- <div moe class="ml-2 hide-inside-popup">
|
|
|
|
- <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" provider-search data-pro-uid="{{ @$patient->mcp->uid }}"
|
|
|
|
- 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>
|
|
|
|
- @if($patient->mcp)
|
|
|
|
- <div moe class="ml-2 hide-inside-popup">
|
|
|
|
- <a start show><i class="fa fa-times"></i></a>
|
|
|
|
- <form url="/api/client/removeMcp" class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label class="text-secondary text-sm">Remove MCP Pro</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>
|
|
|
|
- @if($patient->has_mcp_done_onboarding_visit !== 'YES')
|
|
|
|
- <span class="text-dark d-inline-flex align-items-center">
|
|
|
|
- <span class="mr-2">
|
|
|
|
- <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
- MCP Onboarding Visit Pending
|
|
|
|
- </span>
|
|
|
|
- </span>
|
|
|
|
- <span moe class="hide-inside-popup">
|
|
|
|
- <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>
|
|
|
|
- @else
|
|
|
|
- <span class="text-dark d-inline-flex align-items-center">
|
|
|
|
- <span class="mr-2 text-secondary">
|
|
|
|
- <i class="fa fa-check text-sm"></i>
|
|
|
|
- MCP Onboarding Visit Completed
|
|
|
|
- </span>
|
|
|
|
- </span>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <div>
|
|
|
|
- <label>CC:</label> {{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}
|
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
|
- <div moe class="ml-2 hide-inside-popup">
|
|
|
|
- <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->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>
|
|
|
|
- @if($patient->pcp)
|
|
|
|
- <div moe class="ml-2 hide-inside-popup">
|
|
|
|
- <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>
|
|
|
|
|
|
+
|
|
</section>
|
|
</section>
|
|
- <section class="hide-inside-popup screen-only vbox mt-2 align-self-start ml-3 pl-3 border-left mcp-theme-1">
|
|
|
|
- <div>
|
|
|
|
- <div moe relative>
|
|
|
|
- <a href="#" start show class="d-flex align-items-baseline"><i class="fa fa-plus text-sm mr-1"></i><span>SMS</span></a>
|
|
|
|
- <form url="/api/clientSms/createOutgoing" right class="mcp-theme-1" noreload>
|
|
|
|
- <input type="hidden" name="uid" value="{{ $patient->uid }}">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for="" class="text-sm text-secondary mb-1">Cell
|
|
|
|
- Number</label>
|
|
|
|
- <input type="text" class="form-control form-control-sm"
|
|
|
|
- name="cellNumber" value="{{$patient->cell_number}}">
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for=""
|
|
|
|
- class="text-sm text-secondary mb-1">Message</label>
|
|
|
|
- <textarea type="text" class="form-control form-control-sm"
|
|
|
|
- name="message"></textarea>
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center">
|
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Send</button>
|
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>
|
|
|
|
- Cancel
|
|
|
|
- </button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- <span moe relative class="">
|
|
|
|
- <a href="#" start show class="d-flex align-items-baseline" title="SMS check-in link to the patient"><i class="fa fa-paper-plane text-sm mr-1"></i><span>Send</span></a>
|
|
|
|
- <form url="/api/client/sendCheckInTokenViaSmsOrEmail" right
|
|
|
|
- class="mcp-theme-1">
|
|
|
|
- <input type="hidden" name="uid" value="{{ $patient->uid }}">
|
|
|
|
- <p class="small min-width-200px mb-2">Send Check-In link to patient?</p>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for=""
|
|
|
|
- class="text-sm text-secondary mb-1">Cell Number</label>
|
|
|
|
- <input type="text" class="form-control input-sm" name="cellNumber"
|
|
|
|
- value="{{$patient->cell_number}}">
|
|
|
|
- </div>
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for=""
|
|
|
|
- class="text-sm text-secondary mb-1">Email address</label>
|
|
|
|
- <input type="text" class="form-control input-sm" name="emailAddress"
|
|
|
|
- value="{{$patient->email_address}}">
|
|
|
|
- </div>
|
|
|
|
- <div class="d-flex align-items-center">
|
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Send</button>
|
|
|
|
- <button class="btn btn-sm btn-default mr-2 border"
|
|
|
|
- cancel>Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- @if($performer->pro->pro_type == 'ADMIN')
|
|
|
|
- <div>
|
|
|
|
- <a href="#" start show class="d-flex align-items-baseline" onclick="return openInRHS('/pro/check-video/{{ $patient->uid }}')"><i class="fa fa-video text-sm mr-1"></i><span>Check</span></a>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
- <div>
|
|
|
|
- <a href="#" start show class="d-flex align-items-baseline" onclick="return openInRHS('/pro/meet/{{ $patient->uid }}')"><i class="fa fa-video text-sm mr-1"></i><span>Join</span></a>
|
|
|
|
- </div>
|
|
|
|
- </section>
|
|
|
|
- @if(!$patient->getPrimaryCoverage() || $patient->getPrimaryCoverageStatus() !== 'YES')
|
|
|
|
- <section class="hide-inside-popup screen-only vbox align-self-start mt-2 mx-2">
|
|
|
|
- @include('app.patient.coverage-status')
|
|
|
|
- </section>
|
|
|
|
- @endif
|
|
|
|
|
|
+
|
|
|
|
|
|
<section class="mr-4 align-self-start mt-2 ml-auto">
|
|
<section class="mr-4 align-self-start mt-2 ml-auto">
|
|
<div>
|
|
<div>
|
|
@@ -470,77 +175,53 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- @if($pro->pro_type === 'ADMIN')
|
|
|
|
- <div>
|
|
|
|
- <label>Intake Data: - </label> <span class="text-secondary"></span>
|
|
|
|
- @include('app.patient.intake-data.patient-intake-data-form')
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
|
|
+
|
|
</section>
|
|
</section>
|
|
<ul class="vbox mt-2 align-self-start patient-header-address ">
|
|
<ul class="vbox mt-2 align-self-start patient-header-address ">
|
|
- <li class="d-flex align-items-start">
|
|
|
|
- <span class="aligned-icon">
|
|
|
|
- <i class="fa fa-map-marker-alt" aria-hidden="true"></i>
|
|
|
|
- </span>
|
|
|
|
- <div class="position-relative">
|
|
|
|
- <?php
|
|
|
|
- $addressParts = [];
|
|
|
|
- if (!!$patient->mailing_address_line1) $addressParts[] = $patient->mailing_address_line1;
|
|
|
|
- if (!!$patient->mailing_address_line2) $addressParts[] = $patient->mailing_address_line2;
|
|
|
|
- $addressParts = implode(", ", $addressParts) . "<br/>";
|
|
|
|
- $addressPart2 = [];
|
|
|
|
- if (!!$patient->mailing_address_city) $addressPart2[] = $patient->mailing_address_city;
|
|
|
|
- if (!!$patient->mailing_address_state) $addressPart2[] = $patient->mailing_address_state;
|
|
|
|
- $addressParts .= implode(", ", $addressPart2);
|
|
|
|
- echo $addressParts;
|
|
|
|
- ?>
|
|
|
|
- {{ $patient->mailing_address_zip ? $patient->mailing_address_zip : '' }}
|
|
|
|
- @if($patient->mailing_address_memo)
|
|
|
|
- <span class="position-relative c-pointer text-center stag-tooltip ml-2">
|
|
|
|
- <i class="fa fa-info-circle"></i>
|
|
|
|
- <div
|
|
|
|
- class="position-absolute bg-white border rounded p-2 stag-tooltip-content">
|
|
|
|
- <div class="text-left font-weight-bold pb-1">Special Instructions</div>
|
|
|
|
- <div
|
|
|
|
- class="text-left font-weight-normal">{{$patient->mailing_address_memo}}</div>
|
|
|
|
- </div>
|
|
|
|
- </span>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- </li>
|
|
|
|
|
|
+
|
|
@if($patient->cell_number)
|
|
@if($patient->cell_number)
|
|
<li>
|
|
<li>
|
|
<span class="aligned-icon">
|
|
<span class="aligned-icon">
|
|
<i class="fa fa-phone-alt" aria-hidden="true"></i>
|
|
<i class="fa fa-phone-alt" aria-hidden="true"></i>
|
|
</span>
|
|
</span>
|
|
- {{$patient->cell_number}}
|
|
|
|
- <span class="small text-secondary ml-1">
|
|
|
|
- {{ $patient->cell_number_memo ? '(' . $patient->cell_number_memo . ')' : '' }}
|
|
|
|
- </span>
|
|
|
|
- </li>
|
|
|
|
- @endif
|
|
|
|
- @if($patient->phone_home)
|
|
|
|
- <li>
|
|
|
|
- <span class="aligned-icon"><i class="fa fa-home" aria-hidden="true"></i></span>
|
|
|
|
- {{$patient->phone_home}}
|
|
|
|
|
|
+ {{$patient->shadowOfPro->cell_number}}
|
|
|
|
+
|
|
</li>
|
|
</li>
|
|
@endif
|
|
@endif
|
|
|
|
+
|
|
<li class="d-flex align-items-baseline">
|
|
<li class="d-flex align-items-baseline">
|
|
- <div class="{{empty($confirmedEmail) || $confirmedEmail === '-' ? 'screen-only' : ''}}">
|
|
|
|
- <span class="aligned-icon">
|
|
|
|
- <i class="fa fa-envelope" aria-hidden="true"></i>
|
|
|
|
- </span>
|
|
|
|
- {{$confirmedEmail}}
|
|
|
|
|
|
+ <div class="">
|
|
|
|
+ {{$patient->shadowOfPro->email_address}}
|
|
</div>
|
|
</div>
|
|
- <div class="d-inline-flex screen-only">
|
|
|
|
- <span class="mx-2 text-secondary text-sm">|</span>
|
|
|
|
- <span class="aligned-icon text-primary">
|
|
|
|
- <i class="fa fa-link" aria-hidden="true"></i>
|
|
|
|
- </span>
|
|
|
|
- <?php $numLinkedAccounts = $patient->linkedAccounts ? count($patient->linkedAccounts) : 0; ?>
|
|
|
|
- <a href="{{route('patients.view.accounts', ['patient' => $patient])}}">
|
|
|
|
- Accounts ({{$numLinkedAccounts}})
|
|
|
|
- </a>
|
|
|
|
|
|
+
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <li class="d-flex align-items-baseline">
|
|
|
|
+ <div>
|
|
|
|
+ <div moe relative>
|
|
|
|
+ <a href="#" start show class="d-flex align-items-baseline">Send SMS</span></a>
|
|
|
|
+ <form url="/api/clientSms/createOutgoing" right class="mcp-theme-1" noreload>
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $patient->uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Cell
|
|
|
|
+ Number</label>
|
|
|
|
+ <input type="text" class="form-control form-control-sm"
|
|
|
|
+ name="cellNumber" value="{{$patient->cell_number}}">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for=""
|
|
|
|
+ class="text-sm text-secondary mb-1">Message</label>
|
|
|
|
+ <textarea type="text" class="form-control form-control-sm"
|
|
|
|
+ name="message"></textarea>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Send</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>
|
|
|
|
+ Cancel
|
|
|
|
+ </button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
|
|
|