Clinical Quality Language (CQL) is an HL7 specification for the expression of clinical knowledge that can be used within both the Clinical Decision Support (CDS) and Clinical Quality Measurement (CQM) domains. This repository contains complementary tooling in support of that specification.
The "TestCollapseNull" test case is:
According to the spec though, the result of this should be { Interval(null, null) }, based on this line:
"if the input list contains a single interval, the result is a list with that interval"
More broadly, the expression
Interval(null, null)
actually results in a null, rather than in an interval with null boundaries.