Prechádzať zdrojové kódy

Dx wizard - Show active Rx list

Vijayakrishnan 3 rokov pred
rodič
commit
202358beaa

+ 1 - 1
resources/views/app/fdb-pg/dx-vigilance.blade.php

@@ -28,7 +28,7 @@ $contraindications = contraindications_info($drugs, [$pivotDx]);
 ?>
 
 @if(count($contraindications))
-    <div class="p-3 mb-3 mt-2 border bg-white mr-0">
+    <div class="p-3 mb-3 border bg-white mr-0">
         <p class="font-weight-bold m-0 font-size-14 text-info">Contraindications</p>
         @foreach($contraindications as $drug => $contraindication)
             <div class="mt-3">

+ 16 - 0
resources/views/app/patient/problems-center.blade.php

@@ -280,6 +280,22 @@ $ccSegment = $note->getSegmentByInternalName('chief_complaint');
 
                         </div>
                         <div class="col-4 border-left">
+
+                            <?php
+                            $medications = \App\Models\Point::getPointsOfCategory($patient, "MEDICATION");
+                            ?>
+                            @if(count($medications))
+                                <h6 class="my-0 font-weight-bold text-secondary mb-2">Active Medications</h6>
+                                <div class="bg-light border px-2 pt-2 pb-1 mb-0">
+                                    @foreach($medications as $medication)
+                                        <div class="mb-1">
+                                            <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
+                                        </div>
+                                    @endforeach
+                                </div>
+                                <hr class="my-3 m-neg-3">
+                            @endif
+
                             <div class="fdb-dx-vigilance max-height-400px overflow-auto">
 
                             </div>