|
@@ -1,5 +1,5 @@
|
|
-<table class="table table-condensed p-0 m-0">
|
|
|
|
- <thead class="bg-light">
|
|
|
|
|
|
+<table class="table table-sm table-striped p-0 m-0">
|
|
|
|
+ <thead class="bg-light border-top">
|
|
<tr>
|
|
<tr>
|
|
<th class="px-3 border-0">#</th>
|
|
<th class="px-3 border-0">#</th>
|
|
<th class="px-3 border-0">Name</th>
|
|
<th class="px-3 border-0">Name</th>
|
|
@@ -9,11 +9,7 @@
|
|
<th class="px-3 border-0">BMI</th>
|
|
<th class="px-3 border-0">BMI</th>
|
|
<th class="px-3 border-0">Insurance</th>
|
|
<th class="px-3 border-0">Insurance</th>
|
|
<th class="px-3 border-0">MCP</th>
|
|
<th class="px-3 border-0">MCP</th>
|
|
- <th class="px-3 border-0">Last Visit</th>
|
|
|
|
- <th class="px-3 border-0">Next Appt.</th>
|
|
|
|
- <th class="px-3 border-0">Status</th>
|
|
|
|
<th class="px-3 border-0">RPM</th>
|
|
<th class="px-3 border-0">RPM</th>
|
|
- <th class="px-3 border-0">Assigned On</th>
|
|
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@@ -59,7 +55,7 @@
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<div class="d-flex flex-column">
|
|
<div class="d-flex flex-column">
|
|
- <span>{{ $patient->mcp->displayName() }}</span>
|
|
|
|
|
|
+ <span>{{ $patient->mcp ? $patient->mcp->displayName() :'' }}</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">
|
|
@@ -68,7 +64,7 @@
|
|
</span>
|
|
</span>
|
|
@endif
|
|
@endif
|
|
@if($patient->next_mcp_appointment_date)
|
|
@if($patient->next_mcp_appointment_date)
|
|
- <span>Next Appt. {{ friendly_date_time($patient->next_mcp_appointment_date) }}</span>
|
|
|
|
|
|
+ <span class="text-muted">Next Appt. <b>{{ friendly_date_time($patient->next_mcp_appointment_date) }}</b></span>
|
|
@endif
|
|
@endif
|
|
<?= $recentNote = $patient->mostRecentCompletedMcpNote; ?>
|
|
<?= $recentNote = $patient->mostRecentCompletedMcpNote; ?>
|
|
@if($recentNote)
|
|
@if($recentNote)
|
|
@@ -80,25 +76,25 @@
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
- <td>{{$patient->lastMcpAppointment ? friendly_date_time($patient->lastMcpAppointment->raw_date.' '.$patient->lastMcpAppointment->raw_start_time) : '-'}}</td>
|
|
|
|
- <td>{{$patient->nextMcpAppointment ? friendly_date_time($patient->nextMcpAppointment->raw_date.' '.$patient->nextMcpAppointment->raw_start_time) : '-'}}</td>
|
|
|
|
- <td>{{$patient->nextMcpAppointment ? $patient->nextMcpAppointment->status : '-'}}</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: {{$patient->is_enrolled_in_rm ? 'Yes' : 'No'}}</span>
|
|
- <?php $m = $patient->lastMeasurementOfType('Wt. (lbs.)'); ?>
|
|
|
|
|
|
+ <?php $m = $patient->lastMeasurementOfType('Wt. (lbs.)');?>
|
|
|
|
+ @if($m)
|
|
<span>Wt. (lbs.) {{$m && $m->value ? round($m->value, 2) : '-'}}</span>
|
|
<span>Wt. (lbs.) {{$m && $m->value ? round($m->value, 2) : '-'}}</span>
|
|
|
|
+ @endif
|
|
<?php $bp = $patient->lastMeasurementOfType('BP'); ?>
|
|
<?php $bp = $patient->lastMeasurementOfType('BP'); ?>
|
|
|
|
+ @if($bp)
|
|
<span>BP. {{$bp && $bp->value ? $bp->value : '-'}}</span>
|
|
<span>BP. {{$bp && $bp->value ? $bp->value : '-'}}</span>
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
- <td>{{$patient->getMcpAssignedOn()}}</td>
|
|
|
|
</tr>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|
|
|
|
|
|
@if(count($patients) === 0)
|
|
@if(count($patients) === 0)
|
|
<tr>
|
|
<tr>
|
|
- <td colspan="16">No records found!</td>
|
|
|
|
|
|
+ <td colspan="9">No records found!</td>
|
|
</tr>
|
|
</tr>
|
|
@endif
|
|
@endif
|
|
</tbody>
|
|
</tbody>
|