public interface CodingSchemeVersion extends ConceptContainer, AttributableETSComponent
CodingScheme
object, such as
SNOMED-CT July 2004.CodingScheme
,
ConceptContainer
Modifier and Type | Method and Description |
---|---|
Concept[] |
findConceptsByMatchingDescPatternAndConTypeCode(String pattern,
String extendedTypeCode)
Retrieves the
Concept objects that have a defined
TerminologyConceptDescription or
LocalConceptDescription that contains
the pattern within the description text, and the concept
is of the specified extendedTypeCode . |
Concept[] |
findConceptsByMatchingDescPatternAndDescTypeCode(String pattern,
String extendedTypeCode)
Retrieves the
Concept objects that have a
defined TerminologyConceptDescription that contains
the specified pattern within the description text,
and the TerminologyConceptDescription
is of the specified extendedTypeCode . |
CodingSchemeVersion[] |
getAllVersions()
Gets all versions of the
CodingScheme object to which this
CodingSchemeVersion object belongs. |
CodingScheme |
getCodingScheme()
Gets the
CodingScheme object associated with this
CodingSchemeVersion object. |
Concept |
getConceptByConceptCode(String conceptCode)
Gets a concept in this
CodingSchemeVersion object based
on the specified vendor-defined unique concept code. |
Concept[] |
getConceptsByExtendedTypeCode(String extendedTypeCode)
Retrieves the
Concept objects of
the specified extendedTypeCode . |
CodingSchemeVersion |
getDefaultVersion()
Gets the default version of
CodingScheme object to which this
CodingSchemeVersion object belongs. |
String |
getDescription()
Gets the description of this
CodingSchemeVersion object. |
CodingSchemeVersion |
getLatestActiveVersion()
Gets the latest active version of the
CodingScheme object to which
this CodingSchemeVersion object belongs. |
Date |
getLoadDate()
Gets the date when this
CodingSchemeVersion object
was published to the active repository. |
LocaleMap[] |
getLocaleMaps()
Gets an array of all the
LocaleMap objects for this
CodingSchemeVersion object, or a zero-length array if there are none. |
String |
getName()
Gets the name of this
CodingSchemeVersion object. |
CodingSchemeVersion |
getNextVersion()
Gets the next chronological version of the
CodingScheme
object to which this CodingSchemeVersion object belongs. |
CodingSchemeVersion |
getPreviousVersion()
Gets the previous chronological version of the
CodingScheme
object to which this CodingSchemeVersion object belongs. |
Concept[] |
getRelationshipTypes()
Gets the set of all
Concept objects that can act as relationships among
this CodingSchemeVersion objects. |
Date |
getRetiredDate()
Gets the date when the status of this
CodingSchemeVersion object
was set to retired. |
boolean |
isActive()
Indicates if the
CodingSchemeVersion object is
active. |
boolean |
isDefaultVersion()
Indicates if this
CodingSchemeVersion object is the
default version within its parent CodingScheme . |
boolean |
isQuarantined()
Indicates if the
CodingSchemeVersion object is quarantined. |
boolean |
isRetired()
Indicates if this
CodingSchemeVersion object is
retired. |
boolean |
isValidConceptCode(String conceptCode)
Checks the vendor-defined unique concept code against the
CodingSchemeVersion
and indicates if a matching Concept exists. |
contains, getAllConcepts, getConceptsWithAttribute, getConceptsWithAttributeName, getMatchingConceptsByDescriptionTerm, getMatchingConceptsByDescriptionTerm, getNumberOfConcepts
getAttributeNames, getAttributes, getAttributes
getCreationDate, getETSID, getImportDate, getLastUpdateDate
String getDescription()
CodingSchemeVersion
object.
The maximum length of this attribute is 240.CodingSchemeVersion
object.String getName()
CodingSchemeVersion
object.
The maximum length of this attribute is 240.CodingSchemeVersion
object.CodingScheme getCodingScheme() throws ETSDataException
CodingScheme
object associated with this
CodingSchemeVersion
object.
This method uses server-side caching.CodingScheme
of this
CodingSchemeVersion
object.ETSDataException
- If a data transport error occurs.Concept[] getRelationshipTypes() throws ETSDataException
Concept
objects that can act as relationships among
this CodingSchemeVersion
objects. This method retrieves every concept
with the relationship type flag set to true
.Concept
objects that can act as relationships among
this CodingSchemeVersion
objects, or a zero-length array if
Concept
objects that cannot act as relationships within
this CodingSchemeVersion
objects.ETSDataException
- If a data transport error occurs.boolean isValidConceptCode(String conceptCode) throws ETSDataException, ETSBadParameterException
CodingSchemeVersion
and indicates if a matching Concept
exists.conceptCode
- Vendor-defined unique concept code.true
if a matching Concept
exists
in this CodingSchemeVersion
object.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If an invalid concept code is passed.Concept getConceptByConceptCode(String conceptCode) throws ETSNotFoundException, ETSDataException, ETSBadParameterException
CodingSchemeVersion
object based
on the specified vendor-defined unique concept code.
This method uses server-side caching.conceptCode
- Vendor-defined unique concept code.ETSNotFoundException
- If the code does not match any
concepts in CodingSchemeVersion
.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If an invalid concept code is passed.CodingSchemeVersion[] getAllVersions() throws ETSDataException
CodingScheme
object to which this
CodingSchemeVersion
object belongs.CodingScheme
object in ascending order
of load date.ETSDataException
- If a data transport error occurs.CodingSchemeVersion getDefaultVersion() throws ETSDataException
CodingScheme
object to which this
CodingSchemeVersion
object belongs.
This method returns this CodingSchemeVersion
object, if
it is the default. This method uses server-side caching.CodingScheme
object.ETSDataException
- If a data transport error occurs.CodingSchemeVersion getLatestActiveVersion() throws ETSDataException, ETSNotFoundException
CodingScheme
object to which
this CodingSchemeVersion
object belongs.CodingScheme
object.ETSNotFoundException
- If there are no active versions of the
coding scheme.ETSDataException
- If a data transport error occurs.Date getLoadDate()
CodingSchemeVersion
object
was published to the active repository.CodingSchemeVersion
object
was published to the active repository.CodingSchemeVersion getNextVersion() throws ETSNotFoundException, ETSDataException
CodingScheme
object to which this CodingSchemeVersion
object belongs.CodingScheme
object.ETSNotFoundException
- If there are no newer published versions than
the current version.ETSDataException
- If a data transport error occurs.CodingSchemeVersion getPreviousVersion() throws ETSDataException, ETSNotFoundException
CodingScheme
object to which this CodingSchemeVersion
object belongs.CodingScheme
object.ETSNotFoundException
- If there are no earlier published versions.ETSDataException
- If a data transport error occurs.Date getRetiredDate() throws ETSNotFoundException
CodingSchemeVersion
object
was set to retired. This is the real
system date when the object was retired, or a date that was specified
when the object was retired.CodingSchemeVersion
object was set to retired.ETSNotFoundException
- If the CodingSchemeVersion
object is still active.boolean isDefaultVersion()
CodingSchemeVersion
object is the
default version within its parent CodingScheme
.true
if this CodingSchemeVersion
object
is the default within its parent CodingScheme
.boolean isRetired()
CodingSchemeVersion
object is
retired.true
if this CodingSchemeVersion
object is retired.boolean isActive()
CodingSchemeVersion
object is
active.true
if this CodingSchemeVersion
object is active.boolean isQuarantined()
CodingSchemeVersion
object is quarantined.true
if this CodingSchemeVersion
object is quarantined.Concept[] findConceptsByMatchingDescPatternAndDescTypeCode(String pattern, String extendedTypeCode) throws ETSBadParameterException, ETSDataException
Concept
objects that have a
defined TerminologyConceptDescription
that contains
the specified pattern
within the description text,
and the TerminologyConceptDescription
is of the specified extendedTypeCode
.
LocalConceptDescription
objects
do not have a defined extendedTypeCode
.pattern
- Oracle Text string matching pattern. See
ConceptContainer.getMatchingConceptsByDescriptionTerm(String)
.extendedTypeCode
- Extended type code of a concept
to filter matching description.ETSBadParameterException
- null
or an empty String
.
pattern
is less than three alphanumeric characters.
extendedTypeCode
is more than six characters.ETSDataException
- If a data transport error occurs.Concept[] findConceptsByMatchingDescPatternAndConTypeCode(String pattern, String extendedTypeCode) throws ETSBadParameterException, ETSDataException
Concept
objects that have a defined
TerminologyConceptDescription
or
LocalConceptDescription
that contains
the pattern
within the description text, and the concept
is of the specified extendedTypeCode
.pattern
- Oracle Text string matching pattern.extendedTypeCode
- Extended type code of a concept
to filter matching description.ETSBadParameterException
- null
or an empty String
.
pattern
is less than three alphanumeric characters.
extendedTypeCode
is more than six characters.ETSDataException
- If a data transport error occurs.ConceptContainer.getMatchingConceptsByDescriptionTerm(String)
Concept[] getConceptsByExtendedTypeCode(String extendedTypeCode) throws ETSBadParameterException, ETSDataException
Concept
objects of
the specified extendedTypeCode
.extendedTypeCode
- Extended type code for a concept.Concept
objects.ETSBadParameterException
- null
or an empty String
.
extendedTypeCode
is more than six characters.ETSDataException
- If a data transport error occurs.LocaleMap[] getLocaleMaps() throws ETSDataException
Gets an array of all the LocaleMap
objects for this
CodingSchemeVersion
object, or a zero-length array if there are none.
Note that a zero-length array indicates that this CodingSchemeVersion
is not usable. This can be rectified by:
LocaleMap
s; orETSAdministrationService
to create
LocaleMap
s.Note: The country code of the Locale will be as per
ISO 3166 specification(i.e 2-letter country codes defined in ISO 3166) and
the language code of the Locale will be as per ISO 639 specification
(i.e 2-letter language codes defined in ISO 639).
ETS global wild cards for language code(i.e XX
) and country code
(i.e XX
) are also allowed for Locale. System will
consider these wild cards as a substitution for any
.
LocaleMap
objects for this
CodingSchemeVersion
object, or a zero-length array if there are none.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