OHDSI / Circe

[Under development] CIRCE is a cohort definition and syntax compiler tool for OMOP CDMv5
Apache License 2.0
5 stars 4 forks source link

Measurement 'abnormal' criteria not implemented #46

Closed chrisknoll closed 9 years ago

chrisknoll commented 9 years ago

Measurement criteiria 'has an abnormal value' is not implemented: the WHERE clause is not set with the appropriate sql logic to find abnormal values. The sql should look like this:

where m.value_as_number < m.range_low or m.value_as_number > range high
chrisknoll commented 9 years ago

Fixed in WebAPI commit OHDSI/WebAPI@fdb43b0a85e22c39e32677c1bcc3b71aef2e5064.