public interface MapSet
Defines a set of cross maps from source coding scheme version to target coding scheme version. For example, a map set may define set of cross maps to relate a single version or release of ICD9-April2000 (the source coding scheme version) to a single version or release of SNOMED (the target coding scheme version).
Modifier and Type | Field and Description |
---|---|
static String |
MULTIPLICITY_ANY
String constant that represents the
multiplicity of a map set. |
static String |
MULTIPLICITY_CHOICE
String constant that represents the multiplicity
of a map set. |
static String |
MULTIPLICITY_MULTIPLE
String constant that represents the
multiplicity of a map set. |
static String |
MULTIPLICITY_MULTIPLE_XOR_CHOICE
String constant that represents the
multiplicity of a map set. |
static String |
MULTIPLICITY_SINGLE
String constant that is used to represent
the multiplicity of a map set. |
static String |
MULTIPLICITY_UNSPECIFIED
String constant that represents the
multiplicity of a map set. |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Gets the code assigned to this
MapTarget object by the MapTarget vendor. |
CrossMap[] |
getCrossMaps()
Gets an array of all the cross maps available
in this
MapSet object. |
CrossMap[] |
getCrossMaps(Concept source)
Gets an array of all cross maps available for
the specified source concept.
|
CrossMap |
getDefaultCrossMap(Concept source)
Gets the default cross map for the specified source concept.
|
String |
getDescription()
Gets the optional description of this
MapTarget object. |
MapTarget |
getMapTargetByTargetCode(String code)
Gets the
MapTarget object that matches the specified vendor-assigned target code. |
MapTarget[] |
getMapTargets()
Gets an array of all possible cross map targets for this
MapSet object. |
String |
getMultiplicity()
Gets the code that represents multiplicity of this
MapSet object. |
String |
getName()
Gets the unique name of this
MapSet object. |
String |
getRealmCode()
Gets the realm code of this
MapSet object. |
String |
getRuleType()
Gets the type of machine-readable rule used in
the
TargetRule column of the MapTarget file or the
MapRule column of the CrossMap file. |
CodingSchemeVersion |
getSourceVersion()
Gets the source coding scheme version.
|
CodingSchemeVersion |
getTargetVersion()
Gets the target coding scheme version.
|
String |
getVendor()
Gets the name of the vendor of this
MapTarget object. |
static final String MULTIPLICITY_UNSPECIFIED
String
constant that represents the
multiplicity of a map set. This constant is returned by getMultiplicity()
.
The value of this constant means that the multiplicity of mappings is unspecified.
static final String MULTIPLICITY_SINGLE
String
constant that is used to represent
the multiplicity of a map set. This constant is returned by getMultiplicity()
.
The value of this constant means that each source in the map set maps to exactly one target
concept.
static final String MULTIPLICITY_MULTIPLE
String
constant that represents the
multiplicity of a map set. This constant is returned by getMultiplicity()
.
The value of this constant means that some sources in the map set may map to a set of target concepts,
but only one option is available for each source.
static final String MULTIPLICITY_MULTIPLE_XOR_CHOICE
String
constant that represents the
multiplicity of a map set. This constant is returned by getMultiplicity()
.
The value of this constant means that some sources in the map set may provide one-to-many mappings,
some may provide a choice between one-to-one mappings, but none will provide
a choice of one-to-many mappings.
static final String MULTIPLICITY_CHOICE
String
constant that represents the multiplicity
of a map set. This constant is returned by getMultiplicity()
. The
value of this constant means that some sources in the map set may provide several one-to-one
mappings, but there are no one-to-many mappings.
static final String MULTIPLICITY_ANY
String
constant that represents the
multiplicity of a map set. This constant is returned by getMultiplicity()
.
The value of this constant means that all combinations of mapping types are possible, including
choices of one-to-many mappings.
CrossMap[] getCrossMaps() throws ETSDataException
Gets an array of all the cross maps available
in this MapSet
object. This method returns an empty array if this MapSet
object
does not contain any cross maps.
MapSet
object,
or an empty array if this MapSet
object
does not contain any cross maps.ETSDataException
- If a data transport error occurs.CrossMap[] getCrossMaps(Concept source) throws ETSDataException, ETSBadParameterException
Gets an array of all cross maps available for
the specified source concept. A maximum of one cross map is returned if
the multiplicity of the map set is set to MULTIPLICITY_MULTIPLE
or
MULTIPLICITY_SINGLE
. This method returns an empty array if
cross maps does not exist for the specified source concept.
source
- Source concept.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If an invalid parameter is passed.CodingSchemeVersion getSourceVersion() throws ETSDataException
Gets the source coding scheme version.
ETSDataException
- If a data transport error occurs.CodingSchemeVersion getTargetVersion() throws ETSDataException
Gets the target coding scheme version.
ETSDataException
- If a data transport error occurs.CrossMap getDefaultCrossMap(Concept source) throws ETSDataException, ETSNotFoundException, ETSBadParameterException
Gets the default cross map for the specified source concept.
source
- Source concept.ETSNotFoundException
- If the required cross map does not exist.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If an invalid parameter is passed.MapTarget[] getMapTargets() throws ETSDataException
Gets an array of all possible cross map targets for this MapSet
object.
MapSet
object.ETSDataException
- If a data transport error occurs.String getMultiplicity()
Gets the code that represents multiplicity of this
MapSet
object. The cross map importer guarantees that cross maps do not violate
their stated multiplicity. The importer guarantees that each cross map
source is mapped to one target.
The maximum length of this attribute is 12.
MapSet
object.String getRealmCode()
Gets the realm code of this MapSet
object. The realm code
specifies a context (Example, geographical, political, and organizational) in which
a particular MapSet
is applicable. At present, realm code is only relevant
to SNOMED cross map sets. The maximum length of this attribute is 30.
MapSet
object.String getRuleType()
Gets the type of machine-readable rule used in
the TargetRule
column of the MapTarget
file or the
MapRule
column of the CrossMap
file. The machine-readable
rule is used as a guideline to a rule processor. It specifies how the
rule processor should process the rules.
This method is included to support future functionality in
SNOMED CT and other map set vendors who wish to implement rules. The map
set vendor defines the rule type. This method will return null
if the terminology does not define any rule type.
null
.String getName()
MapSet
object.
The maximum length of this attribute is 255.MapSet
object.MapTarget getMapTargetByTargetCode(String code) throws ETSDataException, ETSNotFoundException, ETSBadParameterException
Gets the MapTarget
object that matches the specified vendor-assigned target code.
Example of a map set vendor is SNOMED-CT.
code
- Vendor assigned target code.MapTarget
that matches the specified vendor assigned target code.ETSNotFoundException
- If the required MapTarget
does not exist in this MapTarget
object.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If an invalid parameter is passed.String getCode()
MapTarget
object by the MapTarget
vendor.
The maximum length of this attribute is 30.MapTarget
object by the MapTarget
vendor.String getVendor()
MapTarget
object.
The maximum length of this attribute is 50.MapTarget
object.String getDescription()
MapTarget
object. This method returns null
if this MapTarget
object does not have any optional description.
The maximum length of this attribute is 255.MapTarget
object, or null
if
this MapTarget
object does not have any optional description.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved