Search
Back 

Forums

Welcome to the Forums for DTS 4. The following shortcuts are available for new posts and replies.

[br] = line break/new paragraph    [b] [/b] = bold font   
[i] [/i] = italicized font [u] [/u] = underlined font 
[sub] [/sub] = subscript text 
 [strike] [/strike] = strikethrough
[sub] [/sup] = superscript text    

DTS Forums

Reference a value set by ID
Last Post 28 May 2015 12:29 PM by jbowie. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
JimGJSilviaUser is Offline
New Member
New Member
Posts:2


--
28 May 2015 11:36 AM
    Using the API, what is the method to reference a value set by ID? Can I use the API to find out all the value sets that a given concept (ref by code) is a member of?
    jbowieUser is Offline
    Basic Member
    Basic Member
    Posts:110


    --
    28 May 2015 12:29 PM
    Most of the APIs to manage Subsets can be found in the SubsetQuery class. To get the Subset object for a subset id, use SubsetQuery.fetch(id). This will return an instance of the Subset object. Many basic attributes of the Subset have getter methods on the Subset object, such as the Subset expression. Some more complex attributes have dedicated methods in SubsetQuery. The Subset's concepts, for example, can be found from SubsetQuery.fetchConcepts(id, ...).

    To find all the Subsets for which a Concept is a member, use SubsetQuery.fetchConceptSubsets(conId, nsId). If you only have the Concept's Code, you will first have to look up the Concept to get its internal id.

    For additional information on Subsets, see Chapter 10 - DTS Subsets in the DTS API Programming Tutorial accessible from the DTS API Javadoc.
    You are not authorized to post a reply.


    Apelon

    We are a privately held international software and informatics company focusing on data standardization and interoperability. Apelon’s software and professional services help leading healthcare enterprises, HIT vendors and integrators, life sciences organizations and government agencies better manage standard terminologies and transition local data to these standards. Our solutions enable semantic interoperability, consistent data analysis, and standardized reporting of health information to improve the quality, comparability, and accessibility of clinical data.

    Latest Tweets

    Copyright 2024 by Apelon, Inc.