Compositional Grammar expressions can be automatically validated to ensure that they conform to a variety of rules, including:
- Expressions must conform to the syntax defined in chapter 5. This validation can be performed using an expression parser, as described in section 7.2;
- Expressions must conform to the concept model. This validation can be performed by comparing the parsed expression against the rules defined in the SNOMED CT concept model;
- All concept references included in the expression must be valid. In most cases this means that the concept references must refer to active concepts in the given version and edition of SNOMED CT.