Bläddra i källkod

updated physical exam

Peter Muturi 2 år sedan
förälder
incheckning
16cdcc7d63

+ 21 - 4
resources/views/app/patient/modules/sleep_health_intake/partials/physical_exam.blade.php

@@ -2,15 +2,32 @@
 	<div class="col-md-12">
 		<h6 class="my-3"><b><u>Review Of Systems</u></b></h6>
 	</div>
+	<div class="col-md-12 section bg-light py-2 mb-3">
+			<div class="c-pointer"
+			open-in-stag-popup
+			href="/note-segment-view-by-name/{{$note->uid}}/omega_ros/edit"
+			mc-initer="init-ros-{{$note->id}}"
+			title="Review Of Systems"
+			update-parent
+			popup-style="overflow-visible">
+			@include('app.patient.segment-templates.omega_ros.summary')
+		</div>
+	</div>
+</div>
+
+<div class="row mb-1">
+	<div class="col-md-12">
+		<h6 class="my-3"><b><u>Physical Exam</u></b></h6>
+	</div>
 	<div class="col-md-12 section bg-light py-2 mb-3">
 		<div class="c-pointer"
 		open-in-stag-popup
-		href="/note-segment-view-by-name/{{$note->uid}}/omega_ros/edit"
-		mc-initer="init-ros-{{$note->id}}"
-		title="Review Of Systems"
+		href="/note-segment-view-by-name/{{$note->uid}}/omega_pe/edit"
+		mc-initer="init-pe-{{$note->id}}"
+		title="Physical Exam"
 		update-parent
 		popup-style="overflow-visible">
-		@include('app.patient.segment-templates.omega_ros.summary')
+		@include('app.patient.segment-templates.omega_pe.summary')
 	</div>
 </div>
 

+ 4 - 3
resources/views/app/patient/segment-templates/omega_pe/edit.blade.php

@@ -51,7 +51,7 @@ $containerID = 'edit-omega-pe-' . rand(10,100);
         <div class="form-group">
           <label class="m-0">General:</label>
           <div class="d-flex align-items-end">
-            <input @keyup.prevent="onInputChange" name="PE_general" v-model="data.PE_general" class="form-control form-control-sm" />
+            <input @change.prevent="onInputChange" name="PE_general" v-model="data.PE_general" class="form-control form-control-sm" />
           </div>
         </div>
         <div class="form-group d-flex align-items-start">
@@ -390,7 +390,8 @@ $containerID = 'edit-omega-pe-' . rand(10,100);
           }
         },
         mounted: function() {
-          
+          $('#'+containerID+' [moe][initialized]').removeAttr('initialized');
+          initMoes();
         },
         methods: {
           onInputChange: function(evt) {
@@ -435,4 +436,4 @@ $containerID = 'edit-omega-pe-' . rand(10,100);
     addMCInitializer('init-pe-{{$note->id}}', initPE, '#'+containerID);
 
   }).call(window);
-</script>
+</script>