Bladeren bron

added claims resolver view

unknown 4 jaren geleden
bovenliggende
commit
bf1bf68a19
1 gewijzigde bestanden met toevoegingen van 15 en 5 verwijderingen
  1. 15 5
      resources/views/app/patient/claims-resolver.blade.php

+ 15 - 5
resources/views/app/patient/claims-resolver.blade.php

@@ -19,6 +19,9 @@
             <th>Loop check</th>
             <th>Signed By HCP?</th>
             <th>Content</th>
+            <th>
+                Difference
+            </th>
             <th></th>
         </tr>
         </thead>
@@ -52,7 +55,17 @@
                 $daysSinceLastNoteByThisHcp = $lastVisitWithHcp ? (strtotime($d) - strtotime($lastVisitWithHcp)) / (60 * 60 * 24) : null;
 
                 $daysSinceLastMcpTypeVisit = $note->hcpPro->is_enrolled_as_mcp && $loopLastDateSeenByMcpTypePro ? (strtotime($d) - strtotime($loopLastDateSeenByMcpTypePro)) / (60 * 60 * 24) : null;
-                ?>
+
+                // content
+
+                $content = null;
+                ob_start();
+                foreach($note->sections as $section){
+                    echo $section->summary_html;
+                    echo '<hr>';
+                }
+                $content = ob_get_clean();
+        ?>
         <tr>
             <td>
                 {{ $note->hcpPro->displayName() }}
@@ -86,10 +99,7 @@
             </td>
             <td>
                 <div style="max-height: 200px; overflow-y: auto;">
-                    @foreach($note->sections as $section)
-                        {!! $section->summary_html !!}
-                    @endforeach
-                        <hr>
+                    {!! $content !!}
                 </div>
             </td>
             <td></td>