...
A single 'less than' sign (i.e. "<") indicates that the expression constraint is satisfied by all descendants of the specified concept. The expression constraint below evaluates to the set of all subtypes (both direct children and transitive subtypes) of
Scg expression |
---|
404684003 |Clinical finding| |
, using the brief syntax.
Scg expression |
---|
|
< 404684003 |Clinical finding| |
Using the long syntax, the above expression constraint may be represented as:
Scg expression |
---|
|
descendantOf 404684003 |Clinical finding| |
The descendantOf function is primarily used on concepts, which serve as the 'grouper' of a set of values (e.g.
Scg expression |
---|
404684003 |Clinical finding (finding)| |
,
Scg expression |
---|
272141005|Severities (qualifier value)| |
,
Scg expression |
---|
258666001|Unit (qualifier value)| |
).
Descendant or
...
Self of
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.
...
A single 'greater than' sign (i.e. ">") indicates that the expression constraint is satisfied by all ancestors of the specified concept. The expression constraint below, using the brief syntax, evaluates to the set of all supertypes (both direct parents and transitive supertypes) of
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 |
---|
|
ancestorOf 40541001 |Acute pulmonary edema| |
Ancestor or
...
Self of
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| |
...