- 
                Notifications
    You must be signed in to change notification settings 
- Fork 136
Open
Labels
cqlThe issue relates to or requires a change or clarification on the CQL specificationThe issue relates to or requires a change or clarification on the CQL specificationenhancementmd impact trackingThe issue is impacting measure developmentThe issue is impacting measure development
Description
UCUM supports the notion of "arbitrary units", which are units that may differ based on circumstance. For example, international units [IU] differ based on the substance.
The UCUM specification indicates that these units "are not of any specific dimension" and "are not commensurable with any other unit", so operations on these units are not allowed.
This means that if an engine is asked to perform the following, UCUM indicates it should fail:
Dalteparin.dosage() >= 10000 '[IU]/mL'However, clinical intent in this case is fairly clear, and given that the authors have identified the substance, intent is for this comparison to be performed as expected.
To ensure this case is considered correctly:
- The translator should issue a warning when operations involving arbitrary units are detected
- The engine should support this comparison but only when one of the operands is a literal
Metadata
Metadata
Assignees
Labels
cqlThe issue relates to or requires a change or clarification on the CQL specificationThe issue relates to or requires a change or clarification on the CQL specificationenhancementmd impact trackingThe issue is impacting measure developmentThe issue is impacting measure development