Page History
...
Description: | Loads supplied Pick List Definition object |
Input: | org.LexGrid.valueSets.PickListDefinition pldef - (Mandatory) pick list definition object to load |
...
Output: | none | ||||||||
Exception: | LBException | ||||||||
Implementation Details: | Implementation:
|
...
Description: | Loads Pick List Definitions found in input xml file. |
Input: | java.lang.String xmlFileLocation - (Mandatory) File containing Pick List Definition(s) in LexGrid XML format. |
...
Output: | none | ||||
Exception: | LBException | ||||
Implementation Details: | Implementation:
|
...
Description: | Export Pick List Definition to a file in LexGrid XML format. | ||||
Input: | java.lang.String pickListId- (Optional) id of pick list definition to export
| ||||
Output: | none | ||||
Exception: | org.LexGrid.LexBIG.Exceptions.LBException | ||||
Implementation Details: | Implementation:
|
...
Here are some of the query functions that can be run against pick list definitions using the LexEVS Pick List Services.
Validate XML
...
Resources
validate(URI uri, int valicationLevel)
...
Description: | Resolves pickList definition for supplied pickListId. |
Input: | java.langString pickListId - (Mandatory) pickListId of a pickListDefinition. |
Output: | org.lexgrid.valuesets.dto.ResolvedPickListEntryList - Resolved PickListEntries |
...
Exception: | org.LexGrid.LexBIG.Exceptions.LBException | ||||||
Implementation Details: | Implementation:
|
...
Description: | Resolves pickList definition by applying  supplied arguments. |
Input: | java.lang.String pickListId - (Mandatory) pickListId of a pickListDefinition. This is required argument. |
Output: | org.lexgrid.valuesets.dto.ResolvedPickListEntryList - Resolved PickListEntries. |
...
Exception: | org.LexGrid.LexBIG.Exceptions.LBException | ||||||
Implementation Details: | Implementation:
|
...
Below is a sample XML file containing Pick List Definitions in LexGrid format that can be loaded using LexEVS Pick List Service.
<source>
...
<?xml
...
version="1.0"
...
encoding="UTF-8"?>
...
<pickListDefinition
...
pickListId="SRITEST:AUTO:DomesticAutoMakers"
...
representsValueSetDefinition="SRITEST:AUTO:DomesticAutoMakers"
...
isActive="true"
...
defaultEntityCodeNamespace="Automobiles"
...
defaultLanguage="en"
...
completeSet="false">
...
Code Block |
---|
<owner>Owner for Domestic Auto |
...
Makers</owner> |
...
<entityDescription>DomesticAutoMakers</entityDescription> |
...
<mappings> <supportedCodingScheme localId="Automobiles" uri="urn:oid:11.11.0.1">Automobiles</supportedCodingScheme> |
...
<supportedDataType localId="texthtml">text/html</supportedDataType> |
...
<supportedDataType localId="textplain">text/plain</supportedDataType> |
...
<supportedLanguage localId="en" uri="www.en.org/orsomething">en</supportedLanguage> |
...
<supportedNamespace localId="Automobiles" uri="urn:oid:11.11.0.1" equivalentCodingScheme="Automobiles">Automobiles</supportedNamespace> |
...
<supportedProperty localId="definition">definition</supportedProperty> |
...
<supportedProperty localId="textualPresentation">textualPresentation</supportedProperty> |
...
<supportedSource assemblyRule="rule1" uri="http://informatics.mayo.edu" localId="lexgrid.org">lexgrid.org</supportedSource> |
...
<supportedSource localId="_111101">11.11.0.1</supportedSource> |
...
</mappings> |
...
<pickListEntryNode pickListEntryId="PL005p1" isActive="true"> |
...
<owner>Owner for PL005p1</owner> |
...
<entryState containingRevision="R001" relativeOrder="1" changeType="NEW" prevRevision="R00A"/> |
...
<inclusionEntry entityCode="005" entityCodeNamespace="Automobiles" propertyId="p1"> |
...
<pickText>Domestic Auto Makers</pickText> <pickContext>Domestic Auto Makers</pickContext> <pickContext>Cars</pickContext> </inclusionEntry> <properties> <property propertyName="definition"> |
...
<entryState containingRevision="R001" relativeOrder="1" changeType="NEW" |
...
prevRevision="R00A"/> <value dataType="textplain">Definition for Domestic Auto Makers</value> |
...
</property> |
...
</properties> |
...
</pickListEntryNode> |
...
<pickListEntryNode pickListEntryId="PL005p2" isActive="true"> |
...
<entryState containingRevision="R001" relativeOrder="1" changeType="NEW" prevRevision="R00A" |
...
/> <inclusionEntry entityCode="005" entityCodeNamespace="Automobiles" propertyId="p2"> |
...
<pickText>American Car Companies</pickText> |
...
</inclusionEntry> |
...
<properties> <property propertyName="definition"> <entryState containingRevision="R001" relativeOrder="1" changeType="NEW" prevRevision="R00A"/> |
...
<value dataType="textplain">Definition for Amerocan Auto Makers</value> |
...
</property> |
...
</properties> |
...
</pickListEntryNode> |
Code Block |
---|
</pickListDefinition>
Code Block |
---|
</source>
Installation / Packaging
...