cql-engine
cql-engine copied to clipboard
Clinical Quality Language Evaluation Engine
Primitive types that derive from other primitive types, rather than from element directly (such as SimpleQuantity) aren't strictly speaking subtypes, they are profiles, in that they are always serialize as...
The following tests should be added to the testing suite: ``` define TestYearAdd: @2000-02-29 + 1 year // @2001-02-28 define TestYearsBetween: years between @2000-02-29 and @2001-02-28 // 1 define TestDaysBetween:...
The Message function should tie into the debug results framework.
CQL 1.5 added support for specifying include and reverseInclude elements in the retrieve: https://cql.hl7.org/2020May/04-logicalspecification.html#includeelement
CQL 1.5 added support for specifying search paths, rather than element paths in the retrieve: https://cql.hl7.org/2020May/04-logicalspecification.html#retrieve
CQL 1.5 introduced the ability to pass ValueSet and CodeSystem as reference types. Add support for these new types to the engine.
Test names: QuantityEqCM1M01 : 1'cm' = 0.01'm' GreaterM1CM1 : 1'm' > 1'cm' GreaterM1CM10 : 1'm' > 10'cm' GreaterOrEqualM1CM1 : 1'm' >= 1'cm' GreaterOrEqualM1CM10 : 1'm' >= 10'cm' LessM1CM1 : 1'm'...
null included in Interval[1, 10] Interval[1, 10] intersect Interval[5, null)
width of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] width of Interval[@T05:59:59.999, @T15:59:59.999]