clinical_quality_language icon indicating copy to clipboard operation
clinical_quality_language copied to clipboard

z between x and y precision enhancement

Open jreyno77 opened this issue 2 years ago • 2 comments

As of right now there is no inferring / transformation of precision across arguments for between. Therefor precision must be specified for each argument else the result is null.

Would like to get to a point where this is possible image

jreyno77 avatar Oct 10 '22 21:10 jreyno77

There is common inference, it's just that that inference doesn't carry the unit for quantity conversion. To do this properly would require a change to the CQL specification to improve implicit conversion support to allow for the units of a quantity to be part of implicit conversion to a quantity if it could be inferred from the conversion context (as is the case with between, but could also be done in the context of conversion of arguments to binary or greater functions and expression constructs such as if and case.

brynrhodes avatar Oct 14 '22 19:10 brynrhodes

https://jira.hl7.org/browse/FHIR-39184

brynrhodes avatar Oct 14 '22 19:10 brynrhodes