Quellcode durchsuchen

Fix for 'unable to refresh templates' (wip)

Vijayakrishnan vor 3 Jahren
Ursprung
Commit
e38ba276fb

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

@@ -10,7 +10,7 @@ if ($point && !!@$point->data) {
 }
 
 if(!$parsed || !@$parsed->free_text) {
-    $problemPoints = Point::getPointsOfCategoryExtended($patient, 'PROBLEM', $note);
+    list($problemPoints, $counts) = Point::getPointsOfCategoryExtended($patient, 'PROBLEM', $note);
     $problemNames = [];
     foreach ($problemPoints as $problemPoint) {
         if($problemPoint->relevanceToNote($note)) {