Răsfoiți Sursa

Dx wiz: "Review" => "HPI"

Vijayakrishnan 3 ani în urmă
părinte
comite
8fc6be96cf

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

@@ -38,7 +38,7 @@ $ccSegment = $note->getSegmentByInternalName('chief_complaint');
                 <th class="border-bottom-0 text-secondary">Edit</th>
                 <th class="border-bottom-0 text-secondary">Started</th>
                 <th class="border-bottom-0 text-secondary">Ended</th>
-                <th class="border-bottom-0 text-secondary w-25">Review</th>
+                <th class="border-bottom-0 text-secondary w-25">HPI</th>
                 <th class="border-bottom-0 text-secondary w-25">Plan</th>
             </tr>
             </thead>
@@ -163,7 +163,7 @@ $ccSegment = $note->getSegmentByInternalName('chief_complaint');
 
                             @endif
 
-                            @include('app.patient.wizard-partials.common-fields', ['label' => 'problem', 'point' => $problem])
+                            @include('app.patient.wizard-partials.common-fields', ['label' => 'problem', 'point' => $problem, 'reviewLabel' => 'HPI'])
 
                             <div class="mt-3 pt-2 d-flex align-items-center border-top">
                                 <button type="submit" class="btn-save-problem btn btn-sm btn-primary mr-2">Save</button>
@@ -275,7 +275,7 @@ $ccSegment = $note->getSegmentByInternalName('chief_complaint');
                             </div>
 
                             <?php $point = null; ?>
-                            @include('app.patient.wizard-partials.common-fields', ['label' => 'problem'])
+                            @include('app.patient.wizard-partials.common-fields', ['label' => 'problem', 'reviewLabel' => 'HPI'])
 
                         </div>
                         <div class="col-5 border-left">

+ 2 - 2
resources/views/app/patient/wizard-partials/common-fields.blade.php

@@ -155,11 +155,11 @@
         }
         ?>
         <div class="mb-2">
-            <label class="text-sm mb-1">Review</label>
+            <label class="text-sm mb-1">{{@$reviewLabel ? $reviewLabel : 'Review'}}</label>
             <?php if($previousValue): ?>
             <div class="mb-2">
                 <div class="d-flex align-items-baseline mb-1">
-                    <span class="text-sm text-secondary">Previous Review / <?= friendlier_date($previousChildReview->created_at) ?>) (click to copy)</span>
+                    <span class="text-sm text-secondary">Previous {{@$reviewLabel ? $reviewLabel : 'Review'}} / <?= friendlier_date($previousChildReview->created_at) ?>) (click to copy)</span>
                 </div>
                 <div class="p-2 bg-light border inline-html-container click-to-copy"><?= $previousValue ?></div>
             </div>