SNOMED Documentation Search


Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Replacement slots may be given a replacement type to indicate what type of value may be used to replace the slot. The replacement type directly follows the '+' symbol inside the slot (with optional whitespace between). Permitted replacement types include:

...

Please note, that if no replacement type is specified after the '+' symbol, then a replacement type of 'scg' is assumed.

Concept Replacement Slots

Slots with a replacement type of 'id' may only be replaced by a single concept reference. For example, the replacement slot in the following expression template

...

However, it is not possible to generate a nested expression using this expression template, as the slot may not be replaced by a postcoordinated expression.

Expression Replacement Slots

Slots with a replacement type of 'scg' may be replaced by any (precoordinated or postcoordinated) expression. For example, the slot in the following expression template

...

Please note that for the second and third replacements, the template processor must add round brackets around the subexpression to ensure that the resulting expression is syntactically valid.

Token Replacement Slots

Slots with a replacement type of 'tok' may be replaced by any token (or symbol) that is defined in the base language. For example, the following expression has a definition status that has not yet been defined.

...

Scg expression
Borderridge
ShowFormatblock
	<<< 73211009 |Diabetes mellitus| :  363698007 |Finding site|  =  113331007 |Endocrine system|

Concrete Value Replacement Slots

Slots with a replacement type of 'str', 'int' or 'dec' may be replaced by any string, integer or decimal value respectively. For example, the slot in the expression template below:

...