Page History
...
Please view the LexEVS 5.1 Scope Documentdocument.
GForge items
Please view the LexEVS 5.1 GForge items.
...
An interface to LexEVS Value Domain and Pick List Services could be obtained using an instance of LexBigService.
Information | getValueDomainService() |
---|---|
Description: | Returns an interface to LexEVS Value Domain API. |
Input: | none |
Output: | org.lexgrid.valuedomain.LexEVSValueDomainServices |
Exception: | LBException |
Implementation Details: | Implementation: |
Information | getPickListService() |
---|---|
Description: | Returns an interface to LexEVS Pick List API. |
Input: | none |
Output: | org.lexgrid valuedomain.LexEVSPickListServices |
Exception: | LBException |
Implementation Details: | Implementation: |
LexEVS Value Domain Service API
...
- Loading Value Domain
There are three methods that could be used to load Value Domain Definitions :
Information | loadValueDomain(ValueDomainDefinition vddef, String systemReleaseURI) |
---|---|
Description: | Loads supplied valueDomainDefinition object |
Input: | org.LexGrid.emf.valueDomains.ValueDomainDefinition, |
Output: | none |
Exception: | LBException |
Implementation Details: | Implementation: |
Information | loadValueDomain(InputStream inputStream,boolean failOnAllErrors)) |
---|---|
Description: | Loads valueDomainDefinitions found in inputStream |
Input: | java.io.InputStream |
Output: | none |
Exception: | Exception |
Implementation Details: | Implementation: |
Information | loadValueDomain(String xmlFileLocation, boolean failOnAllErrors) | |
---|---|---|
Description: | Loads valueDomainDefinitions found in input xml file | |
Input: | java.lang.String | |
Output: | none | |
Exception: | Exception | |
Implementation Details: | Implementation: |
Validate XML resources
Information | validate(URI uri, int valicationLevel) throws LBParameterException |
---|---|
Description: | Perform validation of the candidate resource without loading data. |
Input: | java.net.URI |
Output: | none |
Exception: | Org.LexGrid.LexBIG.Exceptions.LBParameterException |
Implementation Details: | Implementation: |
Query Value Domain
Information | isConceptInDomain(String entityCode, URI valueDomainURI) |
---|---|
Description: | Determine if the supplied entity code is a valid result for the supplied value domain and, if it is, return the particular codingSchemeVersion that was used. |
Input: | java.lang.String, |
Output: | org.LexGrid.LexBIG.DataModel.Core. AbsoluteCodingSchemeVersionReference |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Information | isConceptInDomain(String entityCode, URI entityCodeNamespace, CodingSchemeVersionOrTag csvt, URI valueDomainURI) |
---|---|
Description: | Similar to previous method, this method determine if the supplied entity code and entity namespace is a valid result for the supplied value domain when resolved against supplied Coding Scheme Version or Tag. |
Input: | java.lang.String, |
Output: | org.LexGrid.LexBIG.DataModel.Core. AbsoluteCodingSchemeVersionReference |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Information | resolveValueDomain(URI valueDomainURI, AbsoluteCodingSchemeVersionReferenceList csVersionList) |
---|---|
Description: | Resolve a value domain using the supplied set of coding scheme versions. |
Input: | java.net.URI, |
Output: | org.lexgrid.valuedomain.dto.ResolvedValueDomainDefinition |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Information | isSubDomain(URI childValueDomainURI, URI parentValueDomainURI) |
---|---|
Description: | Check whether childValueDomainURI is a child of parentValueDomainURI. |
Input: | java.net.URI, |
Output: | boolean |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Information | getValueDomainDefinition(URI valueDomainURI) |
---|---|
Description: | Returns value domain definition for supplied value domain URI. |
Input: | java.net.URI |
Output: | org.LexGrid.emf.valueDomains.ValueDomainDefinition |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Information | listValueDomains(String valueDomainName) | ||
---|---|---|---|
Description: | Return the URI's for the value domain definition(s) for the supplied domain name. If the name is null, returns everything. If the name is not null, returns the value domain(s) that have the assigned name. | ||
Input: | java.lang.String | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="aac2d579dfb06325-f123ab91-448e477c-9178b32b-fc81658f808e7dd58baef84f"><ac:plain-text-body><![CDATA[ | Output: | java.net.URI[] | ]]></ac:plain-text-body></ac:structured-macro> |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException | ||
Implementation Details: | Implementation: | ]]></ac:plain-text-body></ac:structured-macro> |
Information | getAllValueDomainsWithNoNames() | ||
---|---|---|---|
Description: | Return the URI's of all unnamed value domain definition(s). | ||
Input: | none | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d4c57cfd0f6f2b0e-87d05c70-485244d6-b9119922-5248badee14c5f22030edbf4"><ac:plain-text-body><![CDATA[ | Output: | java.net.URI[] | ]]></ac:plain-text-body></ac:structured-macro> |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException | ||
Implementation Details: | Implementation: | ]]></ac:plain-text-body></ac:structured-macro> |
Information | getValueDomainEntitiesForTerm(String term, URI valueDomainURI, String matchAlgorithm) |
---|---|
Description: | Resolves the value domain supplied and restricts to the term and matchAlgorith supplied. Return object ResolvedValueDomainCodedNodeSet contains the codingScheme URI and Version that was used to resolve and the CodedNodeSet. |
Input: | java.lang.String, |
Output: | org.lexgrid.valuedomain.dto.ResolvedValueDomainCodedNodeSet |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Information | getCodingSchemesInValueDomain(URI valueDomainURI) |
---|---|
Description: | Returns list of coding scheme summary that is referenced by the supplied value domain. |
Input: | java.net.URI |
Output: | org.LexGrid.LexBIG.DataModel.Collections. AbsoluteCodingSchemeVersionReferenceList |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Information | isDomain(String entityCode, String codingSchemeName, CodingSchemeVersionOrTag csvt) |
---|---|
Description: | Determine if the supplied entity code is of type valueDomain in supplied coding scheme and, if it is, return the true, otherwise return false. |
Input: | java.lang.String, |
Output: | boolean |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException |
Implementation Details: | Implementation: |
Remove Value Domain Definition
Information | removeValueDomain(URI valueDomainURI) |
---|---|
Description: | Removes supplied value domain definition from the system. |
Input: | java.net.URI |
Output: | none |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException, |
Implementation Details: | Implementation: |
Information | removeAllValueDomains() |
---|---|
Description: | Removes all value domain definitions from the system. |
Input: | none |
Output: | none |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException, |
Implementation Details: | Implementation: |
Drop Value Domain tables
Information | dropValueDomainTables() |
---|---|
Description: | Drops value domain tables only if there are no value domain and pick list entries. |
Input: | none |
Output: | none |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException, |
Implementation Details: | Implementation: |
LexEVS Pick List Service API
Loading Pick List
There are three methods that could be used to load Pick List Definitions :
...
| getPickListDefinitionsForDomain(URI valueDomainURI) | ||
Description: | Returns all the pickList definitions that represents supplied valueDomain URI. | ||
Input: | java.net.URI | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="346446de746f3a3e-d5183f1b-4f684b6d-964b8a86-26ada647482533a2628a8f61"><ac:plain-text-body><![CDATA[ | Output: | org.LexGrid.emf.valueDomains.PickListDefinition[] | ]]></ac:plain-text-body></ac:structured-macro> |
Exception: | org.LexGrid.LexBIG.Exceptions.LBException | ||
Implementation Details: | Implementation: | ]]></ac:plain-text-body></ac:structured-macro> |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="174d873914dc0c18-560beeb7-4aae45c8-b055b7b5-9d8010c94a029457ac23b705"><ac:plain-text-body><![CDATA[ |
| resolvePickListForTerm(String pickListId, String term, String matchAlgorithm, String language, String[] context, boolean sortByText) | ]]></ac:plain-text-body></ac:structured-macro> |
Description: | Resolves pickList definition by applying supplied arguments. | ||
Input: | java.lang.String, | ||
Output: | org.lexgrid.valuedomain.dto.ResolvedPickListEntryList | ||
Exception: | org.LexGrid.LexBIG.Exceptions.LBException | ||
Implementation Details: | Implementation: |
...
Downloads for LexEVS 5.1 will be located on the Vocabulary Knowledge Center Wiki https://cabig-kc.nci.nih.gov/Vocab/KC/index.php/LexBig_and_LexEVS
Scrollbar | |
---|---|
|
...
|