Skip to content

Commit

Permalink
check for non-numerical values in numerical clinical data count filter
Browse files Browse the repository at this point in the history
  • Loading branch information
onursumer committed Nov 20, 2024
1 parent 7295a27 commit 6ceb4ae
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,13 @@
<property name="attribute_value" value="attribute_value"/>
</include>
</if>
<if test="dataFilterValue.value != null">
AND (
<include refid="normalizeAttributeValue">
<property name="attribute_value" value="attribute_value"/>
</include>
) ILIKE #{dataFilterValue.value}
</if>
<if test="dataFilterValue.start != null and dataFilterValue.end == null">
AND match(attribute_value, '^>?=?[-+]?[0-9]*[.,]?[0-9]+$')
</if>
Expand Down

0 comments on commit 6ceb4ae

Please sign in to comment.