Browse Source

Covid follow up markup fix

Vijayakrishnan 3 years ago
parent
commit
1d55226171

BIN
resources/views/app/patient/segment-templates/covid_follow-up/.edit.blade.php.swp


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

@@ -225,7 +225,7 @@ if (!!@$point->data) {
                 <div class="mb-2">
                 <div class="mb-2">
                         <h6><b>CDC: Coping with Stress - Mental Health Screening</b></h6>
                         <h6><b>CDC: Coping with Stress - Mental Health Screening</b></h6>
                         <div class="mb-3">
                         <div class="mb-3">
-                                <label>Have you received printed materials from the CDC “<b>Coping with Stress</b>”.</label>                                
+                                <label>Have you received printed materials from the CDC “<b>Coping with Stress</b>”.</label>
                                 <div class="d-inline-flex ml-2 align-items-baseline pt-1">
                                 <div class="d-inline-flex ml-2 align-items-baseline pt-1">
                                         <label class="my-0 mr-3 d-flex align-items-center">
                                         <label class="my-0 mr-3 d-flex align-items-center">
                                                 <input type="radio" data-name="ans_has_received_printed_cdc_mental_health_matrials" name="ans_has_received_printed_cdc_mental_health_matrials" {{@$contentData['ans_has_received_printed_cdc_mental_health_matrials'] && @$contentData['ans_has_received_printed_cdc_mental_health_matrials'] === 'yes' ? 'checked' : ''}} value="yes">
                                                 <input type="radio" data-name="ans_has_received_printed_cdc_mental_health_matrials" name="ans_has_received_printed_cdc_mental_health_matrials" {{@$contentData['ans_has_received_printed_cdc_mental_health_matrials'] && @$contentData['ans_has_received_printed_cdc_mental_health_matrials'] === 'yes' ? 'checked' : ''}} value="yes">

+ 28 - 29
resources/views/app/patient/segment-templates/covid_follow-up/summary.blade.php

@@ -70,13 +70,13 @@ if (!!@$point->data) {
     <div class="mb-2">
     <div class="mb-2">
         <label>Asked patient if they have already signed up for government supplied COVID-19 home diagnostic kits? Patient replied:</label>
         <label>Asked patient if they have already signed up for government supplied COVID-19 home diagnostic kits? Patient replied:</label>
         @if(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'yes')
         @if(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'yes')
-        <?= segment_template_summary_value_display('Yes') ?>
+        {{segment_template_summary_value_display('Yes') }}
         @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'no')
         @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'no')
-        <?= segment_template_summary_value_display('No') ?>
+        {{segment_template_summary_value_display('No') }}
         @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'not_sure')
         @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'not_sure')
-        <?= segment_template_summary_value_display('Not Sure') ?>
+        {{segment_template_summary_value_display('Not Sure') }}
         @else
         @else
-        <?= segment_template_summary_value_display('') ?>
+        {{segment_template_summary_value_display('') }}
         @endif
         @endif
     </div>
     </div>
 
 
@@ -84,13 +84,13 @@ if (!!@$point->data) {
     <div class="mb-2">
     <div class="mb-2">
         <label>Asked patient if we can apply on CovidTests.gov for them? Patient replied:</label>
         <label>Asked patient if we can apply on CovidTests.gov for them? Patient replied:</label>
         @if(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'yes')
         @if(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'yes')
-        <?= segment_template_summary_value_display('Yes') ?>
+        {{segment_template_summary_value_display('Yes') }}
         @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'no')
         @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'no')
-        <?= segment_template_summary_value_display('No') ?>
+        {{segment_template_summary_value_display('No') }}
         @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'not_sure')
         @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'not_sure')
-        <?= segment_template_summary_value_display('Not Sure') ?>
+        {{segment_template_summary_value_display('Not Sure') }}
         @else
         @else
-        <?= segment_template_summary_value_display('') ?>
+        {{segment_template_summary_value_display('') }}
         @endif
         @endif
     </div>
     </div>
     @endif
     @endif
@@ -146,15 +146,14 @@ if (!!@$point->data) {
         </ul>
         </ul>
     </div>
     </div>
 
 
-        @if(@$contentData['ans_has_answered_all_covid_19_questions'] == 'yes')
     <div class="mb-2">
     <div class="mb-2">
-        <label>Answered all questions relating to COVID-19.</label>
-        <?= segment_template_summary_value_display('Patient verbalizes understanding.') ?>
+        @if(@$contentData['ans_has_answered_all_covid_19_questions'] == 'yes')
+            <label>Answered all questions relating to COVID-19.</label>
+            {{segment_template_summary_value_display('Patient verbalizes understanding.')}}
         @elseif(@$contentData['ans_has_answered_all_covid_19_questions'] == 'no')
         @elseif(@$contentData['ans_has_answered_all_covid_19_questions'] == 'no')
-        @else
-        <?= segment_template_summary_value_display('') ?>
-    </div>
+
         @endif
         @endif
+    </div>
 
 
     <div class="mb-2">
     <div class="mb-2">
         <h6><b><u>CDC: Coping with Stress - Mental Health Screening</b></u></h6>
         <h6><b><u>CDC: Coping with Stress - Mental Health Screening</b></u></h6>
@@ -183,12 +182,12 @@ if (!!@$point->data) {
 
 
     <div class="mb-2">
     <div class="mb-2">
         <label>Asked patient, how are you doing regarding stress? Patient replied:</label>
         <label>Asked patient, how are you doing regarding stress? Patient replied:</label>
-        <?= segment_template_summary_value_display(@$contentData['ans_how_patient_is_doing_regarding_stress']) ?>
+        {{segment_template_summary_value_display(@$contentData['ans_how_patient_is_doing_regarding_stress'])}}
     </div>
     </div>
 
 
     <div class="mb-2">
     <div class="mb-2">
         <label>Conducted PHQ-2 with patient. Patient score is:</label>
         <label>Conducted PHQ-2 with patient. Patient score is:</label>
-        <?= segment_template_summary_value_display(@$contentData['total_phq2']) ?>
+        {{segment_template_summary_value_display(@$contentData['total_phq2'])}}
     </div>
     </div>
 
 
     @if((int) @$contentData['total_phq2'] > 3)
     @if((int) @$contentData['total_phq2'] > 3)
@@ -250,9 +249,9 @@ if (!!@$point->data) {
                 <ul>
                 <ul>
                 @foreach($healthyWaysOptions as $hOptionKey => $hOptionLabel)
                 @foreach($healthyWaysOptions as $hOptionKey => $hOptionLabel)
                     @if(@$contentData[$hOptionKey])
                     @if(@$contentData[$hOptionKey])
-                    <li>{{ $hOptionLabel }}</li>
+                        <li>{{ $hOptionLabel }}</li>
                     @endif
                     @endif
-                    @endforeach
+                @endforeach
                 </ul>
                 </ul>
             </li>
             </li>
             @endif
             @endif
@@ -261,18 +260,18 @@ if (!!@$point->data) {
 
 
 	<hr class="my-3">
 	<hr class="my-3">
 
 
-                <div class="mb-2">
-                   <label class="mb-1">Asked patient top three wishes for health. They replied:</label>
-                                     <div class="mt-1">1. {{@$contentData ['top_wish_1']}}</div>
-                                     <div class="mt-1">2. {{@$contentData ['top_wish_2']}}</div>
-                                     <div class="mt-1">3. {{@$contentData ['top_wish_3']}}</div>
-                         </div>
-        <hr class="my-3">
+    <div class="mb-2">
+        <label class="mb-1">Asked patient top three wishes for health. They replied:</label>
+        <div class="mt-1">1. {{@$contentData ['top_wish_1']}}</div>
+        <div class="mt-1">2. {{@$contentData ['top_wish_2']}}</div>
+        <div class="mt-1">3. {{@$contentData ['top_wish_3']}}</div>
+    </div>
+    <hr class="my-3">
 
 
-                <div class="mb-2">
-                   <label class="mb-1">Next follow-up for:</label>
-                                     {{@$contentData ['follow_up_for']}}
-                         </div>
+    <div class="mb-2">
+        <label class="mb-1">Next follow-up for:</label>
+        {{@$contentData ['follow_up_for']}}
+    </div>
 
 
     @if(@$contentData['ans_hypertension_rpm_education'])
     @if(@$contentData['ans_hypertension_rpm_education'])
     <h6 class="d-none"><b><u>OPTIONAL: Election to enroll into hypertension RPM: (Requires H&P)</u></b></h6>
     <h6 class="d-none"><b><u>OPTIONAL: Election to enroll into hypertension RPM: (Requires H&P)</u></b></h6>

+ 12 - 16
resources/views/app/patient/segment-templates/covid_intake/edit.blade.php

@@ -181,10 +181,6 @@ if (!!@$point->data) {
             So it'll be my responsibility to ensure that you know exactly how to use the kit once you get it.
             So it'll be my responsibility to ensure that you know exactly how to use the kit once you get it.
         </div>
         </div>
 
 
-	<div class="mb-2>
-	    DialMD
-	</div>
-
         <div class="mb-2">
         <div class="mb-2">
             <label class="mb-1">Have you ever worked with a nurse practitioner before?</label>
             <label class="mb-1">Have you ever worked with a nurse practitioner before?</label>
             <div class="d-inline-flex ml-2 align-items-baseline pt-1">
             <div class="d-inline-flex ml-2 align-items-baseline pt-1">
@@ -736,14 +732,14 @@ if (!!@$point->data) {
 
 
         <hr class="my-3">
         <hr class="my-3">
 
 
-	<div class="ml-3 mb-3">
+	    <div class="ml-3 mb-3">
             <label class="mb-2 d-flex align-items-center">
             <label class="mb-2 d-flex align-items-center">
                 <input type="checkbox" data-name="ans_cdc_push" {{@$contentData['ans_vaccine_push'] ? 'checked' : ''}} class="mr-2">
                 <input type="checkbox" data-name="ans_cdc_push" {{@$contentData['ans_vaccine_push'] ? 'checked' : ''}} class="mr-2">
                 <span class="ml-2">Educated patient that self-monitoring is not a replacement for following CDC guidelines re: vaccines, mask-wearing, and social distancing; <strong>CDC guidelines re: vaccines, masks, and social distancing are the most effective strategy to reduce COVID-19 risk.</strong>.</span>
                 <span class="ml-2">Educated patient that self-monitoring is not a replacement for following CDC guidelines re: vaccines, mask-wearing, and social distancing; <strong>CDC guidelines re: vaccines, masks, and social distancing are the most effective strategy to reduce COVID-19 risk.</strong>.</span>
             </label>
             </label>
         </div>
         </div>
         
         
-	<p><b>Vaccine Status:</b></p>
+	    <p><b>Vaccine Status:</b></p>
 
 
         <div class="ml-3 mb-3">
         <div class="ml-3 mb-3">
             <label class="mb-2 d-flex align-items-center">
             <label class="mb-2 d-flex align-items-center">
@@ -798,17 +794,17 @@ if (!!@$point->data) {
             </label>
             </label>
         </div>
         </div>
 
 
-	<p><b>Printed material to be sent:</b></p>
+	    <p><b>Printed material to be sent:</b></p>
         <div class="ml-3 mb-3">
         <div class="ml-3 mb-3">
-	    <label class="mb-2 d-flex align-items-center">
-                <input type="checkbox" data-name="ans_cdc_guidelines_aarp_mental_health" {{@$contentData['ans_cdc_guidelines_aarp_mental_health'] ? 'checked' : ''}} class="mr-2">
-                <span class="ml-2">CDC "How to Protect Yourself & Others" & AARP mental health / COVID alert</span>
-            </label>
-	    <label class="mb-2 d-flex align-items-center">
-                <input type="checkbox" data-name="ans_follow_up_scheduled" {{@$contentData['ans_follow_up_scheduled'] ? 'checked' : ''}} class="mr-2">
-                <span class="ml-2">Follow-up scheduled</span>
-            </label>
-	</div>
+            <label class="mb-2 d-flex align-items-center">
+                    <input type="checkbox" data-name="ans_cdc_guidelines_aarp_mental_health" {{@$contentData['ans_cdc_guidelines_aarp_mental_health'] ? 'checked' : ''}} class="mr-2">
+                    <span class="ml-2">CDC "How to Protect Yourself & Others" & AARP mental health / COVID alert</span>
+                </label>
+            <label class="mb-2 d-flex align-items-center">
+                    <input type="checkbox" data-name="ans_follow_up_scheduled" {{@$contentData['ans_follow_up_scheduled'] ? 'checked' : ''}} class="mr-2">
+                    <span class="ml-2">Follow-up scheduled</span>
+                </label>
+        </div>
 
 
         <div class="mb-3">
         <div class="mb-3">
             <label class="mb-1"><b>Total minutes  spent on this visit counseling or educating a patient or caregiver, documentation, and care coordination.</b></label>
             <label class="mb-1"><b>Total minutes  spent on this visit counseling or educating a patient or caregiver, documentation, and care coordination.</b></label>