Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
public class MedDRALoaderImpl extends BaseLoader implements MedDRA_Loader |
This defines a load and validation methods and creates initialized class attributes name and description. The name of this interface will eventually be used by the LexEVS extension function to call the loader into existence. (Loaders are always extensions to LexEVS).
...
This allows the BaseLoader functions to access the results of the load of the MedDRA source file into a LexEVS coding scheme object.
Code Block | ||||
---|---|---|---|---|
| ||||
@Override
public void load(URI uri, URI cuiUri, boolean stopOnErrors, boolean async) throws LBParameterException,
LBInvocationException {
this.getOptions().getBooleanOption(FAIL_ON_ERROR_OPTION).setOptionValue(stopOnErrors);
this.getOptions().getBooleanOption(ASYNC_OPTION).setOptionValue(async);
this.getOptions().getURIOption(UMLSCUI_FILE_OPTION).setOptionValue(cuiUri);
UMLSCUISource = cuiUri;
this.load(uri);
} |
This method adds a UMLS CUI source file option for the end user to load as a supplement to the regular MedDRA load.
Less Structure Beyond the Loader, BaseLoader Implementation and Extension
...