Skip to content

Interval "expand" produces invalid intervals #561

@matthewtiller

Description

@matthewtiller

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions