Releases: cqframework/cql-exec-fhir
2.1.5
What's Changed
This release changes the build to use npm
instead of yarn
and indicates a preference for Node 18.
Since these changes only affect developers of this package, and not downstream users of it, this is being released as a patch.
Full Changelog: v2.1.4...v2.1.5
2.1.4
What's Changed
- Update luxon and json5 dependencies and fix broken tests by @dwwinters in #40
- Update xml2js by @dwwinters in #41
Full Changelog: v2.1.3...v2.1.4
2.1.3
This release exposes an index.d.ts
file at the root of the repository that will allow for use of cql-exec-fhir
within a TypeScript project. Previously, the TypeScript compiler would throw an error stating that the module for cql-exec-fhir
could not be found, making TypeScript users need to define their own .d.ts
for cql-exec-fhir
.
Now, basic type declarations are packaged up with the distribution of cql-exec-fhir
.
What's Changed
- Add basic type declarations for TS users by @mgramigna in #35
Full Changelog: v2.1.2...v2.1.3
2.1.2
2.1.1
What's Changed
- Allow 3.0.0-beta.X as a peer dependency by @mgramigna in #31
Full Changelog: v2.1.0...v2.1.1
2.1.0
What's Changed
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #26
- Add Prettier by @mgramigna in #28
- Allow optional trusting of meta.profile by @mgramigna in #29
- See the docs for more information about using this feature
New Contributors
- @dependabot made their first contribution in #26
- @mgramigna made their first contribution in #28
Full Changelog: v2.0.2...v2.1.0
2.0.2
2.0.1
2.0.0
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
1.5.0
Overview
CQL Exec FHIR 1.5.0 adds support for the _is
and _typeHierarchy
functions needed by the new CQL Execution 2.0.0 release.
New Features
Using CQL Execution 2.0.0 with CQL Exec FHIR 1.5.0 enables the following new features:
- support for the is operator
- support for the as operator
- support for overloaded functions
Backward Compatibility
CQL Exec FHIR is expected to be backward compatible w/ previous 1.x releases and should continue to work with CQL Execution 1.x releases as well.
Installation
To install CQL Exec FHIR 1.5.0 in your project, we recommend one of the following commands:
- YARN:
yarn add cql-exec-fhir@^1.5.0
- NPM:
npm install cql-exec-fhir@^1.5.0 --save
To enable the new support for is
, as
, and overloaded functions, you will also need to update CQL Execution to the 2.0.0 release:
- YARN:
yarn add cql-execution@^2.0.0
- NPM:
npm install cql-execution@^2.0.0 --save