...
Two consecutive 'less than' signs (i.e. "<<") indicates that the expression constraint is satisfied by all descendants of the specified concept plus the specified concept itself. The expression constraint below evaluates to the set of descendants of
Scg expression |
---|
73211009 |Diabetes mellitus| |
, plus the concept
Scg expression |
---|
73211009 |Diabetes mellitus| |
itself.
Scg expression |
---|
|
<< 73211009 |Diabetes mellitus| |
Using the long syntax, the above expression constraint may be represented as:
Scg expression |
---|
|
descendantOrSelfOf 73211009 |Diabetes mellitus| |
The descendantOrSelfOf function is primarily used for attribute values, which refer to a specific clinical value (e.g.
Scg expression |
---|
73211009 |Diabetes mellitus| |
,
Scg expression |
---|
73761001 |Colonoscopy| |
,
Scg expression |
---|
385055001 |Tablet dose form| |
), but any specialization of this value is also acceptable.
Child of
An exclamation mark directly followed by a A 'less than' sign directly followed by an exclamation mark (i.e. "<!") indicates indicates that the expression constraint is satisfied by the set of immediate children of the specified concept. The children of a concept are those concepts that are the source of a non-redundant
Scg expression |
---|
|
116680003|is a| |
relationship relationship whose target is the given concept. The expression constraint below, represented using the brief syntax, evaluates to the set of immediate children of the concept
Scg expression |
---|
404684003|Clinical finding| |
.
Scg expression |
---|
|
<! 404684003|Clinical finding| |
Using the long syntax, the above expression constraint may be represented as:
Scg expression |
---|
|
childOf 404684003|Clinical finding| |
...
Two consecutive 'greater than' signs (i.e. ">>") indicates that the expression constraint is satisfied by all ancestors of the specified concept plus the specified concept itself. The expression constraint below evaluates to the set of ancestors of
Scg expression |
---|
40541001 |Acute pulmonary edema| |
, plus the concept
Scg expression |
---|
40541001 |Acute pulmonary edema| |
.
Scg expression |
---|
|
>> 40541001|Acute pulmonary edema| |
Using the long syntax, the above expression constraint may be represented as:
Scg expression |
---|
|
ancestorOrSelfOf 40541001 |Acute pulmonary edema| |
Parent of
An exclamation mark directly followed by a A 'greater than' sign directly followed by an exclamation mark (i.e. ">!") indicates that the expression constraint is satisfied by the set of immediate parents of the specified concept. The parents of a concept are those concepts that are the target of a non-redundant |is a| relationship whose source is the given concept. The expression constraint below, represented using the brief syntax, evaluates to the set of immediate parents of the concept
Scg expression |
---|
40541001 |Acute pulmonary edema| |
.
Scg expression |
---|
|
>! 40541001 |Acute pulmonary edema| |
Using the long syntax, the above expression constraint may be represented as:
Scg expression |
---|
|
parentOf 40541001 |Acute pulmonary edema| |
...