expression template
expression template
This is a synonym for SNOMED CT expression template.
SNOMED CT expression template
A SNOMED CT template that represents an expression in which one or more elements are replaced by SNOMED CT template slots.
Notes
An expression template includes one or more predefined variables which when replaced by appropriate values creates a conformant expression.
An expression template can be used to specify how data items entered via several controls in a structured user interface should be combined to represent a composite meaning.
Expression templates are also used to formally represent meaning bindings associated with different data entry contexts.
Expression templates are one of several types of templates defined by the SNOMED CT Template Syntax Specification.
Examples
The example expression template below specifies a meaning binding for a family history data entry context. In this context, a subtype of 64572001 | disease| will be interpreted as the value of the 246090004 | associated finding| attribute. Similarly, the concept 444148008 | person in family of subject (person)| or one of its subtypes will be interpreted as the value of the 408732007 | Subject relationship context| attribute. The template assigns the names @disease and @subject to these slots, which allows them to be referenced from specific user interface controls.
57177007 |Family history with explicit context (situation)| : { 408731000 |Temporal context (attribute)| = 410511007 |Current or past (actual) (qualifier value)| , 246090004 |Associated finding (attribute)| = [[+id ( < 64572001 |Disease (disorder)| ) @disease ]], 408729009 |Finding context (attribute)| = 410515003 |Known present (qualifier value)| , 408732007 |Subject relationship context (attribute)| = [[+id ( << 444148008 |Person in family of subject (person)| ) @subject ]]}
If 44054006 | Diabetes mellitus type 2| is entered in the @disease slot and 66839005 | Father| is entered in the @subject slot, the result is the expression , shown below, stating that the father of the patient has (or had) 44054006 | Diabetes mellitus type 2| .
57177007 |Family history with explicit context (situation)| : { 408731000 |Temporal context (attribute)| = 410511007 |Current or past (actual) (qualifier value)| , 246090004 |Associated finding (attribute)| = 44054006 |Diabetes mellitus type 2| , 408729009 |Finding context (attribute)| = 410515003 |Known present (qualifier value)| , 408732007 |Subject relationship context (attribute)| = 66839005 |Father| }
Alternatives
Expression template
Related
Specification
Template Syntax Specification
6.1. Expression Template Language
8. Expression Template Examples
Last updated