public class HL7LoaderImpl extends BaseLoader implements HL7_Loader
BaseLoader.DoConversion
Modifier and Type | Field and Description |
---|---|
java.lang.String |
metaDataFileLocation |
ASYNC_OPTION, FAIL_ON_ERROR_OPTION, inUse, LOADER_POST_PROCESSOR_OPTION, LOADER_PREFERENCE_FILE_OPTION, MANIFEST_FILE_OPTION, SUPPLEMENT_OPTION
description, name
Constructor and Description |
---|
HL7LoaderImpl() |
Modifier and Type | Method and Description |
---|---|
protected ExtensionDescription |
buildExtensionDescription()
Builds the extension description.
|
protected OptionHolder |
declareAllowedOptions(OptionHolder holder) |
protected URNVersionPair[] |
doLoad() |
protected LgLoggerIF |
getLogger() |
java.lang.String |
getMetaDataFileLocation() |
OntologyFormat |
getOntologyFormat()
Return the ontology format the loader can handle
|
void |
load(java.lang.String dbName,
boolean stopOnErrors,
boolean async) |
void |
setMetaDataFileLocation(java.lang.String metaDataFileLocation) |
void |
validate(java.lang.String dbName,
int validationLevel) |
addBooleanOptionValue, baseLoad, buildRootNode, clearLog, constructVersionPairsFromCodingSchemes, createCachingMessageDirectorIF, createDefaultInserter, createDefaultInserter, doesOptionExist, doIndex, doPostProcessing, doRegister, doTransitiveAndIndex, doTransitiveTable, getAbsoluteCodingSchemeVersionReferenceFromOptionString, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getDescription, getLoaderPreferences, getLog, getManifestUtil, getMessageDirector, getName, getOptions, getPostProcessor, getProvider, getResourceUri, getStatus, getStringFromURI, getVersion, isDoApplyPostLoadManifest, isDoComputeTransitiveClosure, isDoIndexing, isDoRegister, isDoRemoveOnFailure, isInUse, load, lock, persistCodingSchemeToDatabase, persistCodingSchemeToDatabase, register, register, setCachingMessageDirectorIF, setCodingSchemeManifest, setCodingSchemeManifestURI, setCodingSchemeReferences, setDoApplyPostLoadManifest, setDoComputeTransitiveClosure, setDoIndexing, setDoRegister, setDoRemoveOnFailure, setInUse, setLoaderPreferences, setLoaderPreferences, setManifestUtil, setOptions, setResourceUri, setStatus, unlock, urnVersionPairToAbsoluteCodingSchemeVersionReference
getExtensionDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearLog, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getLoaderPreferences, getLog, getOptions, getStatus, load, setCodingSchemeManifest, setCodingSchemeManifestURI, setLoaderPreferences, setLoaderPreferences
getDescription, getName, getProvider, getVersion
protected LgLoggerIF getLogger()
getLogger
in class BaseLoader
public void load(java.lang.String dbName, boolean stopOnErrors, boolean async) throws LBParameterException, LBInvocationException
load
in interface HL7_Loader
dbName
- Location of the source Access database.
Example: C:/rim0216d-rim-vocab.mdbstopOnErrors
- True means stop if any load error is detected. False means
attempt to load what can be loaded if recoverable errors are
encountered.async
- Flag controlling whether load occurs in the calling thread. If
true, the load will occur in a separate asynchronous process.
If false, this method blocks until the load operation
completes or fails. Regardless of setting, the getStatus and
getLog calls are used to fetch results.LBParameterException
LBInvocationException
public void validate(java.lang.String dbName, int validationLevel) throws LBException
validate
in interface HL7_Loader
dbName
- Location of the source Access database.
Example: C:/rim0216d-rim-vocab.mdbvalidationLevel
- Loader-specific level of validation; 0 = verify that the
database and target terminologies are present and accessible.LBException
protected OptionHolder declareAllowedOptions(OptionHolder holder)
declareAllowedOptions
in class BaseLoader
protected URNVersionPair[] doLoad() throws CodingSchemeAlreadyLoadedException
doLoad
in class BaseLoader
CodingSchemeAlreadyLoadedException
protected ExtensionDescription buildExtensionDescription()
AbstractExtendable
buildExtensionDescription
in class AbstractExtendable
public java.lang.String getMetaDataFileLocation()
public void setMetaDataFileLocation(java.lang.String metaDataFileLocation)
public OntologyFormat getOntologyFormat()
Loader
getOntologyFormat
in interface Loader
getOntologyFormat
in class BaseLoader