|
@@ -507,16 +507,56 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
@endif
|
|
@endif
|
|
|
|
+ </div>
|
|
|
|
+ @if($patient->mcp && $patient->mcp->id === $pro->id || $pro->pro_type == 'ADMIN')
|
|
|
|
+ <div>
|
|
|
|
+ <label>Status (mcp):</label>
|
|
|
|
+ <b>{!! $patient->mcpEngagementAssessmentStatus && $patient->mcpEngagementAssessmentStatus->status_category ? ucwords(strtolower(str_replace('_', ' ', $patient->mcpEngagementAssessmentStatus->status_category))) : '<span class="text-danger">Not Set</span>' !!}</b>
|
|
|
|
+ <div moe class="ml-2">
|
|
|
|
+ <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/client/updateMcpEngagementAssessmentStatus" class="mcp-theme-1">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Category </label>
|
|
|
|
+ <select name="category" class="form-control form-control-sm">
|
|
|
|
+ <option value="NULL">--</option>
|
|
|
|
+ <option value="ACTIVE">ACTIVE</option>
|
|
|
|
+ <option value="INACTIVE">INACTIVE</option>
|
|
|
|
+ <option value="ENTRY_ERROR">ENTRY_ERROR</option>
|
|
|
|
+ <option value="DUMMY">DUMMY</option>
|
|
|
|
+ <option value="DECEASED">DECEASED</option>
|
|
|
|
+ <option value="DUPLICATE">DUPLICATE</option>
|
|
|
|
+ <option value="NO_LONGER_INTERESTED">NO_LONGER_INTERESTED</option>
|
|
|
|
+ <option value="BAD_RECORD">BAD_RECORD</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Memo</label>
|
|
|
|
+ <input type="text" name="memo" class="form-control form-control-sm">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Detail</label>
|
|
|
|
+ <input type="text" name="detail" class="form-control form-control-sm">
|
|
|
|
+ </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>
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
<div>
|
|
<div>
|
|
- @if($patient->has_mcp_done_onboarding_visit !== 'YES')
|
|
|
|
- <span class="text-dark d-inline-flex align-items-center">
|
|
|
|
|
|
+ @if($patient->has_mcp_done_onboarding_visit !== 'YES')
|
|
|
|
+ <span class="text-dark d-inline-flex align-items-center">
|
|
<span class="mr-2">
|
|
<span class="mr-2">
|
|
<i class="fa fa-exclamation-triangle"></i>
|
|
<i class="fa fa-exclamation-triangle"></i>
|
|
MCP Onboarding Visit Pending
|
|
MCP Onboarding Visit Pending
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
- <span moe class="hide-inside-popup">
|
|
|
|
|
|
+ <span moe class="hide-inside-popup">
|
|
<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}}">
|
|
@@ -532,9 +572,9 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
</div>
|
|
</div>
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<input type="date"
|
|
<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') }}">
|
|
|
|
|
|
+ class="if-visit-done form-control form-control-sm" disabled
|
|
|
|
+ name="mcpOnboardingVisitDate" value="{{ date('Y-m-d') }}"
|
|
|
|
+ max="{{ date('Y-m-d') }}">
|
|
</div>
|
|
</div>
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<select name="mcpOnboardingVisitNoteUid" disabled
|
|
<select name="mcpOnboardingVisitNoteUid" disabled
|
|
@@ -545,8 +585,8 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
@foreach ($notes as $note)
|
|
@foreach ($notes as $note)
|
|
@if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
|
|
@if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
|
|
<option
|
|
<option
|
|
- {{ $patient->mcp_onboarding_visit_note_id === $note->id ? 'selected' : '' }}
|
|
|
|
- value="{{$note->uid}}">{{$note->hcpPro->displayName()}} ({{friendly_date_time($note->effective_dateest, false)}})</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
|
|
@endif
|
|
@endforeach
|
|
@endforeach
|
|
{{--<option value="-- create --">-- Create Note --</option>--}}
|
|
{{--<option value="-- create --">-- Create Note --</option>--}}
|
|
@@ -554,9 +594,9 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
</div>
|
|
</div>
|
|
<div class="mb-2 if-note-outside-system">
|
|
<div class="mb-2 if-note-outside-system">
|
|
<textarea class="form-control form-control-sm"
|
|
<textarea class="form-control form-control-sm"
|
|
- name="reasonOnboardingVisitNoteOutsideSystem"
|
|
|
|
- placeholder="Visit note outside the system reason"
|
|
|
|
- spellcheck="false" data-gramm="false"></textarea>
|
|
|
|
|
|
+ name="reasonOnboardingVisitNoteOutsideSystem"
|
|
|
|
+ placeholder="Visit note outside the system reason"
|
|
|
|
+ spellcheck="false" data-gramm="false"></textarea>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
<button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
@@ -564,20 +604,21 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</span>
|
|
</span>
|
|
- @else
|
|
|
|
- <span class="text-dark d-inline-flex align-items-center">
|
|
|
|
|
|
+ @else
|
|
|
|
+ <span class="text-dark d-inline-flex align-items-center">
|
|
<span class="mr-2 text-secondary">
|
|
<span class="mr-2 text-secondary">
|
|
<i class="fa fa-check text-sm"></i>
|
|
<i class="fa fa-check text-sm"></i>
|
|
MCP Onboarding Visit Completed
|
|
MCP Onboarding Visit Completed
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
- @endif
|
|
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div>
|
|
|
|
- <label>CC:</label> {{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}
|
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
|
|
|
+ <div class="separators">
|
|
|
|
+ <div>
|
|
|
|
+ <label>CC:</label> {{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}
|
|
|
|
+ @if($pro->pro_type == 'ADMIN')
|
|
<div moe class="ml-2 hide-inside-popup">
|
|
<div moe class="ml-2 hide-inside-popup">
|
|
<a start show><i class="fa fa-edit"></i></a>
|
|
<a start show><i class="fa fa-edit"></i></a>
|
|
<form url="/api/client/putDefaultNaPro" class="mcp-theme-1">
|
|
<form url="/api/client/putDefaultNaPro" class="mcp-theme-1">
|
|
@@ -620,6 +661,45 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
@endif
|
|
@endif
|
|
|
|
+ </div>
|
|
|
|
+ @if($patient->defaultNaPro && $patient->defaultNaPro->id === $pro->id || $pro->pro_type == 'ADMIN')
|
|
|
|
+ <div>
|
|
|
|
+ <label>Status (cc):</label>
|
|
|
|
+ <b>{!! $patient->defaultNaEngagementAssessmentStatus && $patient->defaultNaEngagementAssessmentStatus->status_category ? ucwords(strtolower(str_replace('_', ' ', $patient->defaultNaEngagementAssessmentStatus->status_category))) : '<span class="text-danger">Not Set</span>' !!}</b>
|
|
|
|
+ <div moe class="ml-2">
|
|
|
|
+ <a start show><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/client/updateDefaultNaEngagementAssessmentStatus" class="mcp-theme-1">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Category </label>
|
|
|
|
+ <select name="category" class="form-control form-control-sm">
|
|
|
|
+ <option value="NULL">--</option>
|
|
|
|
+ <option value="ACTIVE">ACTIVE</option>
|
|
|
|
+ <option value="INACTIVE">INACTIVE</option>
|
|
|
|
+ <option value="ENTRY_ERROR">ENTRY_ERROR</option>
|
|
|
|
+ <option value="DUMMY">DUMMY</option>
|
|
|
|
+ <option value="DECEASED">DECEASED</option>
|
|
|
|
+ <option value="DUPLICATE">DUPLICATE</option>
|
|
|
|
+ <option value="NO_LONGER_INTERESTED">NO_LONGER_INTERESTED</option>
|
|
|
|
+ <option value="BAD_RECORD">BAD_RECORD</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Memo</label>
|
|
|
|
+ <input type="text" name="memo" class="form-control form-control-sm">
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Detail</label>
|
|
|
|
+ <input type="text" name="detail" class="form-control form-control-sm">
|
|
|
|
+ </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>
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<?php $currentCareMonth = $patient->currentCareMonth(); ?>
|
|
<?php $currentCareMonth = $patient->currentCareMonth(); ?>
|