CQL is a platform-independent query representation, and may be evaluated in different environments. The most efficient evaluation strategy often depends on the capabilities of target environments, resulting in the need for a query planning step that considers target environments.
Specifically, initial capabilities need to support:
Optimizations for date range (translator issues 544, 545, and 546)
Include optimizations for medication references from a MedicationRequest resource.
Rewrite of primary code path for a retrieve based on capabilities (code vs category in MedicationRequest)
A good chunk of that work needs to be done either in the cql-engine or cql-evaluator projects. Neither of those will be able to reference cqf-tooling in order to get those capabilities.
CQL is a platform-independent query representation, and may be evaluated in different environments. The most efficient evaluation strategy often depends on the capabilities of target environments, resulting in the need for a query planning step that considers target environments.
Specifically, initial capabilities need to support: