cql-engine
cql-engine copied to clipboard
Feature test cql
Please review changes made for DateTime comparison. Current DateTime comparison changes date passed in and never passes based on expected output demonstrated by the tool. The modified approach checks for instanceof DateTime then utilizes simple toString() for left/right comparison.
The source for this test is actually the CQL specification repo here: https://github.com/HL7/cql/blob/master/tests/cql/CqlTypeOperatorsTest.xml
If there are flaws in the test specification lets fix them in the upstream repo.