public interface Concept extends ReassignableETSComponent
ConceptDescription
object associated with them.
These may be retrieved in a specific language by providing a Locale
to ConceptDescription
retrieval methods. For a full description
on how Locale
s are handled see the main
package description.ReassignableETSComponent
,
CodingSchemeVersion
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_EQUIVALENCE_CONTEXT
Default equivalence context that is provided by ETS.
|
static int |
EQUIVALENCE_TYPE_EXACT_CONCEPT
Equivalence type that denotes exact
Concept object equality (no
equivalence procedure used). |
static int |
EQUIVALENCE_TYPE_MAPPING
Equivalence type that denotes a mapping (cross map) equivalence
between concepts in different coding schemes.
|
static int |
EQUIVALENCE_TYPE_SEMANTIC
Equivalence type that denotes a semantic
equivalence between concepts in the same coding scheme.
|
static int |
LOCAL_PREFERRED
Constant that specifies whether terminology locally preferred
description must be prefetched.
|
static int |
MAXLENGTH_EXT_TYPE_CODE
Constant that specifies the maximum length of a passed in extended type code
parameter.
|
static int |
NONE
Constant that specifies the terminology preferred
description and the terminology locally preferred descriptions must not be
prefetched.
|
static int |
TERMINOLOGY_PREFERRED
Constant that specifies whether terminology preferred description
must be prefetched.
|
static int |
TERMINOLOGY_PREFERRED_AND_LOCAL_PREFERRED
Constant that specifies whether terminology locally preferred
description and terminology preferred description must be prefetched.
|
static int |
TYPE_DESC
Constant representing the type of description to retrieve
when calling the
getTranslatedMemberDescription(String type) method. |
static int |
TYPE_PRINT
Constant representing the type of description to retrieve
when calling the
getTranslatedMemberDescription(String type) method. |
Modifier and Type | Method and Description |
---|---|
ConceptDescription[] |
getAllDescriptions()
Gets all descriptions associated with this
Concept
object in the base language (Base language is constructed by concatenating profile
options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code). |
ConceptDescription[] |
getAllDescriptions(Locale locale)
Gets all of the descriptions in a given
Locale that are
associated with this Concept object. |
Classification[] |
getClassifications() |
CodingSchemeVersion |
getCodingSchemeVersion()
Gets the
CodingSchemeVersion to which this Concept
object belongs. |
String |
getConceptCode()
Gets the vendor-defined unique code for this
Concept
object. |
ConceptList[] |
getConceptListsContainingConcept()
Gets all
ConceptList objects that
contain this Concept object. |
ConceptList[] |
getConceptListsContainingConcept(String groupName)
Gets all the
ConceptList objects
that contain this Concept object as an active member and
belong to the specified group. |
ConceptDescription |
getDescription()
Gets a description for this
Concept
object in the base language (Base language is constructed by
concatenating profile options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code). |
ConceptDescription |
getDescription(UsageContext usageContext)
Gets the description for this
Concept
object in a given usage context for the base language (Base language is the
constructed by concatenating profile options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code). |
ConceptDescription |
getDescription(UsageContext usageContext,
Locale locale)
Gets the description for this
Concept
object in a given usage context and Locale . |
Concept[] |
getEquivalentConcepts(int equivalenceType)
Gets all concepts equivalent to this
Concept object using the
requested equivalence method. |
Concept[] |
getEquivalentConcepts(int equivalenceType,
String equivalenceContext,
boolean depthAllFlag)
Gets all
Concept objects equivalent to this Concept object using the
requested equivalence method. |
Concept[] |
getEquivalentConcepts(int equivalenceType,
String equivalenceContext,
boolean depthAllFlag,
CodingSchemeVersion codingSchemeVersion)
Gets all
Concept objects equivalent to this Concept object within a specific
CodingSchemeVersion using the requested equivalence method. |
String |
getExtendedTypeCode()
Gets the extended code associated with this
Concept object. |
ConceptDescription |
getLocallyPreferredDescription()
Gets the locally preferred description for this
Concept
object in the base language (Base language is constructed by concatenating
profile options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code). |
ConceptDescription |
getLocallyPreferredDescription(Locale locale)
Gets the locally preferred description for this
Concept
object in a given Locale . |
ConceptDescription[] |
getLocallySpecifiedDescriptions()
Gets all
ConceptDescription objects for this Concept
object that were specified locally in the base language (Base language is the constructed
by concatenating profile options value for ETS MLS Language Code(In uppercase)
and for ETS MLS Country Code). |
ConceptDescription[] |
getLocallySpecifiedDescriptions(Locale locale)
Gets all
ConceptDescription objects for this Concept
object that were specified locally for the given Locale . |
Concept[] |
getMappedConcepts(CodingSchemeVersion targetVersion,
int equivalenceType,
String extendedTypeCode)
Gets all
Concept objects of a given extended type that are
targets from a given source concept for a specific target version. |
Concept[] |
getMappedConcepts(int equivalenceType,
String extendedTypeCode)
Gets all
Concept objects of a given extended type that are
targets from a given source concept across different versions. |
Concept[] |
getRelatedConcepts(int relation)
Gets all
Concept objects related to this Concept object
as specified. |
Concept[] |
getRelatedConcepts(int relation,
Concept relationType)
Gets all the active
Concept objects related to
this Concept object in the specified
way by an active relationship and by the specified relation Concept . |
Concept[] |
getRelatedConcepts(int relation,
Concept relationType,
String extendedTypeCode)
Gets all
Concept objects of a specified extended type code
and related to this Concept object in the specified way. |
Relationship[] |
getRelationships(int relation)
Gets the relationships this
Concept object participates in. |
Relationship[] |
getRelationships(int relation,
Concept relationType)
Gets the relationships this
Concept object participates in with the
specified relation type. |
ConceptDescription |
getTerminologyPreferredDescription()
Gets the preferred description for this
Concept object as defined by the
terminology vendor. |
ConceptDescription |
getTerminologyPreferredDescription(Locale locale)
Gets the preferred description for this Concept object as defined by the
terminology vendor in a given
Locale . |
ConceptDescription[] |
getTerminologySpecifiedDescriptions()
Gets all the
ConceptDescription objects for this Concept
that were defined by the terminology vendor. |
ConceptDescription[] |
getTerminologySpecifiedDescriptions(Locale locale)
Gets all the
ConceptDescription objects for this Concept
that were defined by the terminology vendor for the given Locale . |
boolean |
isEquivalent(Concept concept,
int equivalenceType)
Indicates if this
Concept object is equivalent to another using the
requested equivalence method. |
boolean |
isEquivalent(Concept concept,
int equivalenceType,
String equivalenceContext,
boolean depthAllFlag)
Indicates if this
Concept object is equivalent to another using the
requested mapping equivalence method. |
boolean |
isRelationType()
Indicates if this
Concept object can be used as a relation type. |
getFinalAssignment, getNextAssignment, getPreviousAssignments, isReassigned
getRetiredDate, getVersionID, isActive, isInternal, isQuarantined, isRetired
getAttributeNames, getAttributes, getAttributes
getCreationDate, getETSID, getImportDate, getLastUpdateDate
static final int TYPE_DESC
getTranslatedMemberDescription(String type)
method.
TYPE_DESC represents description.static final int TYPE_PRINT
getTranslatedMemberDescription(String type)
method.
TYPE_PRINT represents print name.static final String DEFAULT_EQUIVALENCE_CONTEXT
static final int EQUIVALENCE_TYPE_MAPPING
NOTE: Mapping equivalence includes semantic equivalence.
static final int EQUIVALENCE_TYPE_SEMANTIC
static final int EQUIVALENCE_TYPE_EXACT_CONCEPT
Concept
object equality (no
equivalence procedure used).static final int TERMINOLOGY_PREFERRED
static final int LOCAL_PREFERRED
static final int TERMINOLOGY_PREFERRED_AND_LOCAL_PREFERRED
static final int NONE
static final int MAXLENGTH_EXT_TYPE_CODE
ConceptList[] getConceptListsContainingConcept(String groupName) throws ETSBadParameterException, ETSDataException
ConceptList
objects
that contain this Concept
object as an active member and
belong to the specified group.groupName
- Group that this ConceptList
belongs to.ConceptList
objects that contain this Concept
object and belong to the specified group.ETSBadParameterException
- If the parameter passed in is null
,
is an empty String
, or if the group does not exist.ETSDataException
- If a data transport error occurs.ConceptDescription[] getAllDescriptions() throws ETSDataException
Concept
object in the base language (Base language is constructed by concatenating profile
options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).
If the base language is mapped to another language then the descriptions
will be retrieved in the mapped language instead.
See the main package description for more
information regarding mappings.
LocalConceptDescription
s and
TerminologyConceptDescripion
s according to the mapping rules.
This method guaratees that at least one description is returned, which will
be a TerminologyConceptDescripion
object if no
LocalConceptDescription
s are found for this Concept
.ConceptDescription
.ETSDataException
- ConceptDescription[] getAllDescriptions(Locale locale) throws ETSDataException, ETSBadParameterException
Locale
that are
associated with this Concept object. If the given Locale
is
mapped to a different Locale
then the descriptions will be
retrieved in the mapped Locale
instead.
See the main package description for more
information regarding mappings.
LocalConceptDescription
s and
TerminologyConceptDescripion
s according to the mapping rules.
This method guaratees that at least one description is returned, which will
be a TerminologyConceptDescripion
object if no
LocalConceptDescription
s are found for this Concept
.locale
- Locale
associated with the descriptions. The
Locale
should only consist of a language and territory. If
the Locale
object is null
, the retrieved descriptions will
default to the base language (Base language is constructed by concatenating profile options value
for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).ConceptDescription
.ETSDataException
- Locale
parameter is valid, but no language mapping information
exists for that language and territoryETSBadParameterException
- If the passed
Locale
parameter is not valid or the Locale
contains a
variant value.String getConceptCode()
Concept
object.
The maximum length of this attribute is 50.Concept
object.ConceptList[] getConceptListsContainingConcept() throws ETSDataException
ConceptList
objects that
contain this Concept
object.ConceptList
objects, or a zero-length array if no
ConceptList
object contain this Concept
object.ETSDataException
- If a data transport error occurs.ConceptDescription getTerminologyPreferredDescription() throws ETSDataException
Concept
object as defined by the
terminology vendor. Every ETS concept has only one preferred
description. The description is looked up in the base
language (Base language is constructed by concatenating profile options
value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).
If the base language is mapped to another installed
language then the description will be retrieved in the mapped
language instead.
See the main package description for more
information regarding mappings.Concept
object as defined by the
terminology vendor.ETSDataException
- ConceptDescription getTerminologyPreferredDescription(Locale locale) throws ETSDataException, ETSBadParameterException
Locale
. Every ETS concept has only one
preferred description per Locale
.
If the given Locale
is
mapped to a different Locale
then the descriptions will be
retrieved in the mapped Locale
instead.
See the main package description for more
information regarding mappings.locale
- Locale
associated with this description. The
Locale
should only consist of a language and territory. If
the Locale
object is null, the retrieved description will
default to the base language (Base language is constructed by concatenating profile options value
for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).Concept
object as defined by the
terminology vendor in the given Locale
.ETSDataException
- ETSBadParameterException
- If the passed Locale parameter is not
valid or the Locale contains a variant value.Concept[] getRelatedConcepts(int relation) throws ETSBadParameterException, ETSDataException
Concept
objects related to this Concept
object
as specified. Only active Concept
objects related through active relationships
are returned.relation
- Constant, as defined in Relationship
, that
specifies how this Concept
must be related to the results.Concept
objects matching
the specified criteria, or a zero-length array if no active Concept
object matches the criteria.ETSBadParameterException
- If the relation does not match those
defined in Relationship
.ETSDataException
- If a data transport error occurs.Classification[] getClassifications() throws ETSDataException
ETSDataException
Concept[] getRelatedConcepts(int relation, Concept relationType) throws ETSBadParameterException, ETSDataException
Concept
objects related to
this Concept
object in the specified
way by an active relationship and by the specified relation Concept
.
Example,
pneumonia.getRelatedConcepts(Relationship.CONCEPT_IS_RELATIONSHIP_SOURCE,
IS_A)
may return Concept
for respiratory
disease if "IS_A" is a Concept
.relation
- Constant defined in Relationship
, which
specifies how this Concept
object must be related to the results.relationType
- Specifies the relation type.Concept
objects that match the specified
criteria, or a zero-length array if no active Concept
object matches the criteria.ETSBadParameterException
- relationType
concept is not a relationship type.
If relationType
is null
, then all relation types are used.
ETSDataException
- If a data transport error occurs.Relationship[] getRelationships(int relation) throws ETSBadParameterException, ETSDataException
Concept
object participates in.relation
- Constant defined in Relationship
, which
specifies how this Concept
object must be related to the results.Relationship
objects that match the specified criteria, or
a zero-length array if no Relationship
object matches the criteria.ETSBadParameterException
- If the relation does not match those
defined in Relationship
.ETSDataException
- If a data transport error occurs.getRelatedConcepts(int relation)
Relationship[] getRelationships(int relation, Concept relationType) throws ETSBadParameterException, ETSDataException
Concept
object participates in with the
specified relation type.relation
- Constant defined in Relationship
, which
specifies how this Concept
object must be related to the results.relationType
- Specifies the relation type.Relationship
objects that match the specified criteria, or
a zero-length array if no Relationship
object matches the criteria.ETSBadParameterException
- relationType
concept is not a relationship type.
ETSDataException
- If a data transport error occurs.CodingSchemeVersion getCodingSchemeVersion() throws ETSDataException
CodingSchemeVersion
to which this Concept
object belongs.
This method uses server-side caching.CodingSchemeVersion
to which this Concept
object belongs.ETSDataException
- If a data transport error occurs.boolean isRelationType()
Concept
object can be used as a relation type.true
if this Concept
object can be used
as a relation type.ConceptDescription[] getTerminologySpecifiedDescriptions() throws ETSDataException
ConceptDescription
objects for this Concept
that were defined by the terminology vendor.
The descriptions are looked up in the base
language (Base language is constructed by concatenating profile options value
for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).
If the base language is mapped to another installed
language then the description will be retrieved in the mapped
language instead.
See the main package description for more
information regarding mappings.ConceptDescription
object.ETSDataException
- ConceptDescription[] getTerminologySpecifiedDescriptions(Locale locale) throws ETSDataException, ETSBadParameterException
ConceptDescription
objects for this Concept
that were defined by the terminology vendor for the given Locale
.
If the given Locale
is
mapped to a different Locale
then the descriptions will be
retrieved in the mapped Locale
instead.
See the main package description for more
information regarding mappings.locale
- Locale
associated with this description. The
Locale
should only consist of a language and territory. If
the Locale
object is null, the retrieved description will
default to the base language (Base language is constructed by concatenating profile options
value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).ConceptDescription
object.ETSDataException
- ETSBadParameterException
- If the passed Locale parameter is not
valid or the Locale contains a variant value.ConceptDescription[] getLocallySpecifiedDescriptions() throws ETSDataException
ConceptDescription
objects for this Concept
object that were specified locally in the base language (Base language is the constructed
by concatenating profile options value for ETS MLS Language Code(In uppercase)
and for ETS MLS Country Code). If a locally
specified description cannot be found in the base language, it will be
looked up in the mapped language instead.
See the main package description for more
information regarding mappings.ConceptDescription
objects, or a zero-length array.ETSDataException
- ConceptDescription[] getLocallySpecifiedDescriptions(Locale locale) throws ETSDataException, ETSBadParameterException
ConceptDescription
objects for this Concept
object that were specified locally for the given Locale
. If a locally
specified description cannot be found in the requested Locale
, it will be
looked up in the mapped Locale
.
See the main package description for more
information regarding mappings.locale
- Locale
associated with these descriptions. The
Locale
should only consist of a language and territory. If
the Locale
object is null, the retrieved description will
default to the base language (Base language is constructed by concatenating profile options
value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).ConceptDescription
objects, or a zero-length array.ETSDataException
- ETSBadParameterException
- If the passed Locale parameter is not
valid or the Locale contains a variant value.ConceptDescription getDescription() throws ETSDataException
Concept
object in the base language (Base language is constructed by
concatenating profile options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).
If the base language is mapped to another installed
language then the description will be retrieved in the mapped
language instead.
See the main package description for more
information regarding mappings.ConceptDescription
of this Concept
object.ETSDataException
- getDescription(UsageContext usageContext)
ConceptDescription getDescription(UsageContext usageContext) throws ETSDataException
Concept
object in a given usage context for the base language (Base language is the
constructed by concatenating profile options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).
If the base language is mapped to another installed
language then the descriptions will be retrieved in the mapped
language instead.
See the main package description for more
information regarding mappings.usageContext
- Usage context that specifies the first
preference for the description this method provides. A null
argument skips the first step listed below. This argument is optional.Concept
object. The Concept
object to be returned is selected
according to the following preference ordering:
ConceptDescription
object with the specified UsageContext
.ConceptDescription
.ConceptDescription
.null
.ETSDataException
- ConceptDescription getDescription(UsageContext usageContext, Locale locale) throws ETSDataException, ETSBadParameterException
Concept
object in a given usage context and Locale
.
If the given Locale
is
mapped to a different Locale
then the descriptions will be
retrieved in the mapped Locale
instead.
See the main package description for more
information regarding mappings.locale
- Locale
associated with this description. The
Locale
should only consist of a language and territory. If
the Locale
object is null, the retrieved description will
default to the base language.(Base language is constructed by concatenating
profile options value for ETS MLS Language Code(In uppercase)
and for ETS MLS Country Code)usageContext
- Usage context that specifies the first
preference for the description this method provides. A null
argument skips the first step listed below. This argument is optional.Concept
object. The
Concept
object to be returned is selected according to the
following preference ordering:
ConceptDescription
object with the specified
UsageContext
(in the specified Locale
).
ConceptDescription
object with the specified
UsageContext
(in the mapped Locale
).
ConceptDescription
(in the
specified Locale
).
ConceptDescription
(in the
mapped Locale
).
ConceptDescription
(in the
mapped Locale
).
null
.ETSDataException
- ETSBadParameterException
- If the passed Locale parameter is not
valid or the Locale contains a variant value.ConceptDescription getLocallyPreferredDescription() throws ETSNotFoundException, ETSDataException
Concept
object in the base language (Base language is constructed by concatenating
profile options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code).
If the base language is mapped to another installed
language then the descriptions will be retrieved in the mapped
language instead.
See the main package description for more
information regarding mappings.ConceptDescription
object, and null
if a null
locally-preferred description had been prefetched earlier.ETSNotFoundException
- If this Concept
object does not have a
locally-preferred description, and if the locally-preferred description
had not been prefetched.ETSDataException
- ConceptDescription getLocallyPreferredDescription(Locale locale) throws ETSNotFoundException, ETSDataException, ETSBadParameterException
Concept
object in a given Locale
. If a locally preferred description cannot be
found in the requested Locale
, it will be looked up in the mapped Locale.
See the main package description for more
information regarding mappings.locale
- Locale
associated with this description. The
Locale
should only consist of a language and territory. If
the Locale
object is null, the retrieved description will
default to the base language.(Base language is constructed by concatenating
profile options value for ETS MLS Language Code(In uppercase) and for ETS MLS Country Code)ConceptDescription
object, and null
if a null
locally-preferred description had been prefetched earlier.ETSNotFoundException
- If this Concept
object does not have a
locally-preferred description in the requested or mapped Locale.ETSDataException
- ETSBadParameterException
- If the passed Locale parameter is not
valid or the Locale contains a variant value.boolean isEquivalent(Concept concept, int equivalenceType) throws ETSDataException, ETSBadParameterException
Concept
object is equivalent to another using the
requested equivalence method. Use this method when the Concept
objects to be
compared are available, as opposed to just their ETS identifiers.concept
- Concept to be compared.equivalenceType
- Type of equivalence to be used.
See EQUIVALENCE_TYPE_SEMANTIC
.
If its value is EQUIVALENCE_TYPE_MAPPING
, the method
uses default equivalence context DEFAULT_EQUIVALENCE_CONTEXT
and looks for all possible cross map links.true
if the concepts are considered equivalent using the
specified method.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If the concept is null
or if the
equivalence type is not recognized.Concept[] getEquivalentConcepts(int equivalenceType) throws ETSDataException, ETSBadParameterException
Concept
object using the
requested equivalence method.equivalenceType
- Type of equivalence to be used.
See EQUIVALENCE_TYPE_SEMANTIC
.
If its value is EQUIVALENCE_TYPE_MAPPING
, the method
uses default equivalence context (DEFAULT_EQUIVALENCE_CONTEXT
)
and looks for all possible cross map links.Concept
objects that are equivalent to
the passed concept. The array returned by this method includes the passed concept.
The concepts include mapping equivalence concepts, where mapping equivalence
includes semantic equivalence.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If the equivalence type is not recognized.boolean isEquivalent(Concept concept, int equivalenceType, String equivalenceContext, boolean depthAllFlag) throws ETSDataException, ETSBadParameterException
Concept
object is equivalent to another using the
requested mapping equivalence method. This method only determines if
the two concepts are mapping equivalence. To see if they are semantic
equivalence, use isEquivalent(Concept concept, int equivalenceType)
.concept
- Concept to be compared.equivalenceType
- Type of equivalence to be used.
This method only accepts EQUIVALENCE_TYPE_MAPPING
.equivalenceContext
- Equivalence context of the mapping equivalence, such as
"SYSTEM". It has to be registered through the ConceptList
.depthAllFlag
- Flag value of the depth of equivalence assertions that mapping equivalence service goes.
If the flag value is true
, this method considers all concepts in the set
of concepts that are either directly equivalent (explicitly asserted to be equivalent
through a cross map or a change file) or transitively equivalent (inferred to be
equivalent by transitively chaining direct equivalence assertions) to this Concept
.
If the flag value is false
, this method only considers the concepts that are directly
equivalent.true
if the concepts are considered mapping equivalence using the
specified method (mapping equivalence includes semantic equivalence).ETSDataException
- If a data transport error occurs.ETSBadParameterException
- null
.
EQUIVALENCE_TYPE_MAPPING
.
Concept[] getEquivalentConcepts(int equivalenceType, String equivalenceContext, boolean depthAllFlag) throws ETSDataException, ETSBadParameterException
Concept
objects equivalent to this Concept
object using the
requested equivalence method. The concepts include both mapping
and semantic equivalence concepts. To get only the semantic equivalence concepts,
use getEquivalentConcepts(int equivalenceType)
.equivalenceType
- Type of equivalence to be used. This method only accepts
EQUIVALENCE_TYPE_MAPPING
.equivalenceContext
- Equivalence context of the mapping equivalence, such as
"SYSTEM". It has to be registered through the ConceptList
.depthAllFlag
- Flag value of the depth of equivalence assertions that mapping equivalence service goes.
If the flag value is true
, this method considers all concepts in the set
of concepts that are either directly equivalent (explicitly asserted to be equivalent
through a cross map or a change file) or transitively equivalent (inferred to be
equivalent by transitively chaining direct equivalence assertions) to this Concept
.
If the flag value is false
, this method only considers the concepts that are directly
equivalent.Concept
objects that are equivalent to
the passed concept. The array returned by this method includes the passed concept.
The concepts include mapping equivalence concepts, where mapping equivalence
includes semantic equivalence.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If the equivalence type is not EQUIVALENCE_TYPE_MAPPING
,
or if the equivalence context does not exist.Concept[] getEquivalentConcepts(int equivalenceType, String equivalenceContext, boolean depthAllFlag, CodingSchemeVersion codingSchemeVersion) throws ETSDataException, ETSBadParameterException
Concept
objects equivalent to this Concept
object within a specific
CodingSchemeVersion
using the requested equivalence method.equivalenceType
- Type of equivalence to be used.
This method only accepts EQUIVALENCE_TYPE_MAPPING
.equivalenceContext
- Equivalence context of the mapping equivalence, such as
"SYSTEM". It has to be registered through the ConceptList
.depthAllFlag
- Flag value of the depth of equivalence assertions that mapping equivalence service goes.
If the flag value is true
, this method considers all concepts in the set
of concepts that are either directly equivalent (explicitly asserted to be equivalent
through a cross map or a change file) or transitively equivalent (inferred to be
equivalent by transitively chaining direct equivalence assertions) to this Concept
.
If the flag value is false
, this method only considers the concepts that are directly
equivalent.codingSchemeVersion
- Target coding scheme version where the method is looking for
the mapping equivalence concepts.Concept
objects that are equivalent to
the passed concept. The array returned by this method includes the passed concept.
The concepts include mapping equivalence concepts, where mapping equivalence
includes semantic equivalence.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If the equivalence type is not EQUIVALENCE_TYPE_MAPPING
,
or if the equivalence context does not exist.String getExtendedTypeCode()
Concept
object.
The maximum length of this attribute is 50.Concept
object.ETSDataException
- If a data transport error occurs.Concept[] getRelatedConcepts(int relation, Concept relationType, String extendedTypeCode) throws ETSBadParameterException, ETSDataException
Concept
objects of a specified extended type code
and related to this Concept
object in the specified way.
Only active Concept
objects related through active relationships
are returned.relation
- Constant defined in Relationship
, which
specifies how this Concept
object must be related to the results.relationType
- Relation type. If null
, all relation types are used.extendedTypeCode
- Extended type code of the related concepts.
If null
, defaults to getRelatedConcepts(int relation, Concept relationType)
.Concept
objects.ETSBadParameterException
- extendedTypeCode
is an empty String
, or if the
length is more than 6 characters.
ETSDataException
- If a data transport error occurs.Concept[] getMappedConcepts(int equivalenceType, String extendedTypeCode) throws ETSDataException, ETSNotFoundException, ETSBadParameterException
Concept
objects of a given extended type that are
targets from a given source concept across different versions.
The valid values of equivalenceType are EQUIVALENCE_TYPE_EXACT_CONCEPT
and EQUIVALENCE_TYPE_SEMANTIC.equivalenceType
- Constant defined in Concept
, which
denotes exact Concept
object equality (no equivalence procedure used).
Concepts are only equivalent using this method if they have the same ConceptID
.extendedTypeCode
- Extended type code of the target concepts.Concept
objects.ETSBadParameterException
- If equivalenceType
is not
EQUIVALENCE_TYPE_EXACT_CONCEPT or EQUIVALENCE_TYPE_SEMANTIC.ETSDataException
- If a data transport error occurs.ETSNotFoundException
- If concepts of a given extended type that are
targets from a given source concept across different versions are not found.Concept[] getMappedConcepts(CodingSchemeVersion targetVersion, int equivalenceType, String extendedTypeCode) throws ETSDataException, ETSNotFoundException, ETSBadParameterException
Concept
objects of a given extended type that are
targets from a given source concept for a specific target version.
The valid values of equivalenceType are EQUIVALENCE_TYPE_EXACT_CONCEPT and
EQUIVALENCE_TYPE_SEMANTIC.targetVersion
- CodingSchemeVersion
of the target concepts.equivalenceType
- Constant defined in Concept
, which
denotes exact Concept
object equality (no equivalence procedure used).
Concepts are only equivalent using this method if they have the
same ConceptID
.extendedTypeCode
- Extended type code of the target concepts.Concept
objects.ETSBadParameterException
- If the equivalenceType
is not
EQUIVALENCE_TYPE_EXACT_CONCEPT or EQUIVALENCE_TYPE_SEMANTIC, or
if the targetVersion
is null
.ETSDataException
- If a data transport error occurs.ETSNotFoundException
- If concepts of a given extended type that are
targets from a given source concept for a specific target version are not found.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved