|
@@ -1,37 +1,56 @@
|
|
|
-<table class="table table-condensed p-0 m-0">
|
|
|
+<style>
|
|
|
+ td, th {
|
|
|
+ text-align: center !important;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+
|
|
|
+<table class="table table-condensed p-0 m-0 table-sm table-bordered">
|
|
|
<thead class="bg-light">
|
|
|
<tr>
|
|
|
- <th class="px-3 border-0">#</th>
|
|
|
- <th class="px-3 border-0">Name</th>
|
|
|
- <th class="px-3 border-0">DOB</th>
|
|
|
- <th class="px-3 border-0">Age</th>
|
|
|
- <th class="px-3 border-0">Sex</th>
|
|
|
- <th class="px-3 border-0">BMI</th>
|
|
|
- <th class="px-3 border-0">Insurance</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">CCM</th>
|
|
|
- <th class="px-3 border-0">RPM</th>
|
|
|
- <th class="px-3 border-0 d-none">Last Weight-In</th>
|
|
|
- <th class="px-3 border-0 d-none">Last BP</th>
|
|
|
- <th class="px-3 border-0">Assigned On</th>
|
|
|
+ <th class="px-3 border-0x">#</th>
|
|
|
+ <th class="px-3 border-0x">Name</th>
|
|
|
+ <th class="px-3 border-0x">DOB</th>
|
|
|
+ <th class="px-3 border-0x">Age</th>
|
|
|
+ <th class="px-3 border-0x">Sex</th>
|
|
|
+ <th class="px-3 border-0x">BMI</th>
|
|
|
+ <th class="px-3 border-0x">Insurance</th>
|
|
|
+ <th class="px-3 border-0x">Last Visit</th>
|
|
|
+ <th class="px-3 border-0x">Next Appt.</th>
|
|
|
+ <th class="px-3 border-0x">Status</th>
|
|
|
+
|
|
|
+ <th class="px-3 border-0x">BP</th>
|
|
|
+ <th class="px-3 border-0x"> <i class="fa fa-heartbeat"></i> </th>
|
|
|
+ <th class="px-3 border-0x">Pulse</th>
|
|
|
+ <th class="px-3 border-0x">BP/Pulse Timestamp</th>
|
|
|
+ <th class="px-3 border-0x">Weight</th>
|
|
|
+ <th class="px-3 border-0x">Weight Timestamp</th>
|
|
|
+
|
|
|
+{{-- <th>Scale <i class="fa fa-battery"></i></th>--}}
|
|
|
+ {{-- <th class="px-3 border-0x">RPM</th>--}}
|
|
|
+ {{-- <th class="px-3 border-0x">CCM</th>--}}
|
|
|
+{{-- <th class="px-3 border-0x d-none">Last Weight-In</th>--}}
|
|
|
+{{-- <th class="px-3 border-0x d-none">Last BP</th>--}}
|
|
|
+ <th class="px-3 border-0x">Assigned On</th>
|
|
|
+
|
|
|
+ @if($pro->pro_type == 'ADMIN')
|
|
|
+ <th class="px-3 border-0x">MCP</th>
|
|
|
+ @endif
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@foreach($patients as $patient)
|
|
|
<tr>
|
|
|
- <td class="px-3">
|
|
|
+ <td class="px-3 text-nowrap">
|
|
|
<a native target="_blank" href="{{route('patients.view.dashboard', $patient)}}">
|
|
|
{{$patient->chart_number}}
|
|
|
</a>
|
|
|
</td>
|
|
|
- <td>{{$patient->displayName()}}</td>
|
|
|
+ <td class="text-nowrap">{{$patient->displayName()}}</td>
|
|
|
<td class="text-nowrap">{{ friendly_date_time($patient->dob, false) }}</td>
|
|
|
- <td>{{ $patient->age_in_years ? $patient->age_in_years : '-' }}</td>
|
|
|
- <td>{{ $patient->sex }}</td>
|
|
|
- <td>
|
|
|
- <div class="d-flex flex-column">
|
|
|
+ <td class="text-nowrap">{{ $patient->age_in_years ? $patient->age_in_years : '-' }}</td>
|
|
|
+ <td class="text-nowrap">{{ $patient->sex }}</td>
|
|
|
+ <td class="text-nowrap">
|
|
|
+ <div class="d-none d-dflex flex-column">
|
|
|
@if($patient->usual_bmi_min && $patient->usual_bmi_max)
|
|
|
<small class="text-muted">BMI (Usual): <b>{{ $patient->usual_bmi_min }}</b> {{ $patient->usual_bmi_min_category }} to <b>{{ $patient->usual_bmi_max }}</b> {{ $patient->usual_bmi_max_category }}</small>
|
|
|
@endif
|
|
@@ -40,7 +59,7 @@
|
|
|
@endif
|
|
|
</div>
|
|
|
</td>
|
|
|
- <td>
|
|
|
+ <td class="text-nowrap">
|
|
|
<?php $coverageStatus = $patient->getPrimaryCoverageStatus(); ?>
|
|
|
<div class="text-nowrap">
|
|
|
@if($coverageStatus === 'YES')
|
|
@@ -56,20 +75,43 @@
|
|
|
@endif
|
|
|
</div>
|
|
|
</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>{{$patient->is_enrolled_in_cm ? 'Yes' : 'No'}}</td>
|
|
|
- <td>{{$patient->is_enrolled_in_rm ? 'Yes' : 'No'}}</td>
|
|
|
- <td class="d-none">
|
|
|
+ <td class="text-nowrap">
|
|
|
+ {{ friendly_date($patient->most_recent_completed_mcp_note_date) }}
|
|
|
+{{-- {{$patient->lastMcpAppointment ? friendly_date_time($patient->lastMcpAppointment->raw_date.' '.$patient->lastMcpAppointment->raw_start_time) : '-'}}--}}
|
|
|
+ </td>
|
|
|
+ <td class="text-nowrap">{{$patient->nextMcpAppointment ? friendly_date_time($patient->nextMcpAppointment->raw_date.' '.$patient->nextMcpAppointment->raw_start_time) : '-'}}</td>
|
|
|
+ <td class="text-nowrap">{{$patient->nextMcpAppointment ? $patient->nextMcpAppointment->status : '-'}}</td>
|
|
|
+
|
|
|
+ <td class="text-nowrap">
|
|
|
+ @if($patient->most_recent_cellular_bp_measurement_at)
|
|
|
+ {{ $patient->most_recent_cellular_bp_sbp_mm_hg }} / {{ $patient->most_recent_cellular_bp_dbp_mm_hg }}
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="text-nowrap"><?= $patient->most_recent_cellular_bp_value_irregular ? '<i class="fa fa-heartbeat"></i>' : '' ?></td>
|
|
|
+
|
|
|
+ <td class="text-nowrap">{{ $patient->most_recent_cellular_bp_value_pulse }}</td>
|
|
|
+
|
|
|
+ <td class="text-nowrap">{{ friendlier_date_time($patient->most_recent_cellular_bp_measurement_at, false) }}</td>
|
|
|
+
|
|
|
+ <td class="text-nowrap">{{ $patient->most_recent_cellular_weight_value ? round($patient->most_recent_cellular_weight_value, 2) : '--' }}</td>
|
|
|
+
|
|
|
+ <td class="text-nowrap">{{ friendlier_date_time($patient->most_recent_cellular_weight_measurement_at, false) }}</td>
|
|
|
+
|
|
|
+{{-- <td class=text-nowrap">{{$patient->is_enrolled_in_cm ? 'Yes' : 'No'}}</td>--}}
|
|
|
+{{-- <td class=text-nowrap">{{$patient->is_enrolled_in_rm ? 'Yes' : 'No'}}</td>--}}
|
|
|
+ <td class="d-none text-nowrap">
|
|
|
<?php $m = $patient->lastMeasurementOfType('Wt. (lbs.)'); ?>
|
|
|
{{$m && $m->value ? round($m->value, 2) : '-'}}
|
|
|
</td>
|
|
|
- <td class="d-none">
|
|
|
+ <td class="d-none text-nowrap">
|
|
|
<?php $m = $patient->lastMeasurementOfType('BP'); ?>
|
|
|
{{$m && $m->value ? $m->value : '-'}}
|
|
|
</td>
|
|
|
- <td>{{$patient->getMcpAssignedOn()}}</td>
|
|
|
+ <td class="text-nowrap"">{{$patient->getMcpAssignedOn()}}</td>
|
|
|
+ @if($pro->pro_type == 'ADMIN')
|
|
|
+ <td class="text-nowrap"">{{$patient->mcp->display_name ?? '--'}}</td>
|
|
|
+ @endif
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
|