public interface SNOMEDActiveSet extends ConceptContainer
SNOMEDActiveSet.
The methods in this interface enable users to configure subsets at run time and retrieve information
from the active set. Active sets contain two types of SNOMED-CT components,
Concept Description and Concepts .
NOTE: Currently, usage of methods defined in this interface is not recommended, as the underlying implementation is inefficient and requires further work.
ConceptContainer| Modifier and Type | Method and Description |
|---|---|
void |
addSubset(SNOMEDSubset subset)
Adds the specified SNOMED-CT language subset (Subset of type
SNOMEDLangSubset) to this SNOMEDActiveSet. |
SNOMEDDescription[] |
getAllDescriptions()
Gets an array of all valid SNOMED-CT descriptions available in this
SNOMEDActiveSet. |
SNOMEDSubset[] |
getAllSubsets()
Gets an array of all SNOMED-CT subsets available in this
SNOMEDActiveSet. |
SNOMEDConcept |
getConcept(String code)
Gets the SNOMED-CT concept that matches the specified concept code.
|
SNOMEDConcept[] |
getConcepts(int priority)
Gets an array of all SNOMED-CT concepts with the specified priority values, from this
SNOMEDActiveSet. |
SNOMEDConcept[] |
getConceptsByThreshold(int threshold)
Gets an array of all SNOMED-CT concepts available in this
SNOMEDActiveSet and whose priority is greater
than the specified threshold value. |
SNOMEDDescription |
getDescription(String descID)
Gets the SNOMED-CT description with the specified SNOMED-CT description
identifier.
|
SNOMEDDescription[] |
getDescriptions(String termPattern)
Gets an array of all SNOMED-CT descriptions in this
SNOMEDActiveSet, that match the specified term pattern. |
int |
getDescriptionType(SNOMEDDescription description)
Gets the description type of the specified SNOMED-CT description.
|
SNOMEDDescription |
getFullySpecifiedName(SNOMEDConcept concept)
Gets the SNOMED-CT description that is a fully specified name of the specified
SNOMED-CT concept.
|
SNOMEDDescription |
getPreferredDescription(SNOMEDConcept concept)
Gets the preferred SNOMED-CT description of the specified SNOMED-CT concept.
|
SNOMEDDescription[] |
getPreferredDescriptions()
Gets an array of preferred SNOMED-CT descriptions of each SNOMED-CT
concept available in this
SNOMEDActiveSet. |
SNOMEDDescription[] |
getPreferredDescriptionsByThreshold(int threshold)
Gets an array of preferred SNOMED-CT descriptions of each SNOMED-CT
concept available in this
SNOMEDActiveSet, whose priority value
is greater than the specified threshold value. |
int |
getPriority(SNOMEDConcept concept)
Gets the priority of the specified SNOMED-CT concept.
|
SNOMEDDescription[] |
getSynonyms(SNOMEDDescription description)
Gets an array of synonyms of the specified SNOMED-CT description.
|
void |
removeSubset(SNOMEDSubset subset)
Removes the specified SNOMED-CT subset from this
SNOMEDActiveSet. |
contains, getAllConcepts, getConceptsWithAttribute, getConceptsWithAttributeName, getMatchingConceptsByDescriptionTerm, getMatchingConceptsByDescriptionTerm, getNumberOfConceptsvoid addSubset(SNOMEDSubset subset) throws ETSBadParameterException
SNOMEDLangSubset) to this SNOMEDActiveSet.
ETS currently allows only one subset to be active at any point in time.
As a result, only one SNOMED-CT subset can be added to the active set and
this method can be called only once on this SNOMEDActiveSet.
However, if the subset is removed using removeSubset(SNOMEDSubset subset), the addSubset method can be called again.subset - SNOMED-CT subset to be added to thisSNOMEDActiveSet.ETSBadParameterException - If the specified SNOMED-CT subset is
null or is not a language subset.
This exception is also thrown if this SNOMEDActiveSet already contains a language subset.void removeSubset(SNOMEDSubset subset) throws ETSBadParameterException, ETSNotFoundException
SNOMEDActiveSet.subset - SNOMED-CT subset that has to be removed from this SNOMEDActiveSet.ETSBadParameterException - If the specified SNOMED-CT subset is
null.ETSNotFoundException - If the specified SNOMED-CT subset is not found in this SNOMEDActiveSet.SNOMEDDescription[] getAllDescriptions() throws ETSDataException
SNOMEDActiveSet. These descriptions are retrieved based
on the SNOMED-CT subsets that are available in this SNOMEDActiveSet.
This method returns an empty array if this SNOMEDActiveSet does not contain any SNOMED-CT descriptions.SNOMEDActiveSet, or an empty array if descriptions are not available.ETSDataException - If a data transport error occurs.SNOMEDSubset[] getAllSubsets()
SNOMEDActiveSet. This method returns an empty array if this
SNOMEDActiveSet does not contain any SNOMED-CT subsets.SNOMEDActiveSet, or an empty array if the subsets are not available.SNOMEDConcept getConcept(String code) throws ETSNotFoundException, ETSDataException
code - String that defines a SNOMED-CT concept code.ETSNotFoundException - If this SNOMEDActiveSet does not
contain any concept with the specified concept code.ETSDataException - if a data transport error occurs.SNOMEDConcept[] getConcepts(int priority) throws ETSBadParameterException, ETSDataException
SNOMEDActiveSet. The priority value is an attribute of the concept subset.
The priority value must range from 0 to 9. A priority value of 0,
indicates that a SNOMED-CT concept has no priority.priority - The concept subset priority value.SNOMEDActiveSet, or an empty array if the concepts are not found.ETSBadParameterException - If the priority value is not within the valid
range of 0 to 9.ETSDataException - If a data transport error occurs.SNOMEDConcept[] getConceptsByThreshold(int threshold) throws ETSBadParameterException, ETSDataException
SNOMEDActiveSet and whose priority is greater
than the specified threshold value. The threshold value can range from
0 to 9. A low priority value depicts a high priority. The result set is sorted by the priority. For example, if the
threshold value is 9, the array contains all SNOMED-CT concepts
whose priority is greater than nine. This means that the array contains SNOMED-CT concepts,
with priority values 1 through 8. The array values
are sorted in descending order of their priority values.threshold - Priority threshold value.SNOMEDActiveSet and
whose priority is greater than the specified threshold value.ETSBadParameterException - If the threshold value is not within the valid
range of 1 to 9.ETSDataException - If a data transport error occurs.SNOMEDDescription getDescription(String descID) throws ETSNotFoundException, ETSDataException
descID - SNOMED-CT description identifier.ETSNotFoundException - If this SNOMEDActiveSet does
not contain a SNOMED-CT description with the specified SNOMED-CT description identifier.ETSDataException - If a data transport error occurs.int getDescriptionType(SNOMEDDescription description) throws ETSBadParameterException, ETSNotFoundException, ETSDataException
description - Description object.ETSBadParameterException - If description is null.ETSNotFoundException - If SNOMED-CT description is not in this
SNOMEDActiveSet.ETSDataException - If a data transport error occurs.SNOMEDDescription[] getDescriptions(String termPattern) throws ETSDataException
SNOMEDActiveSet, that match the specified term pattern.
This method returns an empty array if this SNOMEDActiveSet does not
contain any SNOMED-CT descriptions that match the specified term pattern.termPattern - Text pattern.SNOMEDActiveSet, that match the specified term pattern, or an empty array if matching description is not found.ETSDataException - If a data transport error occurs.SNOMEDDescription getFullySpecifiedName(SNOMEDConcept concept) throws ETSBadParameterException, ETSNotFoundException, ETSDataException
concept - SNOMED-CT concept.ETSBadParameterException - If the specified SNOMED-CT concept is
null.ETSNotFoundException - If the specified SNOMED-CT concept is not available
in this SNOMEDActiveSet.ETSDataException - If a data transport error occurs.SNOMEDDescription[] getPreferredDescriptions() throws ETSDataException
SNOMEDActiveSet. The preferred
descriptions are sorted by SNOMED-CT concept priority. This method returns an
empty array if the preferred descriptions are not available.SNOMEDActiveSet, or an empty array if the descriptions are not available.ETSDataException - If a data transport error occurs.SNOMEDDescription[] getPreferredDescriptionsByThreshold(int threshold) throws ETSBadParameterException, ETSDataException
SNOMEDActiveSet, whose priority value
is greater than the specified threshold value. The threshold value can range
from 1 to 9. The results are sorted by the concept priority. This method returns
an empty array if the priority value is lesser than the threshold value.threshold - Priority threshold value.SNOMEDActiveSet, whose priority value
is greater than the specified threshold value.
This method returns an empty array if the descriptions are not available.ETSBadParameterException - If threshold value is not within the valid range
of 1 to 9.ETSDataException - If a data transport error occurs.SNOMEDDescription getPreferredDescription(SNOMEDConcept concept) throws ETSBadParameterException, ETSNotFoundException, ETSDataException
concept - SNOMED-CT concept.ETSBadParameterException - If the specified SNOMED-CT concept is
null.ETSNotFoundException - If the specified SNOMED-CT concept is not available
in this SNOMEDActiveSet.ETSDataException - If a data transport error occurs.int getPriority(SNOMEDConcept concept) throws ETSBadParameterException, ETSDataException
concept - SNOMED-CT concept.ETSBadParameterException - If the specified SNOMED-CT concept is
null.ETSDataException - If a data transport error occurs.SNOMEDDescription[] getSynonyms(SNOMEDDescription description) throws ETSBadParameterException, ETSNotFoundException, ETSDataException
description - SNOMED-CT description.ETSBadParameterException - If the specified SNOMED-CT description is
null.ETSNotFoundException - If the specified SNOMED-CT description is not
available in this SNOMEDActiveSet.ETSDataException - If a data transport error occurs.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved