cmark / snomed-expression-constraint-language

Formal syntax and valid examples for each version of ECL

Home Page:http://snomed.org/ecl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SNOMED CT Expression Constraint Language

This repository contains the formal syntax and valid examples for each version of the SNOMED CT Expression Constraint Language, commonly known as ECL.

The Expression Constraint Language is used to represent SNOMED CT expression constraints and simple queries, it is a computable language that is part of the SNOMED CT Family of Languages.

The folders are organized as follows:

  • syntax
    • Contains the brief (normative) and long (informative) ABNF syntaxes. Also the brief ANTLR v4 syntax.
  • examples
    • Contains an extensive set of files with valid ECL examples.

Other Useful Resources

ECL Specification and Guide

The Specification and Guide is available at snomed.org/ecl.

ECL Parsers

  • JavaScript (ECMAScript):
    • Parsers can be generated using the APG JS project, enables validating the syntax of ECL in a web page.
  • Java parsers:
    • IHTSDO / snomed-ecl-parser - ANTLR and plain java abstract ECL implementation, base layer of a full implementation.
    • b2ihealthcare / snomed-ecl - Eclipse xtext based abstract ECL implementation, base layer of a full implementation. Enables an Eclipse based UI.

About

Formal syntax and valid examples for each version of ECL

http://snomed.org/ecl

License:Apache License 2.0


Languages

Language:ANTLR 100.0%