define "test": expand {Interval[@2020-01-01, @2020-01-08]} per day
The above CQL calculates:
[Interval[2020-01-01, 2020-01-01), Interval[2020-01-02, 2020-01-02) [...]
Those intervals are invalid, both including and excluding a particular day. If the "expand" operator uses the "except" operator, this issue may be linked to issue cqframework/cql-engine#560
define "test": expand {Interval[@2020-01-01, @2020-01-08]} per dayThe above CQL calculates:
[Interval[2020-01-01, 2020-01-01), Interval[2020-01-02, 2020-01-02) [...]Those intervals are invalid, both including and excluding a particular day. If the "expand" operator uses the "except" operator, this issue may be linked to issue cqframework/cql-engine#560