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:

Returns all the value set identifiers that contains supplied concept code.

Input:

  • java.lang.String conceptCode - (Mandatory) Coded concept to check membership.
  • java.net.URI entityCodeNamespace - (Optional) Namespace of coded concept.
  • jorg.LexGrid.LexBIG.DataModel.Collections.AbsoluteCodingSchemeVersionReferenceList csVersionList - (Optional) Code System Version List that contains the coded concept and to be used to resolve value set.
  • java.lang.String versionTag - (Optional) The tag (e.g. "devel", "production", ...) to be used to determine which code system to be used.

Output:

java.util.List<java.lang.String> - List of value set identifiers that contains the supplied concept code.

Exception:

org.LexGrid.LexBIG.Exceptions.LBException

Sample Call:

  • Step 1: Instantiate ValueSetQueryOperation if it is not done yet:
    Code Block
    org.lexevs.cts2.query.ValueSetQueryOperation vsQueryOp = new org.lexevs.cts2.LexEvsCTS2Impl().getQueryOperation().getValueSetQueryOperation();
    
  • Step 2: Populate the Code System Version reference list to be used for resolving the value sets:
    Code Block
    AbsoluteCodingSchemeVersionReference acsvr = new AbsoluteCodingSchemeVersionReference();
    acsvr.setCodingSchemeURN("urn:oid:11.11.0.1");
    acsvr.setCodingSchemeVersion("1.0");
    AbsoluteCodingSchemeVersionReferenceList csList = new AbsoluteCodingSchemeVersionReferenceList();
    csList.addAbsoluteCodingSchemeVersionReference(acsvr);
    
  • Step 3: Call listValueSetsWithConceptCode method by providing coded concept and code system version list:
    Code Block
    List<String> valueSetIdList = vsQueryop.listValueSetsWithConceptCode("GMC", new URI("Automobiles"), csList, null); 
    

...


Scrollbar
iconsfalse