cqframework / cql-engine

Clinical Quality Language Evaluation Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong answers for properly-included-in operator

duncand opened this issue · comments

The CQL Engine is producing wrong answers for the "properly included in" operator.

Run the following CQL:

define a: {} includes {}
define b: {} included in {}
define c: {} properly includes {}
define d: {} properly included in {}

Expected result:

a: true
b: true
c: false
d: false

Actual result:

>> a [1:1] true
>> b [2:1] true
>> c [3:1] false
>> d [4:1] true

Rhis problem is demonstrated by these failing CQL Engine tests:

  • CqlListOperatorsTest.xml -> ProperIncludedInEmptyAndEmpty

This issue is now confirmed fixed.