Jelajahi Sumber

Segment summaries UI updates

Vijayakrishnan 3 tahun lalu
induk
melakukan
92172eb7c2

+ 3 - 3
resources/views/app/patient/segment-templates/intake_allergies/summary.blade.php

@@ -39,8 +39,8 @@ $plural = 'Allergies';
                     
                 </div>
 		    </td>
-            <td class="px-2 width-300px">
-                <div class="">
+            <td class="width-300px">
+                <div class="pl-3">
                     <?php $review = $point->childReviewAddedInNote($note); ?>
                     <?php if(!!$review): ?>
                             <span>{!! $review->data->value !!}</span>
@@ -48,7 +48,7 @@ $plural = 'Allergies';
                         <div class="relevant-without-review text-warning-mellow mt-1 text-sm" data-target-segment="<?= $segment->segmentTemplate->internal_name ?>"><i class="fa fa-exclamation-triangle mr-1"></i>Subjective missing</div>
                     <?php endif; ?>
                 </div>	
-                <div>
+                <div class="pl-3">
                     <?php if ($point->is_removed): ?>
                             @if($point->removal_reason_category === 'DURING_VISIT')
                                 <span class="text-sm text-secondary">Removed during visit</span>

+ 3 - 3
resources/views/app/patient/segment-templates/intake_medications/summary.blade.php

@@ -34,8 +34,8 @@ $plural = 'Medications';
 				<?= !!@($point->data->name) ? @($point->data->name) : '-' ?>
 			</div>
 		</td>
-		<td class="px-2 width-300px">
-			<div class="">
+		<td class="width-300px">
+			<div class="pl-3">
 				<?php $review = $point->childReviewAddedInNote($note); ?>
 				<?php if(!!$review): ?>
 					<div class="d-flex align-items-baseline">
@@ -45,7 +45,7 @@ $plural = 'Medications';
 					<div class="relevant-without-review text-warning-mellow mt-1 text-sm" data-target-segment="<?= $segment->segmentTemplate->internal_name ?>"><i class="fa fa-exclamation-triangle mr-1"></i>Subjective missing</div>
 				<?php endif; ?>
 			</div>
-			<div class="d-flex align-items-baseline">
+			<div class="pl-3 d-flex align-items-baseline">
 				<?php if ($point->is_removed): ?>
 					@if($point->removal_reason_category === 'DURING_VISIT')
 						<span class="text-sm text-secondary">Removed during visit</span>

+ 0 - 1
resources/views/app/patient/segment-templates/plan_allergies/summary.blade.php

@@ -47,7 +47,6 @@ $plural = 'Allergies';
                 <div>
                     <?php if(!!$plan): ?>
                         <div class="pl-3 mt-1 d-flex align-items-baseline">
-                            <span class="text-secondary font-weight-bold mr-2">Plan:</span>
                             <span>{!! $plan->data->value !!}</span>
                         </div>
                     <?php elseif($rel): ?>

+ 7 - 7
resources/views/app/patient/segment-templates/plan_care_team/summary.blade.php

@@ -40,27 +40,27 @@ $plural = 'Care team members';
                 </div>
             </td>
             <td class="px-2 width-300px">
-                <div>
+                <div class="pl-3">
                     <?php if(!!$plan): ?>
-                        <div class="pl-3 mt-1 d-flex align-items-baseline">
+                        <div class="mt-1 d-flex align-items-baseline">
                             <span>{!! $plan->data->value !!}</span>
                         </div>
                     <?php elseif($rel): ?>
                         <div class="relevant-without-plan text-warning-mellow text-sm mt-1" data-target-segment="<?= $segment->segmentTemplate->internal_name ?>"><i class="fa fa-exclamation-triangle mr-1"></i>Plan missing</div>
                     <?php endif; ?>
                 </div>
-                <div class="d-flex align-items-baseline">
+                <div class="pl-3 d-flex align-items-baseline">
                     <?php if ($point->is_removed): ?>
                         @if($point->removal_reason_category === 'DURING_VISIT')
-                            <span class="ml-2 text-sm text-secondary">Removed during visit</span>
+                            <span class="mt-1 text-sm text-secondary">Removed during visit</span>
                         @elseif($point->removal_reason_category === 'ON_INTAKE')
-                            <span class="ml-2 text-sm text-secondary">Removed on intake</span>
+                            <span class="mt-1 text-sm text-secondary">Removed on intake</span>
                         @endif
                     <?php elseif ($point->added_in_note_id === $note->id): ?>
                         <?php if ($point->addition_reason_category === 'DURING_VISIT'): ?>
-                            <span class="ml-2 text-sm text-success">* Added during visit</span>
+                            <span class="mt-1 text-sm text-success">* Added during visit</span>
                         <?php else: ?>
-                            <span class="ml-2 text-sm text-info">* Added on intake</span>
+                            <span class="mt-1 text-sm text-info">* Added on intake</span>
                         <?php endif;?>
                     <?php endif; ?>
                 </div>