|
@@ -186,6 +186,38 @@
|
|
|
</nav>
|
|
|
@endif
|
|
|
<main role="main" class="w-100">
|
|
|
+ @if($pro->is_enrolled_as_mcp && !$patient->mcp)
|
|
|
+ <div class="alert alert-info bg-white mt-3 mcp-theme-1 p-3">
|
|
|
+ <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>
|
|
|
+ <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
|
|
|
<div class="card mt-3">
|
|
|
<div class="card-header py-1">
|
|
|
<?php
|