|
@@ -40,24 +40,11 @@
|
|
|
</a>
|
|
|
</td>
|
|
|
<td>{{implode(' ', [$row->name_first, $row->name_last])}}</td>
|
|
|
- <td>{{$row->dob}}</td>
|
|
|
+ <td>{{friendly_date($row->dob)}}</td>
|
|
|
<td>{{$row->sex}}</td>
|
|
|
<td>{{$row->usual_bmi}}</td>
|
|
|
<td>
|
|
|
- <?php $coverageStatus = $row->getPrimaryCoverageStatus(); ?>
|
|
|
- <div class="text-nowrap">
|
|
|
- @if($coverageStatus === 'YES')
|
|
|
- <i class="fa fa-check-circle text-success" data-toggle="tooltip" data-placement="bottom" title="Covered"></i>
|
|
|
- @elseif($coverageStatus === 'NO')
|
|
|
- <i class="fa fa-times text-danger" data-toggle="tooltip" data-placement="bottom" title="Not Covered"></i>
|
|
|
- @else
|
|
|
- <i class="fa fa-exclamation-triangle text-warning-mellow" data-toggle="tooltip" data-placement="bottom" title="Unknown"></i>
|
|
|
- @endif
|
|
|
- <?php $coverage = $row->getPrimaryCoverage(); ?>
|
|
|
- @if($coverage)
|
|
|
- {{$coverage->insuranceDisplayName()}}
|
|
|
- @endif
|
|
|
- </div>
|
|
|
+ @include('app.patient.coverage_column_renderer', ['patient'=>$row])
|
|
|
</td>
|
|
|
<td>{{$row->lastMcpAppointment() ? @$row->lastMcpAppointment()->start_date : '-'}}</td>
|
|
|
<td>{{$row->nextMcpAppointment() ? @$row->nextMcpAppointment()->start_date : '-'}}</td>
|