|
@@ -1,19 +1,58 @@
|
|
|
-@extends ('layouts/template')
|
|
|
-
|
|
|
-@section('content')
|
|
|
<div class="p-3 mcp-theme-1" id="patients-list">
|
|
|
<div class="card">
|
|
|
|
|
|
- <div class="card-header px-3 py-2 d-flex align-items-center">
|
|
|
+ <div class="card-header px-3 py-2 d-flex align-items-center border-bottom-0">
|
|
|
<strong class="mr-4">
|
|
|
<i class="fas fa-user-injured"></i>
|
|
|
New Patients Awaiting Visit
|
|
|
</strong>
|
|
|
</div>
|
|
|
|
|
|
- <div class="card-body p-0">
|
|
|
-
|
|
|
+ <div class="card-body p-0 border-top-0 pb-0">
|
|
|
+ <table class="table table-sm table-striped mb-0">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th class="border-bottom-0">Chart #</th>
|
|
|
+ <th class="border-bottom-0">Name (F.I. LAST)</th>
|
|
|
+ <th class="border-bottom-0">DOB</th>
|
|
|
+ <th class="border-bottom-0">Gender</th>
|
|
|
+ <th class="border-bottom-0">BMI</th>
|
|
|
+ <th class="border-bottom-0">Insurance</th>
|
|
|
+ <th class="border-bottom-0">Last Visit</th>
|
|
|
+ <th class="border-bottom-0">Next Appt.</th>
|
|
|
+ <th class="border-bottom-0">Status</th>
|
|
|
+ <th class="border-bottom-0">CCM</th>
|
|
|
+ <th class="border-bottom-0">RPM</th>
|
|
|
+ <th class="border-bottom-0">Last Weight-In</th>
|
|
|
+ <th class="border-bottom-0">Last BP</th>
|
|
|
+ <th class="border-bottom-0">Assigned On</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ @foreach($records as $row)
|
|
|
+ <tr>
|
|
|
+ <td class="border-bottom-0">
|
|
|
+ <a target="_blank" native href="{{route('patients.view.dashboard', $row)}}">
|
|
|
+ {{$row->chart_number}}
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td class="border-bottom-0">{{implode(' ', [$row->name_first, $row->name_last])}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->dob}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->sex}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->usual_bmi}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->Insurance}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->lastMcpAppointment() ? $row->lastMcpAppointment()->start_date : '-'}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->nextMcpAppointment() ? $row->nextMcpAppointment()->start_date : '-'}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->nextMcpAppointment() ? $row->nextMcpAppointment()->status : '-'}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->is_enrolled_in_cm ? 'Yes' : 'No'}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->is_enrolled_in_rm ? 'Yes' : 'No'}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->lastMeasurementOfType('Wt. (lbs.)') ? $row->lastMeasurementOfType('Wt. (lbs.)') : '-'}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->lastMeasurementOfType('BP') ? $row->lastMeasurementOfType('BP') : '-'}}</td>
|
|
|
+ <td class="border-bottom-0">{{$row->getMcpAssignedOn()}}</td>
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-@endsection
|