# 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|](http://snomed.info/id/64572001) will be interpreted as the value of the [246090004 | associated finding|](http://snomed.info/id/246090004) attribute. Similarly, the concept [444148008 | person in family of subject (person)|](http://snomed.info/id/444148008) or one of its subtypes will be interpreted as the value of the [408732007 | Subject relationship context|](http://snomed.info/id/408732007) 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)|](http://snomed.info/id/57177007) :\
{ [408731000 |Temporal context (attribute)|](http://snomed.info/id/408731000) = [410511007 |Current or past (actual) (qualifier value)|](http://snomed.info/id/410511007) ,\
[246090004 |Associated finding (attribute)|](http://snomed.info/id/246090004) = \[\[+id ( < [64572001 |Disease (disorder)|](http://snomed.info/id/64572001) ) @disease ]],\
[408729009 |Finding context (attribute)|](http://snomed.info/id/408729009) = [410515003 |Known present (qualifier value)|](http://snomed.info/id/410515003) ,\
[408732007 |Subject relationship context (attribute)|](http://snomed.info/id/408732007) = \[\[+id ( << [444148008 |Person in family of subject (person)|](http://snomed.info/id/444148008) ) @subject ]]}

* If [44054006 | Diabetes mellitus type 2|](http://snomed.info/id/44054006) is entered in the @disease slot and [66839005 | Father|](http://snomed.info/id/66839005) 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|](http://snomed.info/id/44054006) .

[57177007 |Family history with explicit context (situation)|](http://snomed.info/id/57177007) :\
{ [408731000 |Temporal context (attribute)|](http://snomed.info/id/408731000) = [410511007 |Current or past (actual) (qualifier value)|](http://snomed.info/id/410511007) ,\
[246090004 |Associated finding (attribute)|](http://snomed.info/id/246090004) = [44054006 |Diabetes mellitus type 2|](http://snomed.info/id/44054006) ,\
[408729009 |Finding context (attribute)|](http://snomed.info/id/408729009) = [410515003 |Known present (qualifier value)|](http://snomed.info/id/410515003) ,\
[408732007 |Subject relationship context (attribute)|](http://snomed.info/id/408732007) = [66839005 |Father|](http://snomed.info/id/66839005) }

## Alternatives

* **Expression template**

##

<a href="https://docs.google.com/forms/d/e/1FAIpQLScTmbZIf0UEQwYDkY27EEWBkaiYkHSbR0_9DmFrMLXoQLyL7Q/viewform?usp=pp_url&#x26;entry.1767247133=SNOMED+Glossary&#x26;entry.670899847=SNOMED%20CT%20expression%20template" class="button primary">Provide Feedback</a>
