Peter Muturi hace 1 año
padre
commit
127a31ace6

+ 1 - 1
public/css/style.css

@@ -64,7 +64,7 @@
     background-color: #ffc10755 !important;
 }
 .bg-success-mellow {
-    background-color: #86c97e !important;
+    background-color: #c6e8c3 !important;
 }
 .text-link {
     color: rgb(13, 89, 175) !important;

+ 2 - 2
resources/views/app/patient/care-month/partials/tier-explainer.blade.php

@@ -1,6 +1,6 @@
-@if (!determineTier($careMonth))
+@if ($careMonth->tier() !== 'TIER_2')
 <div class="on-hover-show d-inline-block on-hover-opaque">
-        <i class="fa fa-info-circle"></i>
+        <i class="fa fa-info-circle text-muted"></i>
     <div class="on-hover-content p-2 text-dark width-200px">
         @if (!$careMonth->tier())
             <h5 class="mb-2 font-weight-bold">Goal Qualification:</h5>

+ 2 - 0
resources/views/app/practice-management/remote-monitoring-row-markup-by-pro-type.blade.php

@@ -216,6 +216,8 @@
                                 </div>
                             </form>
                         </div>
+                        <span class="mx-1">|</span>
+                        @include('app.patient.care-month.partials.tier-explainer', ['careMonth' => $careMonth])
                     @endif
                 @else
                     <div class="font-weight-bold">

+ 15 - 1
resources/views/app/practice-management/remote-monitoring-row-markup-for-admin.blade.php

@@ -1,5 +1,5 @@
 <?php $lastVisitWithinDays = !is_null($iPatient->days_between_most_recent_mcp_note_date_and_end_of_care_month) && $iPatient->days_between_most_recent_mcp_note_date_and_end_of_care_month <= 120; ?>
-<tr data-client-uid="{{$iPatient->client_uid}}" data-care-month-uid="{{$iPatient->care_month_uid}}">
+<tr class="{{($careMonth->tier() === 'TIER_1' && !$careMonth->mcpRmGenericBill) ? 'bg-warning-mellow' : (($careMonth->tier() == 'TIER_2' && !$careMonth->mcpRmGenericBill) ? 'bg-success-mellow' : '')}}" data-client-uid="{{$iPatient->client_uid}}" data-care-month-uid="{{$iPatient->care_month_uid}}">
     <td>{{ $trIndex + 1 }}</td>
     <td>{{friendly_month_short($iPatient->start_date)}}</td>
     <td>
@@ -195,4 +195,18 @@
             @endif
         @endif
     </td>
+    <td>
+      @if($careMonth->tier())
+        <i class="fa fa-check text-success"></i>
+      @else
+         -
+      @endif
+    </td>
+    <td>
+      @if($careMonth->tier() == 'TIER_2')
+        <i class="fa fa-check text-success"></i>
+      @else
+         -
+      @endif
+    </td>
 </tr>

+ 7 - 2
resources/views/app/practice-management/rpm-matrix-for-admin-table.blade.php

@@ -41,16 +41,21 @@
                 <th class="border-0">@include('app.practice-management._sort_header_multi_v2', ['route' => route("practice-management.rpm-matrix-admin"), 'label' => 'Done<br>457', 'key' => 'is_99457_claimed'])</th>
                 <th class="border-0">@include('app.practice-management._sort_header_multi_v2', ['route' => route("practice-management.rpm-matrix-admin"), 'label' => 'Can<br>458', 'key' => 'is_99458_claimable'])</th>
                 <th class="border-0">@include('app.practice-management._sort_header_multi_v2', ['route' => route("practice-management.rpm-matrix-admin"), 'label' => 'Done<br>458', 'key' => 'is_99458_claimed'])</th>
+                <th class="border-0 text-secondary">Tier<br>1</th>
+                <th class="border-0 text-secondary">Tier<br>2</th>
             </tr>
             </thead>
             <tbody>
             <?php $trIndex = 0; ?>
             @foreach ($patients as $iPatient)
-                @include('app.practice-management.remote-monitoring-row-markup-for-admin')
+                @php
+                $careMonth = \App\Models\CareMonth::where('uid', $iPatient->care_month_uid)->first();
+                @endphp
+                @include('app.practice-management.remote-monitoring-row-markup-for-admin', ['careMonth'=> $careMonth])
                 <?php $trIndex++; ?>
             @endforeach
             </tbody>
         </table>
     </div>
-  
+
 </div>

+ 11 - 1
resources/views/app/practice-management/rpm-matrix-for-admin.blade.php

@@ -525,7 +525,7 @@
             <?php $rc = request()->input('rc') ? request()->input('rc') : 1; ?>
 
             <div class="card-body p-0">
-                <div class="d-flex align-items-baseline p-2 border-bottom">
+                <div class="d-flex align-items-center p-2 border-bottom">
                     <div class="d-inline-flex align-items-baseline" tab-links="">
                         <a class="{{ !request()->input('not-enrolled') ? 'tab-link-active' : '' }} text-dark c-pointer"
                            onclick="$('[name=not-enrolled]').val(''); return fastLoad('{{route('practice-management.rpm-matrix-admin')}}?' + $('#rpm-matrix-filter').serialize());"
@@ -534,6 +534,16 @@
                            onclick="$('[name=not-enrolled]').val('1'); return fastLoad('{{route('practice-management.rpm-matrix-admin')}}?' + $('#rpm-matrix-filter').serialize());"
                            tab-link="no-rpm">Not Enrolled in RPM</a>
                     </div>
+                    <div class="ml-3">
+                      <div class="d-flex align-items-baseline">
+                        <div class="py-1 px-2 bg-warning-mellow border mr-1"></div>
+                        <span>- Tier 1 qualified / not billed.</span>
+                      </div>
+                      <div class="d-flex align-items-baseline">
+                        <div class="py-1 px-2 bg-success-mellow border mr-1"></div>
+                        <span>- Tier 2 qualified / not billed.</span>
+                      </div>
+                    </div>
                     @if($paginator->total() || true)
                         <div class="d-inline-flex align-items-baseline ml-auto mb-0-pagination">
                             <div class="mr-2"><b>{{$paginator->firstItem()}}</b> to <b>{{$paginator->lastItem()}}</b> (page {{$paginator->currentPage()}}) of <b>{{$paginator->total()}}</b> care months</div>