|
@@ -375,9 +375,9 @@
|
|
|
<label class="ml-2">RM:</label> {{ $patient->is_enrolled_in_rm === 'YES' ? 'Yes' : 'No' }}
|
|
|
</div>
|
|
|
</section>--}}
|
|
|
- <section class="vbox ml-4">
|
|
|
+ <section class="vbox mt-2 align-self-start ml-4">
|
|
|
<div moe>
|
|
|
- <button start show>+ Note</button>
|
|
|
+ <button start show><i class="fa fa-plus text-sm text-secondary"></i> Note</button>
|
|
|
<form url="/api/note/createUsingTemplate"
|
|
|
redir="/patients/view/{{$patient->uid}}/notes/view/[data]"
|
|
|
class="mcp-theme-1">
|
|
@@ -404,7 +404,7 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<div moe relative>
|
|
|
- <button start show>+ SMS</button>
|
|
|
+ <button start show><i class="fa fa-plus text-sm text-secondary"></i> SMS</button>
|
|
|
<form url="/api/clientSms/createOutgoing" right class="mcp-theme-1">
|
|
|
<input type="hidden" name="uid" value="{{ $patient->uid }}">
|
|
|
<div class="mb-2">
|
|
@@ -423,9 +423,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <button onclick="return openInRHS('/pro/meet/{{ $patient->uid }}')">Video</button>
|
|
|
- <span moe relative class="ml-1">
|
|
|
- <a start show title="SMS check-in link to the patient"><i class="on-hover-opaque fa fa-paper-plane"></i></a>
|
|
|
+ <button onclick="return openInRHS('/pro/meet/{{ $patient->uid }}')">Video <i class="fa fa-play text-secondary"></i></button>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span moe relative class="">
|
|
|
+ <button start show title="SMS check-in link to the patient">Send <i class="on-hover-opaque fa fa-paper-plane text-secondary"></i></button>
|
|
|
<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>
|
|
@@ -445,6 +447,64 @@
|
|
|
</span>
|
|
|
</div>
|
|
|
</section>
|
|
|
+ <section class="vbox mt-2 align-self-start ml-2">
|
|
|
+ <div class="">
|
|
|
+ @if($pro->isWorkingOnClient($patient))
|
|
|
+ {{-- stop work on client --}}
|
|
|
+ <div moe>
|
|
|
+ <form url="/api/proClientWork/KillRunningWorkForSelf" class="mcp-theme-1" show>
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <div>
|
|
|
+ <button submit><i class="fa fa-stop text-secondary"></i> Work: Stop</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ {{-- start work on client --}}
|
|
|
+ <div moe>
|
|
|
+ <form url="/api/proClientWork/create" class="mcp-theme-1" show>
|
|
|
+ <input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
|
+ <div>
|
|
|
+ <button submit><i class="fa fa-play text-secondary"></i> Work: Start</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ <div class="mr-auto">
|
|
|
+ @if($pro->isWorkingOnClient($patient))
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
+ @if($patient->active_mcp_request_id)
|
|
|
+ {{-- kill mcp request for client --}}
|
|
|
+ <div moe relative class="">
|
|
|
+ <button href="" start show class="on-hover-opaque"><i class="fa fa-times text-danger"></i> MCP Req.</button>
|
|
|
+ <form url="/api/mcpRequest/kill" class="mcp-theme-1" right>
|
|
|
+ <input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
|
+ <p>Kill the MCP Request for this patient?</p>
|
|
|
+ <div>
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-2">Yes</button>
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ {{-- create mcp request for client --}}
|
|
|
+ <div moe relative class="">
|
|
|
+ <button href="" start show><i class="fa fa-plus text-sm text-secondary"></i> MCP Req.</button>
|
|
|
+ <form url="/api/mcpRequest/createAsPro" class="mcp-theme-1" right>
|
|
|
+ <p>Create an MCP Request for this patient?</p>
|
|
|
+ <div>
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-2">Yes</button>
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+
|
|
|
<ul class="vbox ml-auto 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>
|
|
@@ -494,7 +554,7 @@
|
|
|
</div>
|
|
|
<div class="text-container border-bottom d-flex align-items-center mcp-theme-1 px-3">
|
|
|
|
|
|
-
|
|
|
+
|
|
|
@if($patient->mcp_pro_id !== $pro->id && $patient->active_mcp_request_id)
|
|
|
{{-- claim client --}}
|
|
|
<div moe relative class="ml-2">
|