Browse Source

Merge branch 'dev' of rav.triplestart.com:jmudaka/stagfe2

root 3 years ago
parent
commit
356530748a

+ 38 - 0
public/css/style.css

@@ -2791,3 +2791,41 @@ body #vakata-dnd {
     font-size: 12px;
     background: rgba(240, 248, 255, 0.76);
 }
+
+.phq .btn-select {
+    padding: 5px 13px;
+    border-radius: 100%;
+}
+
+.phq .btn-blank {
+    opacity: .5;
+}
+
+.phq .btn-select:focus,
+.phq .btn-blank:focus {
+    box-shadow: none;
+}
+
+.phq .btn-select.active {
+    background-color: #28b4d9;
+    color: #fff;
+}
+
+.phq .plus {
+    position: relative;
+}
+
+.phq .plus::before {
+    content: '+';
+    position: absolute;
+    left: 0
+}
+
+.phq .table td,
+.phq .table th {
+    border-top-color: #000;
+}
+
+.phq .table thead th {
+    border-bottom: 0;
+}

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

@@ -1,14 +1,499 @@
-<div class="p-3 mb-0">
-        <ul class="mb-0">
-                <li><strong>Note to HCP:</strong> Every patient is so unique. Please complete a standard SOAP note / H&P. Key points to consider:</strong></li>
-		<li>How are you?</li>
-                <li>Did you receive the meters? Any issues?</li>
-                <li>Reiterate education about asymptomatic hypoxia and guidelines to check regularly.</li>
-                <li>If SpO2 drops slightly, call us or your PCP.</li>
-                <li>If SpO2 drops to 94, go straight to the ER, even if you feel fine.</li>
-                <li>How are you doing with your other conditions? H&P</li>
-                <li>How are you doing with stress? Stress really affects your blood pressure and even your blood sugar. COVID-19 has created so much stress in our lives, 7 in 10 adults now report anxiety or feelings of depression and isolation.</li>
-                <li>Review CDC printout / AARP mental health printout with headline "7 in 10 Older Adults Report Increased Feelings of Anxiety, Sadness and Depression Due to Coronavirus"</li>
-                <li><a target="_blank" native href="https://press.aarp.org/AARP-Survey-7-in-10-Older-Adults-Report-Increased-Feelings-of-Anxiety-Sadness-and-Depression-Due-to-Coronavirus">AARP Link</a></li>
-        </ul>
+<?php
+
+use App\Models\Point;
+
+$category = 'COVID_FOLLOW-UP';
+$endPoint = 'upsertNoteSingleton';
+
+$point = Point::getGlobalSingletonOfCategory($patient, $category, true);
+$contentData = [
+        "ans_has_received_printed_cdc_covid_matrials" => null, // yes/no
+        "ans_has_signed_up_for_gvt_covid_kit" => null, // yes/no/not_sure
+        "ans_apply_gvt_covid_kit_for_patient" => null, // yes/no/not_sure
+        "ans_has_reviewed_printed_cdc_covid_matrials" => null, // yes/no,
+        "cdc_self_protection_emphasis_vaccination" => null,
+        "cdc_self_protection_emphasis_mask_wearing" => null,
+        "cdc_self_protection_emphasis_mask_wearing" => null,
+        "cdc_self_protection_emphasis_social_distancing" => null,
+        "cdc_self_protection_emphasis_avoid_crowds" => null,
+        "cdc_self_protection_emphasis_test_appropriately" => null,
+        "cdc_self_protection_emphasis_wash_hands_often" => null,
+        "cdc_self_protection_emphasis_cover_coughs" => null,
+        "cdc_self_protection_emphasis_disinfect" => null,
+        "cdc_self_protection_emphasis_monitor_health_daily" => null,
+        "cdc_self_protection_emphasis_quarantine" => null,
+        "cdc_self_protection_emphasis_isolation" => null,
+        "cdc_self_protection_emphasis_travel_precaution" => null,
+        "ans_has_answered_all_covid_19_questions" => null,
+        "ans_has_received_printed_cdc_mental_health_matrials" => null, // yes/no
+        "ans_educated_patient_on_mental_health_screening" => null,
+        "ans_how_patient_is_doing_regarding_stress" => null,
+        "total_phq2" => null,
+        "phq_action_taken" => null,
+        "cdc_stress_emphasis_covid_19_effects" => null,
+        "cdc_stress_emphasis_stressful_challenges" => null,
+        "cdc_stress_emphasis_public_health_actions" => null,
+        "cdc_stress_emphasis_physical_reactions" => null,
+        "cdc_stress_emphasis_coping_with_stress" => null,
+        "ans_hypertension_rpm_education" => null,
+
+];
+
+if (!!@$point->data) {
+        $contentData = $point->data;
+}
+
+?>
+<div visit-moe close-on-save close-on-cancel class="d-block p-3">
+        <form id="visitNoteForm" show url="/api/visitPoint/<?= $endPoint ?>" class="mcp-theme-1">
+                <input type="hidden" name="segmentUid" value="<?= $segment->uid ?>">
+                <input type="hidden" name="category" value="<?= $category ?>">
+                <input id="mainData" type="hidden" name="data" value="{{json_encode($contentData)}}">
+
+
+                <div class="mb-2">
+                        <label class="mb-1">Have you received printed materials from CDC, “<b>How to Protect Yourself & Others</b>”?</label>
+                        <div class="d-inline-flex ml-2 align-items-baseline pt-1">
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_has_received_printed_cdc_covid_matrials" name="ans_has_received_printed_cdc_covid_matrials" {{@$contentData['ans_has_received_printed_cdc_covid_matrials'] && @$contentData['ans_has_received_printed_cdc_covid_matrials'] === 'yes' ? 'checked' : ''}} value="yes">
+                                        <span class="ml-1">Yes</span>
+                                </label>
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_has_received_printed_cdc_covid_matrials" name="ans_has_received_printed_cdc_covid_matrials" {{@$contentData['ans_has_received_printed_cdc_covid_matrials'] && @$contentData['ans_has_received_printed_cdc_covid_matrials'] === 'no' ? 'checked' : ''}} value="no">
+                                        <span class="ml-1">No</span>
+                                </label>
+                        </div>
+                </div>
+
+                <hr class="my-3">
+
+                <div class="mb-2">
+                        <label class="mb-1">Have you already signed up for government supplied COVID-19 home diagnostic kits?</label>
+                        <div class="d-inline-flex ml-2 align-items-baseline pt-1">
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_has_signed_up_for_gvt_covid_kit" name="ans_has_signed_up_for_gvt_covid_kit" {{@$contentData['ans_has_signed_up_for_gvt_covid_kit'] && @$contentData['ans_has_signed_up_for_gvt_covid_kit'] === 'yes' ? 'checked' : ''}} value="yes">
+                                        <span class="ml-1">Yes</span>
+                                </label>
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_has_signed_up_for_gvt_covid_kit" name="ans_has_signed_up_for_gvt_covid_kit" {{@$contentData['ans_has_signed_up_for_gvt_covid_kit'] && @$contentData['ans_has_signed_up_for_gvt_covid_kit'] === 'no' ? 'checked' : ''}} value="no">
+                                        <span class="ml-1">No</span>
+                                </label>
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_has_signed_up_for_gvt_covid_kit" name="ans_has_signed_up_for_gvt_covid_kit" {{@$contentData['ans_has_signed_up_for_gvt_covid_kit'] && @$contentData['ans_has_signed_up_for_gvt_covid_kit'] === 'no' ? 'checked' : ''}} value="not_sure">
+                                        <span class="ml-1">Not Sure</span>
+                                </label>
+                        </div>
+                </div>
+
+                <hr class="my-3">
+
+                <div class="mb-2">
+                        <label class="mb-1">Can we apply on CovidTests.gov for you?</label>
+                        <div class="d-inline-flex ml-2 align-items-baseline pt-1">
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_apply_gvt_covid_kit_for_patient" name="ans_apply_gvt_covid_kit_for_patient" {{@$contentData['ans_apply_gvt_covid_kit_for_patient'] && @$contentData['ans_apply_gvt_covid_kit_for_patient'] === 'yes' ? 'checked' : ''}} value="yes">
+                                        <span class="ml-1">Yes</span>
+                                </label>
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_apply_gvt_covid_kit_for_patient" name="ans_apply_gvt_covid_kit_for_patient" {{@$contentData['ans_apply_gvt_covid_kit_for_patient'] && @$contentData['ans_apply_gvt_covid_kit_for_patient'] === 'no' ? 'checked' : ''}} value="no">
+                                        <span class="ml-1">No</span>
+                                </label>
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_apply_gvt_covid_kit_for_patient" name="ans_apply_gvt_covid_kit_for_patient" {{@$contentData['ans_apply_gvt_covid_kit_for_patient'] && @$contentData['ans_apply_gvt_covid_kit_for_patient'] === 'no' ? 'checked' : ''}} value="not_sure">
+                                        <span class="ml-1">Not Sure</span>
+                                </label>
+                        </div>
+                </div>
+
+                <hr class="my-3">
+
+                <div class="mb-2">
+                        <div class="d-flex align-items-start">
+                                <label class="d-flex align-items-baseline mb-2">
+                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                <input type="checkbox" data-name="ans_has_reviewed_printed_cdc_covid_matrials" {{@($contentData['ans_has_reviewed_printed_cdc_covid_matrials'] ? 'checked' : '')}} cdc-stress-emphasis>
+                                        </div>
+                                        <span></span>
+                                </label>
+                                <label class="mr-3">Reviewed CDC "<b>How to Protect Yourself & Others</b>" with the patient
+                                        <br />
+                                        <a href="https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/prevention.html" target="_blank">https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/prevention.html</a>
+                                </label>
+                        </div>
+                </div>
+
+                <hr class="my-3">
+                <div class="mb-2">
+                        <div>
+                                <label> Emphasis placed on:</label>
+                        </div>
+
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_vaccination" {{@($contentData["cdc_self_protection_emphasis_vaccination"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Vaccination.</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_mask_wearing" {{@($contentData["cdc_self_protection_emphasis_mask_wearing"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Mask wearing.</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_social_distancing" {{@($contentData["cdc_self_protection_emphasis_social_distancing"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Social distancing.</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_avoid_crowds" {{@($contentData["cdc_self_protection_emphasis_avoid_crowds"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Avoid poorly ventilated spaces and crowds.</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_test_appropriately" {{@($contentData["cdc_self_protection_emphasis_test_appropriately"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Test appropriately</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_wash_hands_often" {{@($contentData["cdc_self_protection_emphasis_wash_hands_often"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Wash your hands often</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_cover_coughs" {{@($contentData["cdc_self_protection_emphasis_cover_coughs"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Cover coughs</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_disinfect" {{@($contentData["cdc_self_protection_emphasis_disinfect"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Clean and disinfect surfaces</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_monitor_health_daily" {{@($contentData["cdc_self_protection_emphasis_monitor_health_daily"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Monitor your health daily; Monitoring symptoms is especially important if you are running errands, going into the office or workplace, and in settings where it may be difficult to keep a physical distance of 6 feet.</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_quarantine" {{@($contentData["cdc_self_protection_emphasis_quarantine"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Follow recommendations for quarantine; If you come into close contact with someone with COVID-19: follow CDC’s recommendations for quarantine.</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_isolation" {{@($contentData["cdc_self_protection_emphasis_isolation"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Follow recommendations for isolation; If you test positive for COVID-19 or have symptoms: follow CDC’s recommendations for isolation.</span>
+                        </label>
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="cdc_self_protection_emphasis_travel_precaution" {{@($contentData["cdc_self_protection_emphasis_travel_precaution"] ? 'checked' : '')}} cdc-covid-emphasis>
+                                </div>
+                                <span>Take precautions when you travel; Follow CDC’s recommendations for domestic and international travel.</span>
+                        </label>
+                </div>
+
+                <hr class="my-3">
+                <div class="mb-2">
+                        <label class="mb-1">Answered all questions relating to COVID-19</label>
+                        <div class="d-inline-flex ml-2 align-items-baseline pt-1">
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_has_answered_all_covid_19_questions" name="ans_has_answered_all_covid_19_questions" {{@$contentData['ans_has_answered_all_covid_19_questions'] && @$contentData['ans_has_answered_all_covid_19_questions'] === 'yes' ? 'checked' : ''}} value="yes">
+                                        <span class="ml-1">Yes</span>
+                                </label>
+                                <label class="my-0 mr-3 d-flex align-items-center">
+                                        <input type="radio" data-name="ans_has_answered_all_covid_19_questions" name="ans_has_answered_all_covid_19_questions" {{@$contentData['ans_has_answered_all_covid_19_questions'] && @$contentData['ans_has_answered_all_covid_19_questions'] === 'no' ? 'checked' : ''}} value="no">
+                                        <span class="ml-1">No</span>
+                                </label>
+                        </div>
+                </div>
+
+                <hr class="my-3">
+                <div class="mb-2">
+                        <h6><b>CDC: Coping with Stress - Mental Health Screening</b></h6>
+                        <div class="mb-3">
+                                <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">
+                                        <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">
+                                                <span class="ml-1">Yes</span>
+                                        </label>
+                                        <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'] === 'no' ? 'checked' : ''}} value="no">
+                                                <span class="ml-1">No</span>
+                                        </label>
+                                </div>
+                                <div>
+                                        <a href="https://www.cdc.gov/mentalhealth/stress-coping/cope-with-stress/index.html" target="_blank">https://www.cdc.gov/mentalhealth/stress-coping/cope-with-stress/index.html</a>
+                                </div>
+                        </div>
+                        <div class="mb-2">
+                                <label class="d-flex align-items-baseline mb-2">
+                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                <input type="checkbox" data-name="ans_educated_patient_on_mental_health_screening" {{@($contentData["ans_educated_patient_on_mental_health_screening"] ? 'checked' : '')}} cdc-stress-emphasis>
+                                        </div>
+                                        <span>Educated patient that stress and mental health screening is important because 7 in 10 adults are reporting feelings of anxiety, sadness, and depression due to COVID-19</span>
+                                </label>
+                        </div>
+
+                        <div class="mb-2">
+                                <label class="mb-1">How are you doing regarding stress?</label>
+                                <input id="stressChangeInput" type="text" data-name="ans_how_patient_is_doing_regarding_stress" value="{{@$contentData['ans_how_patient_is_doing_regarding_stress']}}" class="form-control form-control-sm d-inline-block w-auto ml-2">
+                        </div>
+                        <hr class="my-3">
+                        <div class="mb-2 phq">
+                                <div class="table-responsive">
+                                        <h6><b>Patient Health Questionnaire-2 (PHQ-2)</b></h6>
+                                        <table class="table">
+                                                <thead>
+                                                        <tr>
+                                                                <th>Over the last 2 weeks, how often have you been bothered by any of the following problems?</th>
+                                                                <th class="text-center">Not at all</th>
+                                                                <th class="text-center">Several days</th>
+                                                                <th class="text-center">More than half the days</th>
+                                                                <th class="text-center">Nearly every day</th>
+                                                        </tr>
+                                                </thead>
+                                                <tbody>
+                                                        <tr>
+                                                                <td>1. Little interest or pleasure in doing things</td>
+                                                                <td class="text-center"><button type="button" class="btn btn-blank">0</button></td>
+                                                                <td class="text-center"><button type="button" onclick="onValueChange(this, 'no_interest', 'phq2')" class="no_interest_phq2 btn btn-select one_phq2 {{ @$contentData['no_interest_phq2'] == 1 ? 'active':'' }}" data-id="1">1</button></td>
+                                                                <td class="text-center"><button type="button" onclick="onValueChange(this, 'no_interest', 'phq2')" class="no_interest_phq2 btn btn-select two_phq2 {{ @$contentData['no_interest_phq2'] == 2 ? 'active':'' }}" data-id="2">2</button></td>
+                                                                <td class="text-center"><button type="button" onclick="onValueChange(this, 'no_interest', 'phq2')" class="no_interest_phq2 btn btn-select three_phq2 {{ @$contentData['no_interest_phq2'] == 3 ? 'active':'' }}" data-id="3">3</button></td>
+                                                        </tr>
+                                                        <tr>
+                                                                <td>2. Feeling down, depressed, or hopeless</td>
+                                                                <td class="text-center"><button type="button" class="btn btn-blank">0</button></td>
+                                                                <td class="text-center"><button type="button" onclick="onValueChange(this, 'depressed', 'phq2')" class="depressed_phq2 btn btn-select one_phq2 {{ @$contentData['depressed_phq2'] == 1 ? 'active':'' }}" data-id="1">1</button></td>
+                                                                <td class="text-center"><button type="button" onclick="onValueChange(this, 'depressed', 'phq2')" class="depressed_phq2 btn btn-select two_phq2 {{ @$contentData['depressed_phq2'] == 2 ? 'active':'' }}" data-id="2">2</button></td>
+                                                                <td class="text-center"><button type="button" onclick="onValueChange(this, 'depressed', 'phq2')" class="depressed_phq2 btn btn-select three_phq2 {{ @$contentData['depressed_phq2'] == 3 ? 'active':'' }}" data-id="3">3</button></td>
+                                                        </tr>
+                                                        <tr>
+                                                                <td class="text-right"><em>For office coding:</em></td>
+                                                                <td class="text-center">0</td>
+                                                                <td class="text-center plus"><span id="first_phq2"><b><u><?= @$contentData['first_phq2'] ?? '____' ?></u></b></span></td>
+                                                                <td class="text-center plus"><span id="second_phq2"><b><u><?= @$contentData['second_phq2'] ?? '____' ?></u></b></span></td>
+                                                                <td class="text-center plus"><span id="third_phq2"><b><u><?= @$contentData['third_phq2'] ?? '____' ?></u></b></span></td>
+                                                        </tr>
+                                                        <tr>
+                                                                <td class="text-right" colspan="5">
+                                                                        <input type="hidden" name="total_phq2" data-name="total_phq2" value="{{ @$contentData['total_phq2'] }}">
+                                                                        <em>= Total Score</em> <span id="total_phq2"><b><u><?= @$contentData['total_phq2'] ?? '___' ?></u></b></span>
+                                                                </td>
+                                                        </tr>
+                                                </tbody>
+                                        </table>
+                                </div>
+                        </div>
+
+                        <div class="mb-2">
+                                <label class="mb-1">If(PHQ-2 > 3?) then optionally:</label>
+                                <div class="d-flex flex-column ml-2 align-items-baseline pt-1">
+                                        <label class="my-0 mr-3 d-flex align-items-center">
+                                                <input type="radio" data-name="phq_action_taken" name="phq_action_taken" {{@$contentData['phq_action_taken'] && @$contentData['phq_action_taken'] === 'phq_administer_phq_9_now' ? 'checked' : ''}} value="phq_administer_phq_9_now">
+                                                <span class="ml-1">Administer PHQ-9 now.</span>
+                                        </label>
+                                        <label class="my-0 mr-3 d-flex align-items-center">
+                                                <input type="radio" data-name="phq_action_taken" name="phq_action_taken" {{@$contentData['phq_action_taken'] && @$contentData['phq_action_taken'] === 'phq_schedule_phq_9_now' ? 'checked' : ''}} value="phq_schedule_phq_9_now">
+                                                <span class="ml-1">Schedule PHQ-9 now.</span>
+                                        </label>
+                                        <label class="my-0 mr-3 d-flex align-items-center">
+                                                <input type="radio" data-name="phq_action_taken" name="phq_action_taken" {{@$contentData['phq_action_taken'] && @$contentData['phq_action_taken'] === 'phq_schedule_phq_9_later' ? 'checked' : ''}} value="phq_schedule_phq_9_later">
+                                                <span class="ml-1">Schedule PHQ-9 later.</span>
+                                        </label>
+                                        <label class="my-0 mr-3 d-flex align-items-center">
+                                                <input type="radio" data-name="phq_action_taken" name="phq_action_taken" {{@$contentData['phq_action_taken'] && @$contentData['phq_action_taken'] === 'phq_refer_to_psych_np' ? 'checked' : ''}} value="phq_refer_to_psych_np">
+                                                <span class="ml-1">Referral to Psych NP - “Stress Specialist”.</span>
+                                        </label>
+                                </div>
+                        </div>
+                        <div class="mb-2">
+                                <label class="mb-1">Reviewed “<b>CDC: Coping with Stress</b>” with patient. Went over the following points.</label>
+
+                                <label class="d-flex align-items-baseline mb-2">
+                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                <input type="checkbox" data-name="cdc_stress_emphasis_covid_19_effects" {{@($contentData["cdc_stress_emphasis_covid_19_effects"] ? 'checked' : '')}} cdc-stress-emphasis>
+                                        </div>
+                                        <span>The COVID-19 pandemic has had a major effect on our lives.</span>
+                                </label>
+                                <label class="d-flex align-items-baseline mb-2">
+                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                <input type="checkbox" data-name="cdc_stress_emphasis_stressful_challenges" {{@($contentData["cdc_stress_emphasis_stressful_challenges"] ? 'checked' : '')}} cdc-stress-emphasis>
+                                        </div>
+                                        <span>Many of us are facing challenges that can be stressful.</span>
+                                </label>
+                                <label class="d-flex align-items-baseline mb-2">
+                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                <input type="checkbox" data-name="cdc_stress_emphasis_public_health_actions" {{@($contentData["cdc_stress_emphasis_public_health_actions"] ? 'checked' : '')}} cdc-stress-emphasis>
+                                        </div>
+                                        <span>Public health actions like social distancing can increase stress and anxiety / isolation.</span>
+                                </label>
+                                <label class="d-flex align-items-baseline mb-2">
+                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                <input type="checkbox" data-name="cdc_stress_emphasis_physical_reactions" {{@($contentData["cdc_stress_emphasis_physical_reactions"] ? 'checked' : '')}} cdc-stress-emphasis>
+                                        </div>
+                                        <span>Stress can cause adverse feelings and physical reactions, especially relating to HTN and DM.</span>
+                                </label>
+                                <label class="d-flex align-items-baseline mb-2">
+                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                <input type="checkbox" data-name="cdc_stress_emphasis_coping_with_stress" {{@($contentData["cdc_stress_emphasis_coping_with_stress"] ? 'checked' : '')}} cdc-stress-emphasis>
+                                        </div>
+                                        <span>Educated patient on healthy ways to cope with stress (as per CDC: Coping with Stress):</span>
+                                </label>
+                                <div class="pl-4">
+                                        <?php
+                                        $healthyWaysOptions = [
+                                                'take_break_from_social_media' => 'Take breaks from news and social media.',
+                                                'take_care_of_your_body' => 'Take care of your body',
+                                                'take_deep_breaths' => 'Take deep breaths, stretch, or meditate',
+                                                'try_to_eat_healthy' => 'Try to eat healthy, well-balanced meals',
+                                                'exercise_regularly' => 'Exercise regularly',
+                                                'get_plenty_of_sleep' => 'Get plenty of sleep',
+                                                'avoid_excessive_alcohol' => 'Avoid excessive alcohol, tobacco, and substance use',
+                                                'continue_with_routine_preventive_measures' => 'Continue with routine preventive measures (such as vaccinations, cancer screenings, etc.) as recommended by your healthcare provider',
+                                                'get_vaccinated_with_covid' => 'Get vaccinated with a COVID-19 vaccine',
+                                                'make_time_unwind' => 'Make time to unwind — Try to do some other activities you enjoy',
+                                                'connect_with_others' => 'Connect with others — Talk with people you trust about your concerns and how you are feeling',
+                                                'connect_with_your_community' => 'Connect with your community- or faith-based organizations — While social distancing measures are in place, try connecting online, through social media, or by phone or mail'
+                                        ];
+                                        ?>
+                                        <div class="">
+                                                @foreach($healthyWaysOptions as $hOptionKey => $hOptionLabel)
+                                                <label class="d-flex align-items-baseline mb-2">
+                                                        <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                                                <input type="checkbox" data-name="{{ $hOptionKey }}" {{@($contentData[$hOptionKey] ? 'checked' : '')}} cdc-stress-emphasis>
+                                                        </div>
+                                                        <span>{{ $hOptionLabel }}</span>
+                                                </label>
+                                                @endforeach
+                                        </div>
+                                </div>
+
+                        </div>
+                </div>
+
+                <div class="mb-2">
+                        <label class="d-flex align-items-baseline mb-2">
+                                <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
+                                        <input type="checkbox" data-name="ans_hypertension_rpm_education" {{@($contentData["ans_hypertension_rpm_education"] ? 'checked' : '')}} cdc-stress-emphasis>
+                                </div>
+                                <span>Educated patient about hypertension RPM and election to enroll into it.</span>
+                        </label>
+                </div>
+
+                <hr class="my-3">
+                <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">
+                                <span class="autosave-indicator saving text-sm text-secondary">Saving changes &hellip;</span>
+                                <span class="autosave-indicator saved text-sm text-secondary">
+                                        <i class="fa fa-check"></i>
+                                        Saved
+                                </span>
+                        </div>
+                </div>
+        </form>
 </div>
+
+<script>
+        // PHQ
+        function phqSubmitChanges() {
+                var form = $('#visitNoteForm');
+                $.post('/api/visitPoint/upsertNoteSingleton', form.serializeArray(), function(response) {}, 'json');
+        }
+
+        function phqUpdateData(object) {
+                var mainDataInput = $('#mainData');
+                var mainData = mainDataInput.val();
+                try {
+                        mainData = JSON.parse(mainData);
+                } catch (e) {
+                        mainData = {};
+                }
+                var data = $.extend(mainData, object);
+                mainDataInput.val(JSON.stringify(data));
+                phqSubmitChanges(data);
+        }
+
+        function onValueChange(elem, category, phq_type) {
+                var btn = elem;
+                var name = category + '_' + phq_type;
+                var value = $(btn).data('id');
+                $('[name=' + name + ']').remove();
+                if ($(btn).hasClass('active')) {
+                        $(btn).removeClass('active');
+                        calculateChange(phq_type);
+                        return;
+                }
+                $('.' + name).removeClass('active');
+                $(btn).addClass('active');
+                $('.phq').append('<input type="hidden" data-name=' + name + ' name=' + name + ' value=' + value + ' />');
+                calculateChange(phq_type);
+                phqUpdateData({
+                        [name]: value
+                });
+        };
+
+        function calculateChange(phq_type) {
+                var first = $('.one_' + phq_type + '.active').length * 1;
+                var second = $('.two_' + phq_type + '.active').length * 2;
+                var third = $('.three_' + phq_type + '.active').length * 3;
+                var total = first + second + third;
+
+                var values = [first, second, third, total];
+                var labels = ['first', 'second', 'third', 'total'];
+                var object = {};
+                for (var i = 0; i < labels.length; i++) {
+                        var name = labels[i] + '_' + phq_type;
+                        var value = values[i];
+                        $('#' + name).html(value);
+                        $('[name=' + name + ']').remove();
+                        $('.phq').append('<input type="hidden" data-name=' + name + ' name=' + name + ' value=' + value + ' />');
+                        object[name] = value;
+                        phqUpdateData({
+                                [name]: value
+                        });
+                }
+        };
+        // PHQ
+
+        (function() {
+                window.segmentInitializers.covidFollowUp = function() {
+                        var covidFollowUp = {
+                                parentSegment: $('[data-segment-template-name="<?= $segment->segmentTemplate->internal_name ?>"] '),
+                                initAutoCheckAll: function() {
+                                        var self = this;
+                                        var checkSegments = $('[check-all]');
+                                        $.each(checkSegments, function(i, segment) {
+                                                var target = $(segment).data('target');
+                                                var allChildrenCheckboxes = self.parentSegment.find('input[type=checkbox][' + target + ']');
+                                                $(segment).click(function() {
+                                                        var checkAllInput = this;
+                                                        var isChecked = checkAllInput.checked ? true : false;
+                                                        allChildrenCheckboxes.attr('checked', isChecked);
+                                                });
+                                                var allCheckedChildrenCheckboxes = self.parentSegment.find('input[type=checkbox][' + target + ']:checked');
+                                                if (allChildrenCheckboxes.length === allCheckedChildrenCheckboxes.length) {
+                                                        $(segment).attr('checked', true);
+                                                }
+                                        });
+
+                                },
+                                init: function() {
+                                        this.initAutoCheckAll();
+                                }
+                        };
+                        covidFollowUp.init();
+                };
+        }).call(window);
+</script>

+ 267 - 13
resources/views/app/patient/segment-templates/covid_follow-up/summary.blade.php

@@ -1,14 +1,268 @@
-<div class="p-3 mb-0">
-        <ul class="mb-0">
-                <li><strong>Note to HCP:</strong> Every patient is so unique. Please complete a standard SOAP note / H&P. Key points to consider:</strong></li>
-		<li>How are you?</li>
-                <li>Did you receive the meters? Any issues?</li>
-                <li>Reiterate education about asymptomatic hypoxia and guidelines to check regularly.</li>
-                <li>If SpO2 drops slightly, call us or your PCP.</li>
-                <li>If SpO2 drops to 94, go straight to the ER, even if you feel fine.</li>
-                <li>How are you doing with your other conditions? H&P</li>
-                <li>How are you doing with stress? Stress really affects your blood pressure and even your blood sugar. COVID-19 has created so much stress in our lives, 7 in 10 adults now report anxiety or feelings of depression and isolation.</li>
-                <li>Review CDC printout / AARP mental health printout with headline "7 in 10 Older Adults Report Increased Feelings of Anxiety, Sadness and Depression Due to Coronavirus"</li>
-                <li><a target="_blank" native href="https://press.aarp.org/AARP-Survey-7-in-10-Older-Adults-Report-Increased-Feelings-of-Anxiety-Sadness-and-Depression-Due-to-Coronavirus">AARP Link</a></li>
+<?php
+
+use App\Models\Point;
+
+$category = 'COVID_FOLLOW-UP';
+$endPoint = 'upsertNoteSingleton';
+
+$point = Point::getGlobalSingletonOfCategory($patient, $category, true);
+
+$contentData = [
+    "ans_has_received_printed_cdc_covid_matrials" => null, // yes/no
+    "ans_has_signed_up_for_gvt_covid_kit" => null, // yes/no/not_sure
+    "ans_apply_gvt_covid_kit_for_patient" => null, // yes/no/not_sure
+    "ans_has_reviewed_printed_cdc_covid_matrials" => null,
+    "cdc_self_protection_emphasis_vaccination" => null,
+    "cdc_self_protection_emphasis_mask_wearing" => null,
+    "cdc_self_protection_emphasis_mask_wearing" => null,
+    "cdc_self_protection_emphasis_social_distancing" => null,
+    "cdc_self_protection_emphasis_avoid_crowds" => null,
+    "cdc_self_protection_emphasis_test_appropriately" => null,
+    "cdc_self_protection_emphasis_wash_hands_often" => null,
+    "cdc_self_protection_emphasis_cover_coughs" => null,
+    "cdc_self_protection_emphasis_disinfect" => null,
+    "cdc_self_protection_emphasis_monitor_health_daily" => null,
+    "cdc_self_protection_emphasis_quarantine" => null,
+    "cdc_self_protection_emphasis_isolation" => null,
+    "cdc_self_protection_emphasis_travel_precaution" => null,
+    "ans_has_answered_all_covid_19_questions" => null,
+    "ans_has_received_printed_cdc_mental_health_matrials" => null, // yes/no
+    "ans_educated_patient_on_mental_health_screening" => null,
+    "ans_how_patient_is_doing_regarding_stress" => null,
+    "total_phq2" => null,
+    "phq_action_taken" => null,
+    "cdc_stress_emphasis_covid_19_effects" => null,
+    "cdc_stress_emphasis_stressful_challenges" => null,
+    "cdc_stress_emphasis_public_health_actions" => null,
+    "cdc_stress_emphasis_physical_reactions" => null,
+    "cdc_stress_emphasis_coping_with_stress" => null,
+    "ans_hypertension_rpm_education" => null,
+
+];
+if (!!@$point->data) {
+    $contentData = $point->data;
+}
+
+?>
+
+<div class="events-none form-read-mode">
+    <div class="mb-2">
+        <label><b>{{ $patient->displayName() }}</b> is a <b>{{$patient->age_in_years }} y.o.</b>
+            @if($patient->sex == 'M')
+            <b>M</b>
+            @elseif($patient->sex == 'F')
+            <b>F</b>
+            @endif
+            presenting for follow-up regarding CDC COVID-19 guidelines & ongoing medical care.</label>
+    </div>
+
+    <div class="mb-2">
+        <h6><b><u>CDC: How to Protect Yourself & Others: Education</u></b></h6>
+        @if(@$contentData['ans_has_received_printed_cdc_covid_matrials'] == 'yes')
+        Patient has received printed materials from CDC, “How to Protect Yourself & Others”.
+        @elseif(@$contentData['ans_has_received_printed_cdc_covid_matrials'] == 'no')
+        Patient has not received printed materials from CDC, “How to Protect Yourself & Others”.
+        @else
+
+        @endif
+    </div>
+
+    <div class="mb-2">
+        <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')
+        <?= segment_template_summary_value_display('Yes') ?>
+        @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'no')
+        <?= segment_template_summary_value_display('No') ?>
+        @elseif(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] == 'not_sure')
+        <?= segment_template_summary_value_display('Not Sure') ?>
+        @else
+        <?= segment_template_summary_value_display('') ?>
+        @endif
+    </div>
+
+    @if(@$contentData['ans_has_signed_up_for_gvt_covid_kit'] && @$contentData['ans_has_signed_up_for_gvt_covid_kit'] != 'yes')
+    <div class="mb-2">
+        <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')
+        <?= segment_template_summary_value_display('Yes') ?>
+        @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'no')
+        <?= segment_template_summary_value_display('No') ?>
+        @elseif(@$contentData['ans_apply_gvt_covid_kit_for_patient'] == 'not_sure')
+        <?= segment_template_summary_value_display('Not Sure') ?>
+        @else
+        <?= segment_template_summary_value_display('') ?>
+        @endif
+    </div>
+    @endif
+
+    @if(@$contentData['ans_has_reviewed_printed_cdc_covid_matrials'])
+    <div class="mb-2">
+        <label>Reviewed “<b>CDC: How to Protect Yourself & Others</b>” with patient.</label>
+        <div>
+            <a href="https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/prevention.html" target="_blank">https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/prevention.html</a>
+        </div>
+    </div>
+    @endif
+
+    <div class="mb-2">
+        <label> Emphasis placed on:</label>
+        <ul>
+            @if(@$contentData['cdc_self_protection_emphasis_vaccination'])
+            <li>Vaccination</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_mask_wearing'])
+            <li>Mask wearing.</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_social_distancing'])
+            <li>Social distancing.</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_avoid_crowds'])
+            <li>Avoid poorly ventilated spaces and crowds.</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_test_appropriately'])
+            <li>Test appropriately</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_vaccination'])
+            <li>Wash your hands often</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_cover_coughs'])
+            <li>Cover coughs</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_disinfect'])
+            <li>Clean and disinfect surfaces</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_monitor_health_daily'])
+            <li>Monitor your health daily; Monitoring symptoms is especially important if you are running errands, going into the office or workplace, and in settings where it may be difficult to keep a physical distance of 6 feet.</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_quarantine'])
+            <li>Follow recommendations for quarantine; If you come into close contact with someone with COVID-19: follow CDC’s recommendations for quarantine.</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_isolation'])
+            <li>Follow recommendations for isolation; If you test positive for COVID-19 or have symptoms: follow CDC’s recommendations for isolation.</li>
+            @endif
+            @if(@$contentData['cdc_self_protection_emphasis_travel_precaution'])
+            <li>Take precautions when you travel; Follow CDC’s recommendations for domestic and international travel.</li>
+            @endif
         </ul>
-</div>
+    </div>
+
+    <div class="mb-2">
+        <label>Answered all questions relating to COVID-19.</label>
+        @if(@$contentData['ans_has_answered_all_covid_19_questions'] == 'yes')
+        <?= segment_template_summary_value_display('Patient verbalizes understanding.') ?>
+        @elseif(@$contentData['ans_has_answered_all_covid_19_questions'] == 'no')
+        <?= segment_template_summary_value_display('Patient verbalizes lack of understanding.') ?>
+        @else
+        <?= segment_template_summary_value_display('') ?>
+        @endif
+    </div>
+
+    <div class="mb-2">
+        <h6><b><u>CDC: Coping with Stress - Mental Health Screening</b></u></h6>
+    </div>
+    @if(@$contentData['ans_has_received_printed_cdc_mental_health_matrials'] == 'yes')
+    <div class="mb-2">
+        <label>Patient has received printed materials from the CDC “<b>Coping with Stress</b>”.</label>
+        <div>
+            <a href="https://www.cdc.gov/mentalhealth/stress-coping/cope-with-stress/index.html" target="_blank">https://www.cdc.gov/mentalhealth/stress-coping/cope-with-stress/index.html</a>
+        </div>
+    </div>
+    @elseif(@$contentData['ans_has_received_printed_cdc_mental_health_matrials'] == 'no')
+    <div class="mb-2">
+        <label>Patient has not received printed materials from the CDC “<b>Coping with Stress</b>”.</label>
+        <div>
+            <a href="https://www.cdc.gov/mentalhealth/stress-coping/cope-with-stress/index.html" target="_blank">https://www.cdc.gov/mentalhealth/stress-coping/cope-with-stress/index.html</a>
+        </div>
+    </div>
+    @endif
+
+    @if(@$contentData['ans_educated_patient_on_mental_health_screening'])
+    <div class="mb-2">
+        <label>Educated patient that stress and mental health screening is important because 7 in 10 adults are reporting feelings of anxiety, sadness, and depression due to COVID-19.</label>
+    </div>
+    @endif
+
+    <div class="mb-2">
+        <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']) ?>
+    </div>
+
+    <div class="mb-2">
+        <label>Conducted PHQ-2 with patient. Patient score is:</label>
+        <?= segment_template_summary_value_display(@$contentData['total_phq2']) ?>
+    </div>
+
+    @if((int) @$contentData['total_phq2'] > 3)
+    <ul>
+        @if(@$contentData['phq_action_taken'])
+        <li>
+            @if(@$contentData['phq_action_taken'] == 'phq_administer_phq_9_now')
+            Administer PHQ-9 now.
+            @elseif(@$contentData['phq_action_taken'] == 'phq_schedule_phq_9_now')
+            Schedule PHQ-9 now.
+            @elseif(@$contentData['phq_action_taken'] == 'phq_schedule_phq_9_later')
+            Schedule PHQ-9 later.
+            @elseif(@$contentData['phq_action_taken'] == 'phq_refer_to_psych_np')
+            Referral to Psych NP - “Stress Specialist”.
+            @endif
+        </li>
+        @endif
+    </ul>
+    @endif
+
+    <div class="mb-2 d-none">
+        <h6><b><u>OPTIONAL: Election to participate in PHQ-9:</u></b></h6>
+    </div>
+    <div class="mb-2">
+        <label>Reviewed “<b>CDC: Coping with Stress</b>” with patient. Went over the following points.</label>
+    </div>
+    <div class="mb-2">
+        <ul>
+            @if(@$contentData['cdc_stress_emphasis_covid_19_effects'])
+            <li>The COVID-19 pandemic has had a major effect on our lives.</li>
+            @endif
+            @if(@$contentData['cdc_stress_emphasis_stressful_challenges'])
+            <li>Many of us are facing challenges that can be stressful.</li>
+            @endif
+            @if(@$contentData['cdc_stress_emphasis_public_health_actions'])
+            <li>Public health actions like social distancing can increase stress and anxiety / isolation.</li>
+            @endif
+            @if(@$contentData['cdc_stress_emphasis_physical_reactions'])
+            <li>Stress can cause adverse feelings and physical reactions, especially relating to HTN and DM.</li>
+            @endif
+            @if(@$contentData['cdc_stress_emphasis_coping_with_stress'])
+            <li>Educated patient on healthy ways to cope with stress (as per CDC: Coping with Stress):
+                <?php
+                $healthyWaysOptions = [
+                    'take_break_from_social_media' => 'Take breaks from news and social media.',
+                    'take_care_of_your_body' => 'Take care of your body',
+                    'take_deep_breaths' => 'Take deep breaths, stretch, or meditate',
+                    'try_to_eat_healthy' => 'Try to eat healthy, well-balanced meals',
+                    'exercise_regularly' => 'Exercise regularly',
+                    'get_plenty_of_sleep' => 'Get plenty of sleep',
+                    'avoid_excessive_alcohol' => 'Avoid excessive alcohol, tobacco, and substance use',
+                    'continue_with_routine_preventive_measures' => 'Continue with routine preventive measures (such as vaccinations, cancer screenings, etc.) as recommended by your healthcare provider',
+                    'get_vaccinated_with_covid' => 'Get vaccinated with a COVID-19 vaccine',
+                    'make_time_unwind' => 'Make time to unwind — Try to do some other activities you enjoy',
+                    'connect_with_others' => 'Connect with others — Talk with people you trust about your concerns and how you are feeling',
+                    'connect_with_your_community' => 'Connect with your community- or faith-based organizations — While social distancing measures are in place, try connecting online, through social media, or by phone or mail'
+                ];
+                ?>
+                <ul>
+                @foreach($healthyWaysOptions as $hOptionKey => $hOptionLabel)
+                    @if(@$contentData[$hOptionKey])
+                    <li>{{ $hOptionLabel }}</li>
+                    @endif
+                    @endforeach
+                </ul>
+            </li>
+            @endif
+        </ul>
+    </div>
+
+    @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>
+    <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
+</div>