Details
-
Technical Correction
-
Resolution: Persuasive
-
Medium
-
Clinical Quality Language (FHIR)
-
1.5
-
Clinical Decision Support
-
Tests
-
-
Correction
-
Non-substantive
Description
Many of the tests in the test suite have full expressions as output, but the testing scaffolding only expects outputs to be primitive-valued, specifically the set of values representable by the literal production rule of the grammar. Correct the tests (by moving the expression portion in to the test, or re-expressing the result as a literal rather than an expression).
Note that some tests deliberately use expressions rather than literals to get to certain values, so careful about fixing by just providing the literal, sometimes the fact that the output is an expression is an explicit part of the test.
Also, the file CqlArithmeticFunctionsTest.xml, there is an extra </group> closing tag on line 277.