瀏覽代碼

Omega - informed/consent UI update

Vijayakrishnan 3 年之前
父節點
當前提交
613ae469b3

+ 12 - 1
resources/views/app/patient/segment-templates/informed_consent/edit.blade.php

@@ -23,8 +23,17 @@ if (!!@$point->data) {
             <div class="mr-2 align-self-stretch" style="padding-top: 2px;">
                 <input type="checkbox" data-name="informed_consent" {{@($contentData["informed_consent"] ? 'checked' : '')}}>
             </div>
-            <span>Informed consent for treatment obtained and patient questions answered.</span>
+            <span> This is a {{$note->method}} visit that was performed on {{friendly_date($note->effective_dateest)}}. Verbal consent to participate in a video visit was obtained.</span>
         </label>
+        
+        <div class="mb-2">
+            <div>This visit occurred during the Coronavirus (COVID-19) Public Health Emergency.</div>
+            <div>I discussed with the patient the nature of our visit, that:</div>
+            <div class="ml-3">- I would evaluate the patient and recommend diagnostics and treatments based on my assessment.</div>
+            <div class="ml-3">- Our sessions are not being recorded, and that personal health information is protected.</div>
+            <div class="ml-3">- Our team would provide follow-up care in person if/when the patient needs it.</div>
+            <div class="ml-3">- No physical exam was performed due to the remote nature of this evaluation.</div>
+        </div>
 
         <div class="pt-2">
             <button submit class="btn btn-sm btn-primary mr-2"><i class="fa fa-save"></i></button>
@@ -38,3 +47,5 @@ if (!!@$point->data) {
         </div>
     </form>
 </div>
+
+

+ 12 - 1
resources/views/app/patient/segment-templates/informed_consent/summary.blade.php

@@ -22,5 +22,16 @@ if (!!@$point->data) {
             -
         @endif
     </div>
-    <span class="flex-grow-1">Informed consent for treatment obtained and patient questions answered.</span>
+    <span class="flex-grow-1">This is a {{$note->method}} visit that was performed on {{friendly_date($note->effective_dateest)}}. Verbal consent to participate in a video visit was obtained.</span>
 </div>
+
+@if(@($contentData["informed_consent"]))
+    <div class="mb-2">
+        <div>This visit occurred during the Coronavirus (COVID-19) Public Health Emergency.</div>
+        <div>I discussed with the patient the nature of our visit, that:</div>
+        <div class="ml-3">- I would evaluate the patient and recommend diagnostics and treatments based on my assessment.</div>
+        <div class="ml-3">- Our sessions are not being recorded, and that personal health information is protected.</div>
+        <div class="ml-3">- Our team would provide follow-up care in person if/when the patient needs it.</div>
+        <div class="ml-3">- No physical exam was performed due to the remote nature of this evaluation.</div>
+    </div>
+@endif

+ 15 - 5
resources/views/app/patient/segment-templates/omega_informed_consent/edit.blade.php

@@ -13,20 +13,28 @@ if (!!@$point->data) {
     $contentData = json_decode($point->data, true);
 }
 ?>
-<div visit-moe close-on-save close-on-cancel class="d-block px-3">
-    <form show url="/api/visitPoint/<?= $endPoint ?>" class="mcp-theme-1">
+<div visit-moe close-on-save close-on-cancel class="d-block px-3 py-2">
+    <form show url="/api/visitPoint/<?= $endPoint ?>" class="mcp-theme-1 mt-2">
         <input type="hidden" name="segmentUid" value="<?= $segment->uid ?>">
         <input type="hidden" name="category" value="<?= $category ?>">
         <input type="hidden" name="data" value="{{json_encode($contentData)}}">
 
-        <label class="d-flex align-items-baseline mb-1">
+        <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="informed_consent" {{@($contentData["informed_consent"] ? 'checked' : '')}}>
             </div>
-            <span>Informed consent for treatment obtained and patient questions answered.</span>
+            <div>
+                <div>This is a {{$note->method}} visit that was performed on {{friendly_date($note->effective_dateest)}}. Verbal consent to participate in a video visit was obtained.</div>
+                <div>This visit occurred during the Coronavirus (COVID-19) Public Health Emergency.</div>
+                <div>I discussed with the patient the nature of our visit, that:</div>
+                <div class="ml-3">- I would evaluate the patient and recommend diagnostics and treatments based on my assessment.</div>
+                <div class="ml-3">- Our sessions are not being recorded, and that personal health information is protected.</div>
+                <div class="ml-3">- Our team would provide follow-up care in person if/when the patient needs it.</div>
+                <div class="ml-3">- No physical exam was performed due to the remote nature of this evaluation.</div>
+            </div>
         </label>
 
-        <div class="">
+        <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>
@@ -38,3 +46,5 @@ if (!!@$point->data) {
         </div>
     </form>
 </div>
+
+

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

@@ -14,13 +14,25 @@ if (!!@$point->data) {
 }
 ?>
 
-<div class="d-flex align-items-baseline">
-    <div class="align-self-stretch mr-2 text-left">
-        @if(@($contentData["informed_consent"]))
-            <i class="fa fa-check"></i>
-        @else
+<div class="d-flex align-items-baseline mb-2">
+    @if(!@($contentData["informed_consent"]))
+        <div class="align-self-stretch min-width-30px text-left">
             <i class="fa fa-exclamation-triangle"></i>
-        @endif
+        </div>
+    @endif
+    <div class="flex-grow-1">
+    @if(@($contentData["informed_consent"]))
+        <div>
+            <div>This is a {{$note->method}} visit that was performed on {{friendly_date($note->effective_dateest)}}. Verbal consent to participate in a video visit was obtained.</div>
+            <div>This visit occurred during the Coronavirus (COVID-19) Public Health Emergency.</div>
+            <div>I discussed with the patient the nature of our visit, that:</div>
+            <div class="ml-3">- I would evaluate the patient and recommend diagnostics and treatments based on my assessment.</div>
+            <div class="ml-3">- Our sessions are not being recorded, and that personal health information is protected.</div>
+            <div class="ml-3">- Our team would provide follow-up care in person if/when the patient needs it.</div>
+            <div class="ml-3">- No physical exam was performed due to the remote nature of this evaluation.</div>
+        </div>
+    @else
+        <div>Please click here to document informed consent.</div>
+    @endif
     </div>
-    <span class="flex-grow-1">Informed consent for treatment obtained and patient questions answered.</span>
 </div>