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 detailed information for a certain associationType in a specific code system.

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 associationName - (Mandatory) Name of an association

Output:

org.LexGrid.relations.AssociationEntity - Association type details

Exception:

org.LexGrid.LexBIG.Exceptions.LBException

Sample Call:

  • Step 1: Instantiate CodeSystemQueryOperation if it is not done yet:
    Code Block
    org.lexevs.cts2.query.CodeSystemQueryOperation csQueryOp = new org.lexevs.cts2.LexEvsCTS2Impl().getQueryOperation().getCodeSystemQueryOperation();
    
  • Step 2: Populate CodeSystemVersionOrTag object:
    Code Block
    CodingSchemeVersionOrTag versionOrTag = new CodingSchemeVersionOrTag();
    versionOrTag.setVersion("1.0");
    
  • Step 3: Call getAssociationTypeDetailsmethod by providing code system version and entity code:
    Code Block
    AssociationEntity associationEntity = csQueryOp.getAssociationTypeDetails("Automobiles", versionOrTag, "uses");
    

...

Scrollbar
iconsfalse