Find concepts using ECL
One of Snow Owl's powerful features is the ability to list concepts matching a user-specified query expression using SNOMED International's Expression Constraint Language (ECL) syntax. If you would like to know more about the language itself, visit the documentation on the official site.
In this example, we list the direct descendants of the root concept using the ECL expression <!138875005
(via the ecl
query parameter), and also limit the result set to a single item using the limit
query parameter:
As no query parameter in this request would make Snow Owl differentiate between "better" and "worse" results (eg. a search term to match), concepts in the response will be sorted by identifier.
The item returned is, indeed, one of the top-level concepts in SNOMED CT:
105590001 |Substance|
The number 19
in property total
suggests that additional matches exist that were not included in the response this time.
Last updated