Objective
A terminology server should support services that are required for patient- and population-oriented data retrieval and analytics tasks.
The objective of expression query services is to enable subsumption testing between expressions and enable selective retrieval of postcoordinated expressions satisfying stated criteria.
Description
Subsumption Testing
When expressions are used, it is necessary to determine whether the meaning of a particular expression is a subtype of a specified concept or more generally is subsumed by a particular expression constraint. The terminology services required are similar to those described for testing concepts in sections 4.5 Get and Test Concept Subtypes and Supertypes.
Selective Retrieval
As for precoordinated concepts, expressions may be queried based on the inferred properties derived from the classification process. Expression constraints may be formulated and executed against the expression repository and the associated substrate to return both precoordinated concepts and expressions that match the specified constraint, see 4.7 Validate and Apply Expression Constraints.
Summary
Service | Description | Input Parameters | Response |
---|---|---|---|
Query expression | Subsumption - check if there is a subsumption relationship between two expressions | - repId: a unique reference to the expression repository - source: CTU expression, expression id, or concept id - target: CTU expression, expression id, or concept id | Success: Return data to inform which of the following outcomes are true:
Failure: Display an appropriate error message |
Get concepts and expressions that conform to an expression constraint | - repId: a unique reference to the expression repository - ecl: an expression constraint complying to the Expression Constraint Language | Success: Return a set of conceptIds and CTU expressions that conform to the expression constraint Optionally additional information such as the fully specified name or preferred term of each concept included in the expansion plus generated terms for included expressions Failure: Return error message if expression constraint contains syntax errors Return error message if any concept identifiers in the expression constraint are not present in the specified edition |
Feedback