public interface CodingScheme extends ETSComponent
CodingScheme
objects act as parent for
CodingSchemeVersion
, which represents actual released versions
of a CodingScheme
.
There can be zero or more CodingSchemeVersion
objects within a
CodingScheme
.CodingSchemeVersion
Modifier and Type | Field and Description |
---|---|
static String |
CODINGSCHEME_MODEL_GENERIC
Constant to represent a
GENERIC CodingScheme model. |
static String |
CODINGSCHEME_MODEL_SNOMED
Constant to represent a
SNOMED CodingScheme model. |
Modifier and Type | Method and Description |
---|---|
Concept[] |
bulkFindConcepts(String[] etsIds)
Deprecated.
This method has been replaced by
findConcepts(String[], boolean) . |
Concept[] |
bulkFindConcepts(String[] etsIds,
boolean prefetchDescriptions)
Deprecated.
This method has been replaced by
findConcepts(String[], boolean) . |
Concept[] |
findConcepts(String[] etsIds,
boolean prefetchDescriptions)
Finds the set of concepts within a coding scheme.
|
CodingSchemeVersion[] |
getAllVersions()
Gets all the
CodingSchemeVersion objects in this
CodingScheme object. |
CodingSchemeVersion |
getDefaultVersion()
Gets the default
CodingSchemeVersion in this
CodingScheme object. |
String |
getDescription()
Gets the description of this
CodingScheme object. |
CodingSchemeVersion |
getLastActiveVersion()
Gets the last (chronological) active version of this
CodingScheme
object. |
String |
getName()
Gets the name of this
CodingScheme object. |
String |
getOID()
Gets the object identifier (OID).
|
CodingSchemeVersion |
getVersion(String name)
Gets the
CodingSchemeVersion object that belongs to this CodingScheme
object and has the specified name. |
boolean |
isEditable()
Indicates if this
CodingScheme is editable. |
getCreationDate, getETSID, getImportDate, getLastUpdateDate
static final String CODINGSCHEME_MODEL_GENERIC
GENERIC
CodingScheme
model.static final String CODINGSCHEME_MODEL_SNOMED
SNOMED
CodingScheme
model.String getDescription()
CodingScheme
object.
The maximum length of this attribute is 240.CodingScheme
object.String getName()
CodingScheme
object.
The maximum length of this attribute is 240.CodingScheme
object.String getOID()
CodingSchemeVersion getLastActiveVersion() throws ETSNotFoundException, ETSDataException
CodingScheme
object.CodingScheme
object.ETSNotFoundException
- If there are no active versions of this
CodingScheme
object.ETSDataException
- If a data transport error occurs.CodingSchemeVersion getVersion(String name) throws ETSNotFoundException, ETSDataException, ETSBadParameterException
CodingSchemeVersion
object that belongs to this CodingScheme
object and has the specified name. This method uses server-side caching.name
- Name of the CodingSchemeVersion
object.CodingSchemeVersion
object in this CodingScheme
object with the specified name.ETSNotFoundException
- If there are no versions with the requested name.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If the parameter passed is an invalid name.Concept[] findConcepts(String[] etsIds, boolean prefetchDescriptions) throws ETSBadParameterException, ETSDataException
etsIds
- Array of ETS identifiers to validate.prefetchDescriptions
- If true
, the method attempts a
bulk prefetch of the terminology preferred descriptions for
the retrieved concepts.Concept
objects corresponding to the array of
etsIDs
that was passed in. If an etsID
does not match a
concept in this CodingScheme
, the corresponding index of the
return array is null
.ETSBadParameterException
- If the etsIds
array contains
a null
value.ETSDataException
- If a data transport error occurs.Concept[] bulkFindConcepts(String[] etsIds, boolean prefetchDescriptions) throws ETSBadParameterException, ETSDataException
findConcepts(String[], boolean)
.Concept[] bulkFindConcepts(String[] etsIds) throws ETSBadParameterException, ETSDataException
findConcepts(String[], boolean)
.CodingSchemeVersion[] getAllVersions() throws ETSDataException
CodingSchemeVersion
objects in this
CodingScheme
object.CodingSchemeVersion
objects
in this CodingScheme
object, or a zero-length array if no such
version of CodingScheme
exists.ETSDataException
- If a data transport error occurs.CodingSchemeVersion getDefaultVersion() throws ETSNotFoundException, ETSDataException
CodingSchemeVersion
in this
CodingScheme
object. This method uses server-side
caching.CodingScheme
object.ETSNotFoundException
- If the CodingScheme
object does not have
any loaded versions, or if no version is marked as default.ETSDataException
- If a data transport error occurs.boolean isEditable() throws ETSDataException
CodingScheme
is editable.true
if this CodingScheme
is editable.ETSDataException
- If a data transport error occurrs.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved