Peter Muturi пре 2 година
родитељ
комит
fc155b225d

+ 1 - 1
resources/views/app/patient/module-specific-summary-renderers/sleep_health_intake/subjective.blade.php

@@ -29,7 +29,7 @@
       open-in-stag-popup
       href="/module-view/{{$note->uid}}/sleep_health_intake/edit"
       mc-initer="edit-sleep_health_intake-container-{{$note->id}}"
-      title="Sleep Study Intake"
+      title="Sleep Health Intake"
       popup-style="stag-popup-md overflow-visible">
         Sleep Health
     </a>

+ 3 - 0
resources/views/app/patient/modules/sleep_health_intake/edit.blade.php

@@ -110,6 +110,7 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
 						this.autoSaveForm();
 						closeStagPopup();
 						refreshSegment('omega_subjective_system');
+						refreshSegment('omega_assessment_system');
 						refreshSegment('omega_plan_system');
 					},
 					onInputChange: function(evt) {
@@ -196,6 +197,7 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
 							var noteUid = quillTarget.data('note-uid');
 							var uid = quillTarget.data('uid');
 							var data = {free_text:html};
+							console.log(data);
 							var formData = {
 								// uid: uid,
 								segmentUid: segmentUid,
@@ -204,6 +206,7 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
 							};
 							var url = '/api/visitPoint/upsertNoteSingleton';
 							$.post(url, formData, function(response) {}, 'json');
+							refreshSegment('omega_cc');
 						});
 					},
 				},