Skip to content

Releases: cqframework/cql-execution

1.4.1

17 Oct 21:13
Compare
Choose a tag to compare

Version 1.4.1 adds the following enhancements/fixes:

  • supports references to value sets in other libraries
  • fixes bug that caused all records to be retrieved when a value set reference couldn't be resolved

1.3.5

17 Oct 20:26
Compare
Choose a tag to compare

Version 1.3.5 adds the following enhancements/fixes:

  • supports references to value sets in other libraries
  • fixes bug that caused all records to be retrieved when a value set reference couldn't be resolved

1.4.0

22 Aug 19:05
Compare
Choose a tag to compare

CQL Execution 1.4.0 is the first release supporting the CQL Release 1 STU4 specification. It contains the following changes:

  • Only DateTime has a timezone offset (not Date or Time)
  • Seconds and milliseconds are now captured as a decimal in the time representation (e.g. hh:mm:ss.fff)
  • Support for ConvertQuantity and CanConvertQuantity
  • Implement size and fix width for Quantity
  • Normalize whitespace when determining string equivalence
  • Detect underflow/overflow for arithmetic operators
  • Update expand semantics based on changes/clarification in CQL 1.4
  • Add support for same or before and same or after for intervals
  • Replace "Population" context with "Unspecified" context
  • Fix various bugs (see commits for details)

1.3.4

14 Jun 13:18
6305f73
Compare
Choose a tag to compare

CQL Execution version 1.3.4 introduces the following changes since 1.3.3:

  • Adds Concept, Date, and CodeSystem to the module exports
  • Fixes issue processing default value of Code parameters
    • Prior to this fix, default values for Code parameters were ignored and treated as null

1.3.3

23 May 13:25
058e8c0
Compare
Choose a tag to compare

CQL Execution version 1.3.3 introduces the following changes since 1.3.2:

  • Support for new operators:
    • same as (for intervals)
    • Matches
    • SplitOnMatches
    • ToRatio
    • ConvertsTo[X] (all defined ConvertsTo operators)
  • Adds min/max values for Date
  • Changes min/max DateTime to consider timezone offset
  • Handles edge cases when uncertainties are built on codes (due to choices in model)
  • Other minor bug fixes

1.3.2

06 Nov 23:46
Compare
Choose a tag to compare

CQL Execution version 1.3.2 introduces the following changes since 1.3.1:

  • Support for interval expand and collapse with the per argument
  • CalculateAgeAt operations will use date calculation when the input argument is a date
  • Unimplemented operations SplitOnMatches and ConvertsTo* are stubbed as subclasses of UnimplementedExpression so an error is thrown if users attempt to use them

1.3.1

27 Sep 19:32
Compare
Choose a tag to compare

Version 1.3.1 contains the following fixes:

  • Supports converting DateTime to Date
  • Fixes Date to DateTime conversion to populate time components to 0 for fully specified dates

1.3.0

27 Sep 19:30
84937cd
Compare
Choose a tag to compare

Version 1.3.0 contains necessary changes to align with the CQL 1.3.0 (STU 3) specification.

See: http://cql.hl7.org/STU3/index.html

1.2.3

02 Aug 18:59
Compare
Choose a tag to compare

Version 1.2.3 introduces the following changes:

  • Fixes accidental mutation of intervals in the collapse function (#31)

1.2.2

12 Jul 16:31
Compare
Choose a tag to compare

Version 1.2.2 introduces the following changes:

  • improve alignment to CQL 1.2 (#22)
    • throw IncompatibleTypes exception when comparing incompatible types
    • throw exception when parsing DateTime strings with invalid formats
    • support offset 'Z' when parsing DateTime strings
    • fix incorrect string format when converting DateTime to string
    • update ToDecimal, ToInteger, and ToQuantity to better align to spec
  • improve support for quantities (#25)
    • allow null quantity values
    • throw an exception on invalid (non-decimal, non-null) quantity values
  • fix object equality to better align w/ specification (#28)
  • fix an error potentially overwriting results when executing on multiple patients (#23)
  • fix incorrect MIN_TIME_VALUE assignment (#24)
  • fix bug detecting timezone separators in DateTime strings (#26)