cql
cql copied to clipboard
Keywords Now() and Today() missing from the grammar
Issue/Question
Now()
, Today()
and TimeOfDay
are supported operators in CQL: https://cql.hl7.org/02-authorsguide.html, but they are not included in the Antlr4 grammar.
IIUC, Antlr4 listners can only listen for the defined keywords in the grammar. In this case, how does a CQL implementation parse and evaluate an expression like Now() + 7 days
?