codeComparator

The comparison operator used to match a code path against a terminology in a retrieve expression. in tests value set membership, = tests code equality, and ~ tests equivalent matching.

Examples

Value set membership test

[Condition: code in "Diabetes Mellitus Codes"]

Exact code equality

[Condition: code = "Diabetes mellitus type 2"]

Equivalent matching (ignores version/display)

[Condition: code ~ "Diabetes mellitus type 2"]
Railroad Diagram
100%
in = ~

scroll to zoom · drag to pan · click green rules or blue tokens to navigate

EBNF

codeComparator
  : 'in'
  | '='
  | '~'
  ;

Used In