|
@@ -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)) {
|