|
@@ -166,9 +166,116 @@ $addressParts .= implode(", ", $addressPart2);
|
|
</div> -->
|
|
</div> -->
|
|
<div class="position-relative ml-2">
|
|
<div class="position-relative ml-2">
|
|
<div class="screen-only">
|
|
<div class="screen-only">
|
|
|
|
+ <div>
|
|
|
|
+ <label>MCP:</label> {{$mcpName}}
|
|
|
|
+ @if($patient->has_mcp_done_onboarding_visit === 'YES')
|
|
|
|
+ <i class="fa fa-check text-sm" title="MCP Onboarding Visit Completed"></i>
|
|
|
|
+ @endif
|
|
|
|
+ @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 on-hover-opaque"></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 on-hover-opaque"></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
|
|
|
|
+ @if($patient->mcp && $pro->pro_type === 'ADMIN' && $pro->uid !== $patient->mcp->uid)
|
|
|
|
+ <form action="{{route('process-log-in-as')}}?redir={{request()->url()}}" onsubmit="window.top.localStorage.currentProUid = '{{$patient->mcp->uid}}';" method="POST" target="_top" class="d-inline-block">
|
|
|
|
+ @csrf
|
|
|
|
+ <input type="hidden" name="proUid" value="{{$patient->mcp->uid}}">
|
|
|
|
+ <button class="bg-transparent text-primary border-0 text-sm"><i class="fa fa-user on-hover-opaque"></i></button>
|
|
|
|
+ </form>
|
|
|
|
+ @endif
|
|
|
|
+ </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 on-hover-opaque text-sm"></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
|
|
|
|
+ @if($patient->defaultNaPro && $pro->pro_type === 'ADMIN' && $pro->uid !== $patient->defaultNaPro->uid)
|
|
|
|
+ <form action="{{route('process-log-in-as')}}?redir={{request()->url()}}" onsubmit="window.top.localStorage.currentProUid = '{{$patient->defaultNaPro->uid}}';" method="POST" target="_top" class="d-inline-block">
|
|
|
|
+ @csrf
|
|
|
|
+ <input type="hidden" name="proUid" value="{{$patient->defaultNaPro->uid}}">
|
|
|
|
+ <button class="bg-transparent text-primary border-0 text-sm"><i class="fa fa-user on-hover-opaque"></i></button>
|
|
|
|
+ </form>
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
<div class="">
|
|
<div class="">
|
|
<span>Status:</small>
|
|
<span>Status:</small>
|
|
- <b>{{$patient->client_engagement_status_category ? ucwords(strtolower(str_replace('_', ' ', $patient->client_engagement_status_category == 'DUMMY' ? 'Test Chart' : $patient->client_engagement_status_category))) : '-'}}</b>
|
|
|
|
|
|
+ {{$patient->client_engagement_status_category ? ucwords(strtolower(str_replace('_', ' ', $patient->client_engagement_status_category == 'DUMMY' ? 'Test Chart' : $patient->client_engagement_status_category))) : '-'}}
|
|
|
|
|
|
@if($pro->pro_type == 'ADMIN')
|
|
@if($pro->pro_type == 'ADMIN')
|
|
<div moe class="ml-2 hide-inside-popup">
|
|
<div moe class="ml-2 hide-inside-popup">
|
|
@@ -247,13 +354,6 @@ $addressParts .= implode(", ", $addressPart2);
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</span>
|
|
</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>
|
|
|
|
- <span>MCP Onboarding Visit Completed</span>
|
|
|
|
- </span>
|
|
|
|
- </span>
|
|
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -300,61 +400,7 @@ $addressParts .= implode(", ", $addressPart2);
|
|
@include('app.patient.coverage-status')
|
|
@include('app.patient.coverage-status')
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
- <div class="bg-light p-2 border">
|
|
|
|
- <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 on-hover-opaque"></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 on-hover-opaque"></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
|
|
|
|
- @if($patient->mcp && $pro->pro_type === 'ADMIN' && $pro->uid !== $patient->mcp->uid)
|
|
|
|
- <form action="{{route('process-log-in-as')}}?redir={{request()->url()}}" onsubmit="window.top.localStorage.currentProUid = '{{$patient->mcp->uid}}';" method="POST" target="_top" class="d-inline-block">
|
|
|
|
- @csrf
|
|
|
|
- <input type="hidden" name="proUid" value="{{$patient->mcp->uid}}">
|
|
|
|
- <button class="bg-transparent text-primary border-0 text-sm"><i class="fa fa-user on-hover-opaque"></i></button>
|
|
|
|
- </form>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="bg-light p-2 border d-none">
|
|
@if($patient->mcp && $patient->mcp->id === $pro->id || $pro->pro_type == 'ADMIN')
|
|
@if($patient->mcp && $patient->mcp->id === $pro->id || $pro->pro_type == 'ADMIN')
|
|
<div>
|
|
<div>
|
|
<label>Status (mcp):</label>
|
|
<label>Status (mcp):</label>
|
|
@@ -394,56 +440,7 @@ $addressParts .= implode(", ", $addressPart2);
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
- <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 on-hover-opaque text-sm"></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
|
|
|
|
- @if($patient->defaultNaPro && $pro->pro_type === 'ADMIN' && $pro->uid !== $patient->defaultNaPro->uid)
|
|
|
|
- <form action="{{route('process-log-in-as')}}?redir={{request()->url()}}" onsubmit="window.top.localStorage.currentProUid = '{{$patient->defaultNaPro->uid}}';" method="POST" target="_top" class="d-inline-block">
|
|
|
|
- @csrf
|
|
|
|
- <input type="hidden" name="proUid" value="{{$patient->defaultNaPro->uid}}">
|
|
|
|
- <button class="bg-transparent text-primary border-0 text-sm"><i class="fa fa-user on-hover-opaque"></i></button>
|
|
|
|
- </form>
|
|
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
|
|
+
|
|
@if($patient->defaultNaPro && $patient->defaultNaPro->id === $pro->id || $pro->pro_type == 'ADMIN')
|
|
@if($patient->defaultNaPro && $patient->defaultNaPro->id === $pro->id || $pro->pro_type == 'ADMIN')
|
|
<div>
|
|
<div>
|
|
<label>Status (cc):</label>
|
|
<label>Status (cc):</label>
|
|
@@ -593,12 +590,6 @@ $addressParts .= implode(", ", $addressPart2);
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
- <li class="mb-1 d-flex align-items-start">
|
|
|
|
- <div class="d-inline-flex screen-only">
|
|
|
|
- <span class="mr-2"><b>Best Time to Call: </b> <i class="fas fa-clock"></i> {{ $patient->best_time_to_call ?? '-' }}</span>
|
|
|
|
- @include('app.patient.partials.update-best-time-to-call')
|
|
|
|
- </div>
|
|
|
|
- </li>
|
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
</div>
|