-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collapse of integer intervals fails in 2.4.0 #225
Comments
This works in CQL Unit test so maybe CQL IDE is an older version of CQL evaluator?
|
In CQL Author's guide for interval values (see http:https://cql.hl7.org/02-authorsguide.html#interval-values), the following also do not work in CQL IDE (see https://cql-runner.dataphoria.org/):
|
These all work in 2.4.0: // see see http:https://cql.hl7.org/09-b-cqlreference.html#collapse // see http:https://cql.hl7.org/02-authorsguide.html#interval-values // see http:https://cql.hl7.org/02-authorsguide.html#computing-intervals define AssertCanUseIntersectOnIntegerIntervals: define AssertCanUseExceptOnIntegerIntervals: |
the example in CQL reference appendix B for collapse (see http:https://cql.hl7.org/09-b-cqlreference.html#collapse) throws an error in 2.4.0. Example is
define "Collapse1To9": collapse { Interval[1, 4], Interval[4, 8], Interval[7, 9] } // { Interval[1, 9] }
Using the CQL IDE web site with this CQL (https://cql-runner.dataphoria.org/):
library Welcome version '1.0.0'
define CollapseIntegerIntervals: collapse { Interval[1, 4], Interval[4, 8], Interval[7, 9] }
results in this error message:
The text was updated successfully, but these errors were encountered: