Page History
...
Note | ||
---|---|---|
| ||
|
Caption label | ||||
---|---|---|---|---|
| ||||
Example Use of eclQuery Procedure |
SQL Call to Procedure | |||||||||||
call snap_eclQuery(p_ecl); | |||||||||||
Parameter | Description | Data type | Examples | ||||||||
p_ecl | The ECL query text | text | (< 19829001 |disorder of lung|) OR (< 301867009 |edema of trunk|) '(< 19829001 |disorder of lung|) MINUS (< 301867009 |edema of trunk|)' '>> 40541001 |Acute pulmonary edema|' '>39057004 |pulmonary valve|' '>!39057004 |pulmonary valve|' | ||||||||
Example Procedure Call | |||||||||||
| |||||||||||
Result | |||||||||||
conceptId | term | ||||||||||
10519008 | Acute pulmonary oedema due to fumes AND/OR vapours | ||||||||||
40541001 | Acute pulmonary oedema | ||||||||||
61233003 | Silo-fillers' disease | ||||||||||
233706004 | Drug-induced acute pulmonary oedema | ||||||||||
233709006 | Toxic pulmonary oedema | ||||||||||
233710001 | Chemical-induced pulmonary oedema | ||||||||||
233711002 | Oxygen-induced pulmonary oedema | ||||||||||
360371003 | Acute cardiac pulmonary oedema | ||||||||||
10674871000119105 | Pulmonary oedema caused by chemical fumes |
Expression Constraint Feature Support and Limitations
...
ECL Operators and Examples
ECL Operator | Summary | Example | |
Symbol | Name | ||
< | Descendant of | The set of all subtypes of the given concept | < 404684003 |Clinical finding| |
<< | Descendant or self of | The set of all subtypes of the given concept plus the concept itself | << 73211009 |Diabetes mellitus| |
> | Ancestor of | The set of all supertypes of the given concept | > 40541001 |Acute pulmonary edema| |
>> | Ancestor or self of | The set of all supertypes of the given concept plus the concept itself | >> 40541001 |Acute pulmonary edema| |
<! | Child of | The set of all children of the given concept | <! 195967001 |Asthma| |
>! | Parent of | The set of all parents of the given concept | >! 195967001 |Asthma| |
^ | Member of | The set of referenced components in the given reference set | ^ 733990004 |Nursing activities reference set| |
* | Any | Any concept in the given SNOMED CT edition | * |
: | Refinement | Only those concepts whose defining relationships match the given attribute value pairs | < 404684003 |clinical finding|: 116676008 |associated morphology| = * |
AND | Conjunction | Only those concepts in both sets | (< 19829001 |disorder of lung|) AND (< 301867009 |edema of trunk|) |
OR | Disjunction | Any concept that belongs to either set | (< 19829001 |disorder of lung|) OR (< 301867009 |edema of trunk|) |
MINUS | Exclusion | Concepts in the first set that do not belong to the second set | (< 19829001 |disorder of lung|) MINUS (< 301867009 |edema of trunk|) |
Additional Notes on Limitations of the ECL Query Procedure
...