# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snomed.org/snomed-international-documents/snomed-ct-glossary/s/snomed-ct-expression-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
