|
@@ -1,5 +1,6 @@
|
|
|
<?php
|
|
|
$category = 'CHIEF_COMPLAINT';
|
|
|
+$endPoint = 'upsertNoteSingleton';
|
|
|
|
|
|
use App\Models\Point;
|
|
|
|
|
@@ -10,8 +11,7 @@ if ($point && !!@$point->data) {
|
|
|
}
|
|
|
|
|
|
if(!$parsed || !@$parsed->free_text) {
|
|
|
- /*
|
|
|
- list($problemPoints, $counts) = Point::getPointsOfCategoryExtended($patient, 'PROBLEM', $note);
|
|
|
+ $problemPoints = Point::getPointsOfCategory($patient, 'PROBLEM');
|
|
|
$problemNames = [];
|
|
|
foreach ($problemPoints as $problemPoint) {
|
|
|
if($problemPoint->relevanceToNote($note)) {
|
|
@@ -39,7 +39,6 @@ if(!$parsed || !@$parsed->free_text) {
|
|
|
$parsed = json_decode(json_encode([
|
|
|
"free_text" => $defaultCC
|
|
|
]));
|
|
|
- */
|
|
|
}
|
|
|
?>
|
|
|
<div>
|