Date: Fri, 29 Mar 2024 10:20:53 +0000 (UTC)
Message-ID: <1956661783.3291.1711707653951@[3.220.22.64]>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_3290_1498022693.1711707653950"
------=_Part_3290_1498022693.1711707653950
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
In this section, we explain how the SNOMED CT template syntax ca=
n be applied to the computable languages to create template languages. In p=
articular, we combine the Template Syntax with Compositional Grammar to create the Expression Template=
Language. A similar process can be used to combine the Template Syntax with the Ex=
pression Constraint Language to create an Expression Constraint Templat=
e Language.
SNOMED CT template languages are created by:
- Combining the base language (to which the slots are added) with the SNO=
MED CT template syntax;
- Adding any additional rules referenced by the SNOMED CT template syntax=
(e.g. the Expression Constraint Language to represent slot value constrain=
ts);
- Removing any duplicate rules (e.g. rules that are repeated in both the =
base language and the expression constraint language;
- Adding references to the template syntax in the appropriate rules of th=
e base language to support the inclusion of slots. This involves:
- Renaming the first rule in the base language to add the word "Template"=
(e.g. from "expression" to "expressionTemplate");
- Adding the rule tokenReplacementSlot as an altern=
ative wherever a token is referenced (e.g. "definitionStatus / tokenReplace=
mentSlot");
- Adding the rules conceptReplacementSlot and expressionReplacementSlot as alternatives within the conceptReference rule;
- Adding the rule concreteValueReplacementSlot as a=
n alternative attributeValue; and
- Adding the rule templateInformationSlot before ea=
ch focus concept, each attribute group and each attribute name value pair.<=
/li>
For an example of how this process is applied to SNOMED CT compositional=
grammar to create expression templates, please refer to the Expression Template Languag=
e syntax in the next section.
------=_Part_3290_1498022693.1711707653950--