Template:Menu LexEVS 6.0 CTS2
Introduction
LexEVS CTS2 Association Query Operation API provides capability to query Associations available in the system.
Interface
org.lexevs.cts2.query.AssociationQueryOperation
is the main interface for all the queries against Associations. This interface can be accessed using main LexEVSCTS2 interface:
org.lexevs.cts2.query.AssociationQueryOperation associationQueryOp = new org.lexevs.cts2.LexEvsCTS2Impl().getQueryOperation().getAssociationQueryOperation();
Query Functions
Here are the major query functions available using AssociationQueryOperation interface:
listAssociations
This function returns the resolved concept reference (which contains the associations) according to given node.
listAssociations(String codingSystemName CodingSchemeVersionOrTag versionOrTag String namespace String code String associationName boolean isBackward int depth int maxToReturn)
Description: |
Returns the resolved concept reference (which contains the associations) according to given node. |
Input: |
|
Output: |
|
Sample Call: |
|
determineTransitiveConceptRelationship
Returns the path according to given two nodes.
determineTransitiveConceptRelationship(String codingSystemName CodingSchemeVersionOrTag versionOrTag String relationContainerName String associationName String sourceCode String sourceNamespace String targetCode String targetNamespace)
Description: |
Returns the path according to given two nodes. |
Input: |
|
Output: |
|
Sample Call: |
|
computeSubsumptionRelationship
Return whether the two nodes has a transitive closure path.
determineTransitiveConceptRelationship(String codingSystemName CodingSchemeVersionOrTag versionOrTag String associationType ConceptReference sourceCode, ConceptReference targetCode)
Description: |
Return whether the two nodes has a transitive closure path. |
Input: |
|
Output: |
|
Sample Call: |
|
getAssociationDetails
Return association triple according to association instance id.
getAssociationDetails(String codingSchemeName, CodingSchemeVersionOrTag versionOrTag, String associationInstanceId)
Description: |
Return association triple according to association instance id. |
Input: |
|
Output: |
|
Sample Call: |
|