CQL Services 2.0.0
CQL Services 2.0.0 is a major release containing the following updates:
- Introduces support for calling back to the FHIR server if the request does not provide all of the prefetch keys
- Introduces support for CQL based on the FHIR 4.0.1 data model
- Uses the new cql-execution 2.x and cql-exec-fhir 2.x libraries, with improved support for CQL 1.4/1.5
- Updates the docker image to use Node 12
Breaking Changes
The CQL execution engine that CQL Services uses is now compliant w/ CQL 1.4 and 1.5 specifications (although it does not provide complete support for all of the spec). CQL Services 1.x used a CQL Execution engine based on the CQL 1.3 specification. The behavior of some CQL operations was modifed between versions of the spec and therefore may result in differences in execution results. See the CQL Specification for more specific information about changes in each specification version.
The FHIR data model plugin that CQL Services 2.0.0 leverages has updated its internal FHIR models. 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 Services 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