|
@@ -0,0 +1,169 @@
|
|
|
+@extends ('layouts/template')
|
|
|
+
|
|
|
+@section('content')
|
|
|
+<style>
|
|
|
+ #rm-action-report-filters label {
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+
|
|
|
+ #rm-action-report-filters .mw-100px {
|
|
|
+ min-width: 100px;
|
|
|
+ }
|
|
|
+ .filter-container{
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
+ .filter-container >div {
|
|
|
+ width: 165px;
|
|
|
+ }
|
|
|
+ .filter-container >div:not(:last-child) {
|
|
|
+ margin-right: 15px;
|
|
|
+ }
|
|
|
+ .sm-section {
|
|
|
+ width: 150px !important;
|
|
|
+ }
|
|
|
+ thead.border-bottom-0 tr th {
|
|
|
+ border-bottom: none;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<div id="rm-action-report" class="p-3 mcp-theme-1">
|
|
|
+ <div class="card">
|
|
|
+
|
|
|
+ <div class="card-header px-2 py-1 d-flex align-items-center">
|
|
|
+ <strong class="mr-4">
|
|
|
+ <i class="fas fa-user"></i>
|
|
|
+ Problems Report
|
|
|
+ </strong>
|
|
|
+ </div>
|
|
|
+ <div class="card-body p-0 border-0 table-responsive">
|
|
|
+ <div class="m-2">
|
|
|
+ <form method="GET" action="{{ route('practice-management.problems-report') }}">
|
|
|
+ <div class="d-flex align-items-baseline">
|
|
|
+ <div class="my-0 mr-2">
|
|
|
+ <!--<label class="font-weight-normal mb-1">DOS From</label>
|
|
|
+ <input name="f_start" type="date" class="form-control form-control-sm" value="{{request()->input('f_start')}}">
|
|
|
+ </div>
|
|
|
+ <div class="form-group my-0 mr-2">
|
|
|
+ <label class="font-weight-normal mb-1">DOS To</label>
|
|
|
+ <input name="f_end" type="date" class="form-control form-control-sm" value="{{request()->input('f_end')}}">-->
|
|
|
+ TODO
|
|
|
+ </div>
|
|
|
+ <div class="form-group m-0">
|
|
|
+ <label class="font-weight-normal mb-1"> </label>
|
|
|
+ <div class=" d-flex">
|
|
|
+ <button type="button" onclick="return fastLoad('{{ route('practice-management.problems-report') }}?' + $(this).closest('form').serialize())" class="btn btn-primary btn-sm mr-2"><i class="fas fa-filter"></i> Filter</button>
|
|
|
+ <a href="#" onclick="return fastLoad('{{ route('practice-management.problems-report') }}')" class="btn btn-link btn-sm text-danger">Clear Filters</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <table class="table table-sm table-striped table-bordered border-0 p-0 m-0">
|
|
|
+ <thead class="bg-light border-bottom-0">
|
|
|
+ <tr>
|
|
|
+ <th colspan="5"></th>
|
|
|
+ <th class="col-divider"></th>
|
|
|
+ <th class="text-secondary" colspan="3">Last Review</th>
|
|
|
+ <th class="col-divider"></th>
|
|
|
+ <th class="text-secondary" colspan="3">Last Plan</th>
|
|
|
+ <th rowspan="2" class="col-divider"></th>
|
|
|
+ <th rowspan="2" class="text-secondary">Review<br>Trail</th>
|
|
|
+ <th rowspan="2" class="text-secondary">Plan<br>Trail</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'Patient', 'key' => 'client_name'])</th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'DOB', 'key' => 'dob'])</th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'Provider', 'key' => 'mcp_name'])</th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'Problem', 'key' => 'problem'])</th>
|
|
|
+ <th class="text-nowrap">@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'ICD', 'key' => 'icd'])</th>
|
|
|
+ <th class="col-divider"></th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'Date', 'key' => 'last_review_date'])</th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'By', 'key' => 'last_review_by'])</th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'Content', 'key' => 'last_review_content'])</th>
|
|
|
+ <th class="col-divider"></th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'Date', 'key' => 'last_plan_date'])</th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'By', 'key' => 'last_plan_by'])</th>
|
|
|
+ <th>@include('app.practice-management._sort_header_multi', ['route' => route("practice-management.problems-report"), 'label' => 'Content', 'key' => 'last_plan_content'])</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ @foreach ($rows as $row)
|
|
|
+ <tr class="{{false ? 'bg-light' : ''}}">
|
|
|
+ <td class="">
|
|
|
+ <a href="/patients/view/{{$row->client_uid}}">
|
|
|
+ {{$row->client_name}}
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td class="text-nowrap">
|
|
|
+ {{$row->dob}}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{$row->mcp_name}}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div class="max-width-200px">
|
|
|
+ {{$row->problem}}
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{$row->icd}}
|
|
|
+ </td>
|
|
|
+ <td class="col-divider"></td>
|
|
|
+ <td class="text-nowrap">
|
|
|
+ {{$row->last_review_date}}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{$row->last_review_by}}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div class="inline-html-container max-width-200px max-height-200px overflow-overlay-on-hover">{!! $row->last_review_content !!}</div>
|
|
|
+ </td>
|
|
|
+ <td class="col-divider"></td>
|
|
|
+ <td class="text-nowrap">
|
|
|
+ {{$row->last_plan_date}}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{$row->last_plan_by}}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div class="inline-html-container max-width-200px max-height-200px overflow-overlay-on-hover">{!! $row->last_plan_content !!}</div>
|
|
|
+ </td>
|
|
|
+ <td class="col-divider"></td>
|
|
|
+ <td>
|
|
|
+ <a class="px-1 view-review-log"
|
|
|
+ native target="_blank"
|
|
|
+ open-in-stag-popup
|
|
|
+ popup-style="stag-popup-md"
|
|
|
+ title="Review log for {{$row->problem}}"
|
|
|
+ href="/point/review-log/{{$row->point_uid}}">
|
|
|
+ View
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <a class="px-1 view-plan-log"
|
|
|
+ native target="_blank"
|
|
|
+ open-in-stag-popup
|
|
|
+ popup-style="stag-popup-md"
|
|
|
+ title="Plan log for {{$row->problem}}"
|
|
|
+ href="/point/plan-log/{{$row->point_uid}}">
|
|
|
+ View
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="d-flex align-items-baseline mt-3">
|
|
|
+ {!! $paginator->withQueryString()->links() !!}
|
|
|
+ <div class="mb-3">
|
|
|
+ <div class="ml-4 mb-3">Showing <b>{{$paginator->firstItem()}}</b> to <b>{{$paginator->lastItem()}}</b> (page {{$paginator->currentPage()}}) of <b>{{$paginator->total()}}</b> problems</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+</div>
|
|
|
+
|
|
|
+@endsection
|