It is also possible to nest nest
Gloss |
---|
PreSpace | false |
---|
t | expressions |
---|
|
, one inside the other. Any valid
may may be enclosed in a pair of brackets, and included as the value of an attribute in
another another . For example, the
following describes following describes a medication product that has a single dose form, which is both a spray and a suspension:
Scg expression |
---|
Border | ridge |
---|
ShowFormat | block |
---|
|
373873005 | |
...
Pharmaceutical / biologic product|: |
...
...
...
...
...
...
...
7946007 |Drug suspension|) |
In the example above, note the use of round brackets (i.e. "( )") to identify a nested nested
, as opposed to braces (i.e. "{ }"), which is used to identify attribute groups.
The following examples show how complex may complex
Gloss |
---|
PreSpace | false |
---|
t | expressions |
---|
|
may be build up from simple ones, a layer at a time. This
first describes first describes a left hip structure:
Scg expression |
---|
Border | ridge |
---|
ShowFormat | block |
---|
|
24136001| |
...
...
...
...
...
...
This next expression uses the "left hip" above
above to describe a procedure to replace it:
Scg expression |
---|
Border | ridge |
---|
ShowFormat | block |
---|
|
397956004| |
...
Prosthetic arthroplasty of the hip|: |
...
...
...
...
...
...
...
...
...
Applying a further grouped to grouped
to the above describes a procedure to replace a left hip by inserting a prosthesis. Note that this example mixes an ungrouped qualification and a grouped qualification. Where this is done, the
Gloss |
---|
t | canonical representation |
---|
|
of of the expression includes all ungrouped attributes before the grouped ones (
section 7.8.2.4.4.4.2 of the SNOMED CT Technical Implementation Guide [6]see Terminology Services Guide for more details). Please also note that in the previous version of this standard a comma was not permitted between the last ungrouped attribute and the first attribute group – however this comma is now optional to avoid unexpected syntax errors.
Scg expression |
---|
Border | ridge |
---|
ShowFormat | block |
---|
|
397956004| |
...
Prosthetic arthroplasty of the hip|: |
...
...
Procedure site - indirect| |
...
...
...
...
...
...
...
...
{ 363699004|Direct device| = 304120007|Total hip replacement prosthesis|,
260686004|Method| = 425362007|Surgical insertion - action|} |
Finally, the above may above
may be included within a contextual wrapper, to describe a procedure that has been performed on a patient to replace a left hip by inserting a prosthesis.
Scg expression |
---|
Border | ridge |
---|
ShowFormat | block |
---|
|
243796009| |
...
Situation with explicit context|: |
...
...
...
...
...
...
...
...
...
...
...
...
Subject relationship context| |
...
...
...
...
...
...
=
( 397956004|Prosthetic arthroplasty of the hip|:
405814001|Procedure site - indirect| = (24136001|Hip joint structure|:
272741003|Laterality| = 7771000|Left|)
{ 363699004|Direct device| = 304120007|Total hip replacement prosthesis|,
260686004|Method| = 425362007|Surgical insertion - action|} ) } |