|
@@ -55,7 +55,16 @@
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<div class="d-flex flex-column">
|
|
<div class="d-flex flex-column">
|
|
- <span>{{ $patient->mcp ? $patient->mcp->displayName() :'' }}</span>
|
|
|
|
|
|
+ <span>{{ $patient->mcp ? $patient->mcp->displayName() :'' }}</span>
|
|
|
|
+ <span>Status:
|
|
|
|
+ @if($patient->has_mcp_done_onboarding_visit === 'YES')
|
|
|
|
+ <i class="fas fa-check-circle text-success" data-toggle="tooltip" data-placement="bottom" title="YES"></i>
|
|
|
|
+ @elseif($patient->has_mcp_done_onboarding_visit === 'NO')
|
|
|
|
+ <i class="fas fa-times-circle text-danger" data-toggle="tooltip" data-placement="bottom" title="NO"></i>
|
|
|
|
+ @elseif($patient->has_mcp_done_onboarding_visit === 'UNKNOWN')
|
|
|
|
+ <i class="fas fa-question-circle text-secondary" data-toggle="tooltip" data-placement="bottom" title="UNKNOWN"></i>
|
|
|
|
+ @endif
|
|
|
|
+ </span>
|
|
@if($patient->mostRecentCompletedMcpNote)
|
|
@if($patient->mostRecentCompletedMcpNote)
|
|
<span>Last Encounter:
|
|
<span>Last Encounter:
|
|
<a href="/patients/view/{{ $patient->mostRecentCompletedMcpNote->client->uid }}/notes/view/{{ $patient->mostRecentCompletedMcpNote->uid }}" class="font-weight-bold">
|
|
<a href="/patients/view/{{ $patient->mostRecentCompletedMcpNote->client->uid }}/notes/view/{{ $patient->mostRecentCompletedMcpNote->uid }}" class="font-weight-bold">
|
|
@@ -78,7 +87,33 @@
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<div class="d-flex flex-column">
|
|
<div class="d-flex flex-column">
|
|
- <span>Enrolled: {{$patient->is_enrolled_in_rm ? 'Yes' : 'No'}}</span>
|
|
|
|
|
|
+ <span>Enrolled:
|
|
|
|
+ @if($patient->is_enrolled_in_rm === 'YES')
|
|
|
|
+ <i class="fas fa-check-circle text-success" data-toggle="tooltip" data-placement="bottom" title="YES"></i>
|
|
|
|
+ @elseif($patient->is_enrolled_in_rm === 'NO')
|
|
|
|
+ <i
|
|
|
|
+ class="fas fa-times-circle text-danger"
|
|
|
|
+ tabindex="0"
|
|
|
|
+ data-toggle="popover"
|
|
|
|
+ title="No"
|
|
|
|
+ data-target="#enrollment-{{ $patient->uid }}"
|
|
|
|
+ ></i>
|
|
|
|
+ @elseif($patient->is_enrolled_in_rm === 'UNKNOWN')
|
|
|
|
+ <i
|
|
|
|
+ tabindex="0"
|
|
|
|
+ data-toggle="popover"
|
|
|
|
+ title="Uknown"
|
|
|
|
+ data-target="#enrollment-{{ $patient->uid }}"
|
|
|
|
+ class="fas fa-question-circle text-secondary"
|
|
|
|
+ popover
|
|
|
|
+ ></i>
|
|
|
|
+ @endif
|
|
|
|
+ </span>
|
|
|
|
+ <div id="enrollment-{{ $patient->uid }}" class="d-none">
|
|
|
|
+ <span>Is Eligible for RM: {{ $patient->is_eligible_for_rm }}</span><br>
|
|
|
|
+ <span>Why not eligible: {{ $patient->why_not_eligible_for_rm_category ?? '---' }}</span><br>
|
|
|
|
+ <span>{{ $patient->why_not_eligible_for_rm_memo }}</span>
|
|
|
|
+ </div>
|
|
<?php $m = $patient->lastMeasurementOfType('Wt. (lbs.)');?>
|
|
<?php $m = $patient->lastMeasurementOfType('Wt. (lbs.)');?>
|
|
@if($m)
|
|
@if($m)
|
|
<span>Wt. (lbs.) {{$m && $m->value ? round($m->value, 2) : '-'}}</span>
|
|
<span>Wt. (lbs.) {{$m && $m->value ? round($m->value, 2) : '-'}}</span>
|