SNOMED International Leading healthcare terminology, worldwide

SNOMED International APG Parsers

This site provides an example parser for each of the SNOMED CT computable language syntaxes, including Compositional Grammar and the Expression Constraint Language (brief and full syntaxes).

Each SNOMED International parser takes an input string and analyses it according to the rules defined in the associated ABNF syntax to determine whether or not the string is valid. If the string is valid based on the rules, then a Parser State of 'MATCH' is returned. If the string is not valid, then a Parser State of 'NOMATCH' is returned.

Please note that these parsers were created using the APG parser generator (http://www.coasttocoastresearch.com/). A copy of these parsers, and additional supporting materials can be found on the IHTSDO's SNOMED CT Languages Github repository (https://github.com/IHTSDO/SNOMEDCT-Languages).

Available parsers

SNOMED CT Compositional Grammar

This parser validates an input string according to the ABNF syntax defined for SNOMED CT Compositional Grammar v2.3.1 (http://snomed.org/scg).

SNOMED CT Compositional Grammar is a lightweight syntax for the representation of SNOMED CT expressions. SNOMED CT expressions are used in Electronic Health Records (EHRs) to represent clinical meanings in a way that enables automatic interpretation. They are also carried in messages, used to define precoordinated concepts and used to represent links between SNOMED CT and other terminologies.

SNOMED CT Expression Constraint Language - Brief Syntax

This parser validates the input string according to the ABNF brief syntax defined for the SNOMED CT Expression Constraint Language v1.3 (http://snomed.org/ecl). The brief syntax is the normative syntax for expression constraints, and is recommended for use in interoperable communications between systems.

A SNOMED CT Expression Constraint is a computable rule that defines a bounded set of clinical meanings. The Expression Constraint Language enables intensional definitions to be created for use cases such as terminology bindings, intensional reference set definitions, SNOMED CT content queries, and SNOMED CT conept model specifications.

SNOMED CT Expression Constraint Language - Long Syntax

This parser validates the input string according to the ABNF long syntax defined for the SNOMED CT Expression Constraint Language v1.3 (http://snomed.org/ecl). The long syntax is provided for information only, and may be used where an English-based textual representation of the language is required.

A SNOMED CT Expression Constraint is a computable rule that defines a bounded set of clinical meanings. The Expression Constraint Language enables intensional definitions to be created for use cases such as terminology bindings, intensional reference set definitions, SNOMED CT content queries, and SNOMED CT conept model specifications.

SNOMED CT Expression Template Language

In need of some copy

This site uses code from APG - an ABNF Parser Generator - https://github.com/ldthomas/apg-js