فهرست منبع

Added remarks textarea & summary display

Samson Mutunga 3 سال پیش
والد
کامیت
c5c0811090

+ 11 - 4
resources/views/app/patient/segment-templates/covid_follow-up/edit.blade.php

@@ -39,7 +39,8 @@ $contentData = [
 	"top_wish_1" => null,
 	"top_wish_2" => null,
 	"top_wish_3" => null,
-	"follow_up_for" => null
+	"follow_up_for" => null,
+    "remarks" => null,
 ];
 
 if ($point->lastChildReview && $point->lastChildReview->data) {
@@ -411,9 +412,15 @@ $submitFormUrl = '/api/visitPoint/upsertChildReview';
 	<hr class="my-3">
 
 		<div class="mb-2">
-                   <label class="mb-1">Next follow-up for:</label>
-                                     <input type="text" data-name="follow_up_for" value="{{@$contentData        ['follow_up_for']}}" class="form-control form-control-sm d-inline-block w-auto ml-2">
-                         </div>
+            <label class="mb-1">Next follow-up for:</label>
+                <input type="text" data-name="follow_up_for" value="{{@$contentData        ['follow_up_for']}}" class="form-control form-control-sm d-inline-block w-auto ml-2">
+        </div>
+    <hr class="my-3">
+    <div class="mb-3">
+            <label class="mb-1">Remarks</label>
+            <textarea data-name="remarks" class="form-control form-control-sm" rows="2">{{ @$contentData['remarks'] }}</textarea>
+        </div>
+        
 
 	<hr class="my-3">
 

+ 9 - 0
resources/views/app/patient/segment-templates/covid_follow-up/summary.blade.php

@@ -36,6 +36,7 @@ $contentData = [
     "cdc_stress_emphasis_physical_reactions" => null,
     "cdc_stress_emphasis_coping_with_stress" => null,
     "ans_hypertension_rpm_education" => null,
+    "remarks" => null,
 
 ];
 
@@ -305,4 +306,12 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
         <p>Educated patient regarding AHA position statement on HTN & RPM, educated about availability of CCM, informed patient about importance as per AHA position statement. Patient consents to RPM.</p>
         <p>Remote patient monitoring (RPM) can empower patients to better manage their health and participate in their health care. When used by clinicians, RPM can provide a more holistic view of a patient’s health over time, increase visibility into a patient’s adherence to a treatment, and enable timely intervention before a costly care episode. Clinicians can strengthen their relationships with, and improve the experience of, their patients by using the data sent to them via RPM to develop a personalized care plan and to engage in joint decision-making to foster better outcomes. The American Heart Association supports initiatives that increase access to and incentivize the appropriate design and use of evidence-based remote patient monitoring technologies.</p>
     @endif
+
+    @if(@$contentData['remarks'])
+        <div class="mb-3">
+            <label class="font-weight-bold">Remarks:</label>
+            <div class="border p-3"><?= nl2br(@$contentData['remarks']) ?></div>      
+        </div>
+    @endif
+
 </div>

+ 7 - 1
resources/views/app/patient/segment-templates/covid_intake/edit.blade.php

@@ -130,6 +130,7 @@ $contentData = [
     "ans_edu_provided_use_of_smd" => null, // checkbox
     "ans_edu_provided_asymptomatic_hypoxia" => null, // checkbox
     "ans_edu_provided_cdc_guidelines" => null, // checkbox
+    "remarks" => null,
 
 ];
 
@@ -807,12 +808,17 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                 </label>
         </div>
 
-        <div class="mb-3">
+        <div class="mb-2">
             <label class="mb-1"><b>Total minutes  spent on this visit counseling or educating a patient or caregiver, documentation, and care coordination.</b></label>
             <input type="text" data-name="ans_total_mins_spent" value="{{@$contentData['ans_total_mins_spent']}}" class="form-control form-control-sm">
             <small class="d-none">Over 50% of this time was directed towards counseling and education.</small>
         </div>
 
+        <div class="mb-3">
+            <label class="mb-1">Remarks</label>
+            <textarea data-name="remarks" class="form-control form-control-sm" rows="2">{{ @$contentData['remarks'] }}</textarea>
+        </div>
+
         <div class="pt-2">
             <button submit class="btn btn-sm btn-primary mr-2"><i class="fa fa-save"></i></button>
             <div class="d-inline-flex align-self-stretch align-items-center">

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

@@ -112,7 +112,8 @@ $contentData = [
     "ans_plan_ls_patient_elects_supervised_ls_mods" => null, // checkbox
     "ans_plan_ls_explained_exercise_risks" => null, // checkbox
     "ans_plan_ls_instructed_bp_random_times_daily" => null, // checkbox,
-    "ans_total_mins_spent" => ''
+    "ans_total_mins_spent" => '',
+    "remarks" => null,
 
 ];
 
@@ -437,7 +438,13 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
         @endif
     </div>
     <div class="mb-3">
-        <label>A total of <?= segment_template_summary_value_display(@$contentData['ans_total_mins_spent'], '', 'ml-0') ?> minutes was spent on this visit counseling or educating a patient or caregiver, documentation, and care coordination. Over 50% of this time was directed towards counseling and education.</label>
-        
+        <label>A total of <?= segment_template_summary_value_display(@$contentData['ans_total_mins_spent'], '', 'ml-0') ?> minutes was spent on this visit counseling or educating a patient or caregiver, documentation, and care coordination. Over 50% of this time was directed towards counseling and education.</label>        
     </div>
+    
+    @if(@$contentData['remarks'])
+        <div class="mb-3">
+            <label class="font-weight-bold">Remarks:</label>
+            <div class="border p-3"><?= nl2br(@$contentData['remarks']) ?></div>      
+        </div>
+    @endif
 </div>