Explorar o código

CC regeration logic update

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
e99e140056

+ 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::getPointsOfCategory($patient, 'PROBLEM');
+    $problemPoints = Point::getPointsOfCategoryExtended($patient, 'PROBLEM', $note);
     $problemNames = [];
     foreach ($problemPoints as $problemPoint) {
         if($problemPoint->relevanceToNote($note)) {