CQL 5.0.0
What's Changed
- All non-null CQL values are represented in the engine as instances (implementors) of the sealed
Valueinterface. Non-system structured types (e.g. instances ofFHIR.Patient,FHIR.string, etc.) are represented in the engine asClassInstances (#1755). - The engine API is updated to use
Value?instead ofkotlin.Any?(#1755). - Java
Class<T>references are replaced in the engine with type specifiers and typeQNames (both multiplatform) (#1755). - In the
FhirModelResolver, theis(valueType: String, type: QName): Boolean?method now returnstrueonly if{http://hl7.org/fhir}_valueType_extendstypeor is the same astype(#1755). Value.toString()returns the CVL representation of the CQL value (#1782).
Migration Guide: v4 to v5 Migration
Full Changelog: v4.9.0...v5.0.0