|
@@ -5,41 +5,122 @@
|
|
|
<div class="card">
|
|
|
<div class="card-header p-3 d-flex align-items-center">
|
|
|
<strong class="mr-4">
|
|
|
- <i class="fas fa-user"></i>
|
|
|
+ <i class="fas fa-chart-bar"></i>
|
|
|
Remote Monitoring Report
|
|
|
</strong>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="card-body p-0">
|
|
|
+ <div class="d-flex flex-row">
|
|
|
+ <div class="ml-2 mt-2">
|
|
|
+ <div>Patient</div>
|
|
|
+ <input type="text" class="form-control input-sm" name="patient">
|
|
|
+ </div>
|
|
|
+ <div class="ml-2 mt-2">
|
|
|
+ <div>HCP</div>
|
|
|
+ <input type="text" class="form-control input-sm" name="hcp">
|
|
|
+ </div>
|
|
|
+ <div class="ml-2 mt-2">
|
|
|
+ <div>Care Month Start Date</div>
|
|
|
+ <select name="" id="" class="form-control input-sm mb-2">
|
|
|
+ <option>all</option>
|
|
|
+ <option>on</option>
|
|
|
+ <option>on-or-before</option>
|
|
|
+ <option>on-or-after</option>
|
|
|
+ <option>between</option>
|
|
|
+ <option>not-on</option>
|
|
|
+ <option>not-in-between</option>
|
|
|
+ </select>
|
|
|
+ <input type="date1" class="form-control input-sm mb-2">
|
|
|
+ <input type="date1" class="form-control input-sm mb-2">
|
|
|
+ </div>
|
|
|
+ <div class="ml-2 mt-2">
|
|
|
+ <div>Number Of Days With Measurements</div>
|
|
|
+ <select name="" id="" class="form-control input-sm mb-2">
|
|
|
+ <option>all</option>
|
|
|
+ <option>less-than</option>
|
|
|
+ <option>greater-than</option>
|
|
|
+ <option>equal-to</option>
|
|
|
+ <option>between</option>
|
|
|
+ <option>not-equal-to</option>
|
|
|
+ <option>not-in-between</option>
|
|
|
+ </select>
|
|
|
+ <input type="date1" class="form-control form-control input-sm mb-2">
|
|
|
+ <input type="date1" class="form-control form-control input-sm mb-2">
|
|
|
+ </div>
|
|
|
+ <div class="ml-2 mt-2">
|
|
|
+ <div>Most Recent Mcp Note Date</div>
|
|
|
+ <select name="" id="" class="form-control form-control input-sm mb-2">
|
|
|
+ <option>all</option>
|
|
|
+ <option>on</option>
|
|
|
+ <option>on-or-before</option>
|
|
|
+ <option>on-or-after</option>
|
|
|
+ <option>between</option>
|
|
|
+ <option>not-on</option>
|
|
|
+ <option>not-in-between</option>
|
|
|
+ </select>
|
|
|
+ <input type="date1" class="form-control input-sm mb-2">
|
|
|
+ <input type="date1" class="form-control input-sm mb-2">
|
|
|
+ </div>
|
|
|
+ <div class="ml-2 mt-2">
|
|
|
+ <div>Days Between Most Recent Mcp Note Date And End Of Care Month</div>
|
|
|
+ <select name="" id="" class="form-control input-sm mb-2">
|
|
|
+ <option>all</option>
|
|
|
+ <option>less-than</option>
|
|
|
+ <option>greater-than</option>
|
|
|
+ <option>equal-to</option>
|
|
|
+ <option>between</option>
|
|
|
+ <option>not-equal-to</option>
|
|
|
+ <option>not-in-between</option>
|
|
|
+ </select>
|
|
|
+ <input type="date1" class="form-control input-sm mb-2">
|
|
|
+ <input type="date1" class="form-control input-sm mb-2">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<table class="table table-sm table-condensed p-0 m-0" style="table-layout: fixed">
|
|
|
<thead class="bg-light">
|
|
|
<tr>
|
|
|
<th class="px-3 border-0">Patient</th>
|
|
|
<th class="border-0">Month/Year</th>
|
|
|
<th class="border-0"># Days with Measurements</th>
|
|
|
+ <th>Most Recent Mcp Note Date</th>
|
|
|
+ <th>Days Between Most Recent Mcp Note Date And End Of Care Month</th>
|
|
|
<th class="border-0">HCP</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
+
|
|
|
<tbody>
|
|
|
@foreach($rows as $row)
|
|
|
<tr>
|
|
|
<td>
|
|
|
- <a href="/patients/view/{{ $row->uid }}">
|
|
|
- <b>{{ implode(", ", [$row->name_last, $row->name_first]) }}</b>
|
|
|
+ <a href="/patients/view/{{ $row->patient->uid }}">
|
|
|
+ <b>{{ implode(", ", [$row->patient->name_last,$row->patient->name_first]) }}</b>
|
|
|
</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
- {{ $row->year_month }}
|
|
|
+ {{ $row->start_date }}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{ $row->number_of_days_with_remote_measurements }}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ @if($row->mostRecentMcpNote)
|
|
|
+ <a href="{{route('patients.view.notes.view.dashboard',['patient'=>$row->patient, 'note'=>$row->mostRecentMcpNote])}}">{{$row->most_recent_mcp_note_date}}</a>
|
|
|
+ @else
|
|
|
+ --
|
|
|
+ @endif
|
|
|
</td>
|
|
|
+ <td>{{$row->days_between_most_recent_mcp_note_date_and_end_of_care_month}}</td>
|
|
|
<td>
|
|
|
- {{ $row->num_of_days_with_measurement }}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <b>{{ implode(", ", [$row->mcp_pro_lname, $row->mcp_pro_fname]) }}</b>
|
|
|
- </td>
|
|
|
+ <b>{{ implode(", ", [$row->mcp->name_first, $row->mcp->name_last]) }}</b>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
</tbody>
|
|
|
</table>
|
|
|
+ <div>
|
|
|
+ {{$rows->links()}}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|