Simple Replacement Slots

Replacement slots serve as a placeholder for a value that is not known at the time of authoring, but which can be completed at a subsequent time using data recorded elsewhere (such as in an information model or entered into a data entry form). A slot indicates that it may be replaced by a value by including a plus sign ( + ) as the first symbol within the slot. Replacement slots may be used in an expression template wherever a concept, expression or symbol may appear within an expression.

Focus concept

A replacement slot may be used to delay the selection of a focus concept in an expression. For example, the expression template below uses a slot to indicate that the focus concept in the expression can be replaced with any appropriate SNOMED CT expression. This expression template represents any expression with a single refinement in which the | Laterality|arrow-up-right equals | Right|arrow-up-right .

spinner

If the following values are provided to complete the slot:

182245002 |Entire upper limb|arrow-up-right 182281004 |Entire lower limb|arrow-up-right 244486005 |Entire eye|arrow-up-right 1910005 |Entire ear|arrow-up-right

then the expressions that result from processing the template would be:

spinner
spinner
spinner
spinner

Attribute Value

A replacement slot may also be used to replace an attribute value in an expression. For example, the expression template below represents any expression with a focus concept of | Clinical finding|arrow-up-right and a refinement which uses the attribute | Finding site|arrow-up-right . The value of the | Finding site|arrow-up-right attribute may be replaced by any valid value at a future time.

spinner

If the following value is provided to complete the slot:

53120007 |Upper limb structure|arrow-up-right

then the expression that results from processing the template would be:

spinner

If, however, the value provided to complete the slot was the expression:

spinner

then the result of processing the template would be:

spinner

Please note that the template processor must add round brackets around the subexpression to ensure that the resulting expression is syntactically valid.

Attribute Name

A replacement slot may also be used to replace an attribute name in an expression. For example, the expression template below represents any expression with a focus concept of | Clinical finding|arrow-up-right and a refinement whose value equals | Rheumatic fever|arrow-up-right The attribute name in the expression may be replaced by any valid attribute concept at a future time.

spinner

If the following values are provided to complete the slot:

42752001 |Due to|arrow-up-right 255234002 |After|arrow-up-right

then the expressions that result from processing the template would be:

spinner
spinner

Provide Feedback

Last updated