Clinical Quality Language (CQL) is an HL7 specification for the expression of clinical knowledge that can be used within both the Clinical Decision Support (CDS) and Clinical Quality Measurement (CQM) domains. This repository contains complementary tooling in support of that specification.
define function Foo(t Integer)
define function Foo(t Choice<Integer, Decimal>)
Results in a potentially ambiguous overload selection and should be discouraged. Add a warning to the translator when this case is detected (i.e. a function with a choice signature is overloaded in a way that one signature completely includes another)
There is a JIRA tracker to the specification to discourage this in the spec and consider deprecating the capability: https://jira.hl7.org/browse/FHIR-44879
Allowing the following:
Results in a potentially ambiguous overload selection and should be discouraged. Add a warning to the translator when this case is detected (i.e. a function with a choice signature is overloaded in a way that one signature completely includes another)