Skip to content

2.0.0

Compare
Choose a tag to compare
@cmoesel cmoesel released this 04 Mar 21:20
· 19 commits to master since this release

CQL Exec FHIR 2.0.0 updates its internal FHIR models to the latest versions available (as of the CQL-to-ELM 1.5.1 translator). This is a breaking change because the updated models changed the type of Extension.url from System.String to FHIR.uri. As a result, this version of CQL Exec FHIR will only work correctly with CQL that was compiled using CQL-to-ELM translator versions that also use the updated models. These versions are:

  • CQL 1.3: CQL-to-ELM 1.3.21 and above
  • CQL 1.4: CQL-to-ELM 1.4.9 and above
  • CQL 1.5: CQL-to-ELM 1.5.0 and above

In addition, this version of CQL Exec FHIR respecified it's dependency on cql-execution to be >=1.3.0, allowing for recent 1.x and 2.x versions of cql-execution.

Finally, this versionof CQL Exec FHIR no longer returns offset components of Time values. This is in accordance with the CQL specification.

Installation

To install CQL Exec FHIR 2.0.0 in your project, we recommend one of the following commands:

  • YARN: yarn add cql-exec-fhir@^2.0.0
  • NPM: npm install cql-exec-fhir@^2.0.0 --save

To enable the new support for is, as, and overloaded functions (since CQL Exec FHIR 1.5.0), you will also need to update CQL Execution to a 2.x release (the most recent is 2.2.0 as of today):

  • YARN: yarn add cql-execution@^2.2.0
  • NPM: npm install cql-execution@^2.2.0 --save