Explorar o código

Merge branch 'master' into dev-vj

Vijayakrishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
794263618d

+ 10 - 0
resources/views/app/patient/canvas-sections/allergies/form.blade.php

@@ -9,6 +9,16 @@ if(!$contentData) {
         ]
     ];
 }
+
+if(!isset($contentData['items'])){
+    $contentData['items'] =  [
+        [
+            "title" => "",
+            "detail" => "",
+        ]
+    ];
+}
+
 $formID = rand(0, 100000);
 ?>
 <div id="allergySection">

+ 15 - 0
resources/views/app/patient/canvas-sections/care-team/form.blade.php

@@ -14,6 +14,21 @@ if(!$contentData) {
         ]
     ];
 }
+
+if(!isset($contentData['items'])){
+    $contentData['items'] =  [
+        [
+            "name" => "",
+            "specialty" => "",
+            "organization" => "",
+            "phone" => "",
+            "fax" => "",
+            "date" => "",
+            "memo" => "",
+        ]
+    ];
+}
+
 $formID = rand(0, 100000);
 ?>
 <div id="careTeamSection">

+ 13 - 0
resources/views/app/patient/canvas-sections/dx/form.blade.php

@@ -12,6 +12,19 @@ if(!$contentData) {
         ]
     ];
 }
+
+if(!isset($contentData['items'])){
+    $contentData['items'] =  [
+        [
+            "title" => "",
+            "icd" => "",
+            "coa" => "",
+            "detail" => "",
+            "plan" => "",
+        ]
+    ];
+}
+
 $formID = rand(0, 100000);
 ?>
 <div id="dxSection">

+ 12 - 0
resources/views/app/patient/canvas-sections/rx/form.blade.php

@@ -11,6 +11,18 @@ if(!$contentData) {
         ]
     ];
 }
+
+if(!isset($contentData['items'])){
+    $contentData['items'] =  [
+        [
+            "title" => "",
+            "strength" => "",
+            "frequency" => "",
+            "detail" => "",
+        ]
+    ];
+}
+
 $formID = rand(0, 100000);
 ?>
 <div id="rxSection">