Bläddra i källkod

Care month table columns

Samson Mutunga 1 år sedan
förälder
incheckning
0dba07ef5a

+ 23 - 0
resources/views/app/patient/care-months.blade.php

@@ -113,6 +113,8 @@
                 <th class="text-secondary border-bottom-0">MCP</th>
                 <th class="text-secondary border-bottom-0">RMM</th>
                 <th class="text-secondary border-bottom-0">RME</th>
+                <th class="text-secondary border-bottom-0">ICDs</th>
+                <th class="text-secondary border-bottom-0">Claims</th>
                 <th class="text-secondary border-bottom-0">Matrix</th>
             </tr>
             </thead>
@@ -140,6 +142,27 @@
                     <td>{{$careMonth->mcp ? $careMonth->mcp->displayName() : '-'}}</td>
                     <td>{{$careMonth->rmmPro ? $careMonth->rmmPro->displayName() : '-'}}</td>
                     <td>{{$careMonth->rmePro ? $careMonth->rmePro->displayName() : '-'}}</td>
+                    <td>
+                        <div class="d-flex flex-column">
+                            <?php $careMonthCmReasonCodes = $careMonth->cmReasons->pluck('code')->toArray(); ?>
+                            {{ implode(', ', $careMonthCmReasonCodes) }}
+                        </div>
+                        <div class="d-flex flex-column">
+                            <?php $careMonthRmReasonCodes = $careMonth->rmReasons->pluck('code')->toArray(); ?>
+                            {{ implode(', ', $careMonthRmReasonCodes) }}
+                        </div>
+                    </td>
+                    <td>
+                        @foreach($careMonth->claims as $claim)
+                            <?php
+                                $claimCpts = $claim->lines->pluck('cpt')->toArray();
+                            ?>
+                            <div>
+                                {{ friendly_date($claim->created_at) }} | ${{$claim->expected_total}} | CPTs: {{ implode(', ', $claimCpts) }} | {{$claim->status}}
+                                
+                            </div>
+                        @endforeach
+                    </td>
                     <td>
                         <a native target="_blank"
                            open-in-stag-popup

+ 0 - 1
resources/views/app/patient/note/lhs-tree.blade.php

@@ -48,7 +48,6 @@
     <hr>
     <div class="note-tree-node"><a native="" target="_top" data-non-segment-target="ICDs" href="#">Claim ICDs</a></div>
     <div class="note-tree-node"><a native="" target="_top" data-non-segment-target="Handouts" href="#">Handouts</a></div>
-    <div class="note-tree-node"><a native="" target="_top" data-non-segment-target="Sleep Study" href="#">Sleep Study</a></div>
     @if(!$note->is_non_medical || true)
     <div class="note-tree-node"><a native="" target="_top" data-non-segment-target="Prescriptions" href="#">ERx &amp; Orders</a></div>
     @endif