NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Scrollbar
iconsfalse

Page info
title
title

Section
Column
width75%
Panel
titleContents of this Page
Table of Contents
minLevel2
Column
Align
alignright
Include Page
Menu LexEVS 6.0 CTS2 to Include
Menu LexEVS 6.0 CTS2 to Include

...

Description:

Return association triple according to association instance id.

Input:

  • java.lang.String codingSchemeName - (Mandatory) Name of the code system.
  • org.LexGrid.LexBIG.DataModel.Core.CodingSchemeVersionOrTag versionOrTag - (Optional) Version or tag (like 'dev', 'production' etc) of the code system.
  • java.lang.String associationInstanceId - (Mandatory) The unique id of the triple.

Output:

org.lexevs.dao.database.service.association.AssociationService.AssociationTriple - Detailed Association Triple object

Sample Call:

  • Step 1: Instantiate CodeSystemQueryOperation if it is not done yet:
    Code Block
    org.lexevs.cts2.query.AssociationQueryOperation associationQueryOp = new org.lexevs.cts2.LexEvsCTS2Impl().getQueryOperation().getAssociationQueryOperation();
    
  • Step 2: Populate CodeSystemVersionOrTag object:
    Code Block
    CodingSchemeVersionOrTag versionOrTag = new CodingSchemeVersionOrTag();
    versionOrTag.setVersion("1.0");
    
  • Step 3: Call getAssociationDetails method by providing code system version and association instance id:
    Code Block
    AssociationTriple triple = csQueryOp.getAssociationDetails ("Automobiles", versionOrTag, "id12345");
    

...

Scrollbar
iconsfalse