cql-execution icon indicating copy to clipboard operation
cql-execution copied to clipboard

Support Retrieve:codeComparator

Open cmoesel opened this issue 1 year ago • 0 comments

The Retrieve operator provides a codeComparator to indicate how the code should be matched. According to chapter 4, section 11.1.14:

The codeComparator attribute specifies how elements of the code property should be matched to the terminology. One of 'in', '=', or '~'. Note that 'in' will resolve to the appropriate terminology matching operator, resulting in equivalence semantics for value set and code system membership testing.

It's possible that cql-execution generally does the right thing, but it would be better to explicitly read this property (when present) and use the semantic that it suggests.

cmoesel avatar Oct 28 '22 13:10 cmoesel