|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EVSQuery interface describes the methods that can be implemented to access the Enterprise Vocabulary Service.
Method Summary | |
void |
containsInverseRole(java.lang.String vocabularyName,
java.lang.String roleName,
java.lang.String roleValue,
java.lang.String conceptName)
Checks if the specified concept has the specified inverse role and role value. |
void |
containsRole(java.lang.String vocabularyName,
java.lang.String roleName,
java.lang.String roleValue,
java.lang.String conceptName)
Checks if the specified concept has the specified role and role value. |
void |
fetchDTSProperties(java.lang.String vocabularyName,
java.lang.String conceptName)
Gets the properties of a given concept from the specified namespace |
void |
fetchTermAssociations(java.lang.String vocabularyName,
java.lang.String conceptName)
Fetchs term association data for a given concept from the specified namespace |
void |
getAllAssociationTypes(java.lang.String vocabularyName)
Gets all associationTypes from a given namespace |
void |
getAllConceptAssociationQualifierTypes(java.lang.String vocabularyName)
Retrievs the name of all concecpt association quailifer types from the specified namespace |
void |
getAllConceptAssociationTypes(java.lang.String vocabularyName)
Retrievs the name of all concecpt association types from the specified namespace |
void |
getAllConceptPropertyQualifierTypes(java.lang.String vocabularyName)
Retrievs the name of all concecpt property qualifier types from the specified namespace |
void |
getAllConceptPropertyTypes(java.lang.String vocabularyName)
Retrievs the name of all concecpt property types from the specified namespace |
void |
getAllLicenses(java.lang.String vocabularyName,
java.lang.String condition)
Gets all licenses from the specified namespace |
void |
getAllPropertyTypes(java.lang.String vocabularyName)
Gets all the property types from a specified namespace |
void |
getAllQualifierTypes(java.lang.String vocabularyName)
Gets all qualifier types from the specified namespace |
void |
getAllRoleNames(java.lang.String vocabularyName)
Gets all the role names from the specified namespace |
void |
getAllSubConceptCodes(java.lang.String vocabularyName,
java.lang.String conceptCode)
Gets all the sub concept codes for the specified concept from a given namespace |
void |
getAllSubConceptNames(java.lang.String vocabularyName,
java.lang.String conceptName)
Gets all the sub concept names for the specified concept from a given namespace |
void |
getAllSynonymTypes(java.lang.String vocabularyName)
Gets all synonym types from a given namespace |
void |
getAllTermAssociationQualifierTypes(java.lang.String vocabularyName)
Gets all the term-association qualifier types from a given namespace |
void |
getAllTermPropertyQualifierTypes(java.lang.String vocabularyName)
Gets all the term-property qualifier types from a given namespace |
void |
getAllTermPropertyTypes(java.lang.String vocabularyName)
Gets all the term-property types from a given namespace |
void |
getAncestors(java.lang.String vocabularyName,
java.lang.String code,
boolean flag,
java.lang.String iBaseLineDate,
java.lang.String fBaseLineDate)
Gets the ancestor concept codes of the specified concept. |
void |
getBroaderConcepts(java.lang.String conceptCode)
Gets all the broader MetaThesaurus concepts for a given concept The relationship between these concepts are of type "RB" (Related Broader) |
void |
getBroaderConcepts(java.lang.String conceptCode,
java.lang.String sourceAbbr)
Gets all the broader MetaThesaurusConcepts for a given concept from the specified source. |
void |
getChildConcepts(java.lang.String vocabularyName,
java.lang.String conceptName,
boolean inputFlag)
Gets a child DescLogicConcept for a given concept name |
void |
getChildren(java.lang.String conceptCode,
java.lang.String sourceAbbr)
Gets all the child MetaThesaurusConcepts for a given conncept in the specified source |
void |
getConceptByName(java.lang.String vocabularyName,
java.lang.String conceptName)
Gets a DescLogicConcept for the specified conceptName. |
void |
getConceptCodeByName(java.lang.String vocabularyName,
java.lang.String conceptName)
Gets the code of the specified concept. |
void |
getConceptEditAction(java.lang.String vocabularyName,
java.lang.String code)
Gets all EditAction of the specified concept. |
void |
getConceptEditActionDates(java.lang.String vocabularyName,
java.lang.String code,
java.lang.String action)
Gets EditActionDate that match with the given concept code and edit action. |
void |
getConceptNameByCode(java.lang.String vocabularyName,
java.lang.String conceptCode)
Gets the concept name for the specified concept code |
void |
getConceptsByCategories(java.lang.String conceptCode,
java.lang.String category)
Gets the concepts of specified category for the given metathesaurus concept |
void |
getConceptsBySource(java.lang.String sourceAbbr)
Gets MetaThesaurusConcepts for the specified source |
void |
getConceptWithPropertyMatching(java.lang.String vocabularyName,
java.lang.String propertyName,
java.lang.String propertyValue,
int matchLimit)
Gets all the concept names that matches the argument pattern of a property. |
void |
getDescendants(java.lang.String vocabularyName,
java.lang.String code,
boolean flag,
java.lang.String iBaseLineDate,
java.lang.String fBaseLineDate)
Gets the descendant concept codes of the specified conceptCode. |
void |
getDescLogicConcept(java.lang.String vocabularyName,
java.lang.String conceptName,
boolean inputFlag)
Gets a DescLogicConcept for a valid conceptName or concept code |
void |
getDescLogicConceptNameByCode(java.lang.String vocabularyName,
java.lang.String conceptCode)
Gets Concept name for the given concept code |
void |
getMetaConceptNameByCode(java.lang.String conceptCode)
gets MetaThesaurusConcept name |
void |
getMetaSources()
Get all MetaThesaurus Sources |
void |
getNarrowerConcepts(java.lang.String conceptCode)
Gets narrower MetaThesaurus concepts for the specified concept The relationship between these concepts are of type "RN" (Related Narrower) |
void |
getNarrowerConcepts(java.lang.String conceptCode,
java.lang.String sourceAbbr)
Gets narrower MetaThesaurus concepts for the specified concept from a given source The relationship between these concepts are of type "RN" (Related Narrower) |
void |
getParent(java.lang.String conceptCode,
java.lang.String sourceAbbr)
Gets all the Parent MetaThesaurusConcepts for a given concept from the specified source. |
void |
getParentConcepts(java.lang.String vocabularyName,
java.lang.String conceptName,
boolean inputFlag)
Gets a parent DescLogicConcept for a given concept name |
void |
getPropertiesByConceptName(java.lang.String vocabularyName,
java.lang.String conceptName)
Gets the names and values of properties owned by the specified concept. |
void |
getPropertyValues(java.lang.String vocabularyName,
java.lang.String conceptName,
java.lang.String propertyName)
Gets the values of a property owned by a concept |
void |
getRelatedConcepts(java.lang.String conceptCode)
Gets related metathesaurus concepts for a given metaconcept The relationship between these concepts are of type "RN" (Related Narrower) |
void |
getRelatedConcepts(java.lang.String conceptCode,
java.lang.String sourceAbbr)
Gets all the related metathesaurus concepts for a given metaconcept from the specified source |
void |
getRelatedConcepts(java.lang.String conceptCode,
java.lang.String sourceAbbr,
java.lang.String relation)
Gets the related metathesaurus concepts for a given metaconcept from the specified source |
void |
getRolesByConceptName(java.lang.String vocabularyName,
java.lang.String conceptName)
Gets the roles owned by the specified concept. |
void |
getRootConcepts(java.lang.String vocabularyName,
boolean allAttributes)
Retrieves all root DescLogicConcept objects |
void |
getSemanticTypes()
Gets all semantic types from metaphrase |
void |
getSubConcepts(java.lang.String vocabularyName,
java.lang.String conceptName,
java.lang.Boolean inputFlag,
java.lang.Boolean outputFlag)
Gets the codes, or the names, of all subconcepts of the specified concept |
void |
getSuperConcepts(java.lang.String vocabularyName,
java.lang.String conceptname,
java.lang.Boolean inputFlag,
java.lang.Boolean outputFlag)
Gets the codes (or the names) of all superconcepts of the specified concept. |
void |
getTree(java.lang.String vocabularyName,
java.lang.String rootName,
boolean direction,
boolean isaFlag,
int attributes,
java.lang.String levels,
java.util.Vector roles)
Generates a DefaultMutableTreeNode for the specified rootName Eeach node is a DescLogicConcept instance |
void |
getVocabularyHost(java.lang.String vocabularyName)
Gets the host of a vocabulary server |
void |
getVocabularyNames()
Gets vocabulary names from EVS |
void |
getVocabularyPort(java.lang.String vocabularyName)
Gets the port of a vocabulary server |
void |
hasChildren(java.lang.String vocabularyName,
java.lang.String conceptName)
Returns true if the specified concept has a child concept |
void |
hasParents(java.lang.String vocabularyName,
java.lang.String conceptName)
Returns true if the specified concept has a parent concept |
void |
isRetired(java.lang.String vocabularyName,
java.lang.String code)
Checks if the specified concept is retired or not. |
void |
isSubConcept(java.lang.String vocabularyName,
java.lang.String code1,
java.lang.String code2)
Checks if the first concept is a subconcept of the second concept |
void |
searchByLoincId(java.lang.String code,
java.lang.String sourceAbbr)
Search the specified vocabulary for a given code |
void |
searchDescLogicConcepts(java.lang.String vocabularyName,
java.lang.String searchTerm,
int limit)
Search DescLogicConcepts |
void |
searchDescLogicConcepts(java.lang.String vocabularyName,
java.lang.String searchTerm,
int limit,
int matchOption,
java.lang.String matchType,
int ASDIndex)
Performs a search for a DescLogicConcept |
void |
searchMetaThesaurus(java.lang.String searchTerm,
int limit,
java.lang.String source,
boolean cui,
boolean shortResponse,
boolean score)
Search concepts in MetaThesaurus |
void |
searchSourceByCode(java.lang.String code,
java.lang.String sourceAbbr)
Search the specified vocabulary for a given code |
Method Detail |
public void getTree(java.lang.String vocabularyName, java.lang.String rootName, boolean direction, boolean isaFlag, int attributes, java.lang.String levels, java.util.Vector roles)
vocabularyName
- rootName
- - RootNode of the treedirection
- - a boolean value (true if traverse down)isaFlag
- - a boolean value (true if relationship is child)attributes
- - an AttributeSetDescriptor instancelevels
- - the depth of the treeroles
- - the names of role relationshipspublic void searchDescLogicConcepts(java.lang.String vocabularyName, java.lang.String searchTerm, int limit)
vocabularyName
- - Specifies the namespacesearchTerm
- - Specifies the search termlimit
- - Specifies the maximum limit of the search resultspublic void searchDescLogicConcepts(java.lang.String vocabularyName, java.lang.String searchTerm, int limit, int matchOption, java.lang.String matchType, int ASDIndex) throws java.lang.Exception
vocabularyName
- searchTerm
- - Specifies the search termlimit
- - Specifies the maximum limit of search resultsmatchOption
- - Specifies the match option
Example: option values matchType
- - Depends on the match options (not all the time)ASDIndex
- - Takes an integer ranging from 0-3 java.lang.Exception
public void getConceptWithPropertyMatching(java.lang.String vocabularyName, java.lang.String propertyName, java.lang.String propertyValue, int matchLimit)
vocabularyName
- - specifies the namespacepropertyName
- - all returned concepts should have the value of this PropertypropertyValue
- - pattern for searchingmatchLimit
- - number of records to getpublic void getDescLogicConceptNameByCode(java.lang.String vocabularyName, java.lang.String conceptCode)
vocabularyName
- - specifies the vocabularyconceptCode
- - specifies the concept codepublic void isSubConcept(java.lang.String vocabularyName, java.lang.String code1, java.lang.String code2)
vocabularyName
- - specifies the namespacecode1
- - the name of the first conceptcode2
- - the name of the second conceptpublic void isRetired(java.lang.String vocabularyName, java.lang.String code)
vocabularyName
- code
- - conceptCodepublic void getDescendants(java.lang.String vocabularyName, java.lang.String code, boolean flag, java.lang.String iBaseLineDate, java.lang.String fBaseLineDate)
vocabularyName
- code
- - concept codeflag
- - boolean value to specify the search typeiBaseLineDate
- - initial baseline datefBaseLineDate
- - final baseline datepublic void getPropertyValues(java.lang.String vocabularyName, java.lang.String conceptName, java.lang.String propertyName)
vocabularyName
- conceptName
- propertyName
- public void getAncestors(java.lang.String vocabularyName, java.lang.String code, boolean flag, java.lang.String iBaseLineDate, java.lang.String fBaseLineDate)
vocabularyName
- code
- flag
- iBaseLineDate
- - Initial baseline date "MM/DD/YYYY"fBaseLineDate
- - Final baseline date "MM/DD/YYYY"public void getSubConcepts(java.lang.String vocabularyName, java.lang.String conceptName, java.lang.Boolean inputFlag, java.lang.Boolean outputFlag)
vocabularyName
- conceptName
- - code or the specified concept nameinputFlag
- - a Boolean true - if inputFlag is a concept code; false - if it is a concept nameoutputFlag
- - a Boolean true - if returned value is a concept code ; false - if it is a concept name.public void getSuperConcepts(java.lang.String vocabularyName, java.lang.String conceptname, java.lang.Boolean inputFlag, java.lang.Boolean outputFlag)
vocabularyName
- conceptname
- inputFlag
- - a Boolean true - if inputFlag is a concept code; false - if it is a concept nameoutputFlag
- - a Boolean true - if returned value is a concept code ; false - if it is a concept name.public void getRolesByConceptName(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- conceptName
- public void getPropertiesByConceptName(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- conceptName
- public void getVocabularyNames()
public void getConceptCodeByName(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- conceptName
- public void getConceptByName(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- conceptName
- public void getVocabularyHost(java.lang.String vocabularyName)
vocabularyName
- public void getVocabularyPort(java.lang.String vocabularyName)
vocabularyName
- public void getConceptEditAction(java.lang.String vocabularyName, java.lang.String code)
vocabularyName
- code
- public void getConceptEditActionDates(java.lang.String vocabularyName, java.lang.String code, java.lang.String action)
vocabularyName
- code
- - concept codeaction
- - edit actionpublic void getRootConcepts(java.lang.String vocabularyName, boolean allAttributes)
vocabularyName
- allAttributes
- - true, if all attributes are retrieved; false, if no attribute is retrieved.public void searchMetaThesaurus(java.lang.String searchTerm, int limit, java.lang.String source, boolean cui, boolean shortResponse, boolean score)
searchTerm
- - CUI or search stringlimit
- - maximum recordssource
- - source abbreviationcui
- - a boolean value - true, if the searchTerm is CUI, - false, otherwiseshortResponse
- - a boolean valuescore
- - a boolean valuepublic void searchByLoincId(java.lang.String code, java.lang.String sourceAbbr)
code
- - Concepts unique identifier within the given sourcesourceAbbr
- - specifies the source abbreviationpublic void searchSourceByCode(java.lang.String code, java.lang.String sourceAbbr)
code
- - Concepts unique identifier within the given sourcesourceAbbr
- - specifies the source abbreviationpublic void getSemanticTypes()
public void getConceptsBySource(java.lang.String sourceAbbr)
sourceAbbr
- - specifies the source abbreviationpublic void getMetaConceptNameByCode(java.lang.String conceptCode)
conceptCode
- - specifies the concept codepublic void getMetaSources()
public void getChildren(java.lang.String conceptCode, java.lang.String sourceAbbr)
conceptCode
- - specifies the concept codesourceAbbr
- - specifies the source abbreviationpublic void getParent(java.lang.String conceptCode, java.lang.String sourceAbbr)
conceptCode
- - specifies the concept codesourceAbbr
- - specifies the source abbreviationpublic void getBroaderConcepts(java.lang.String conceptCode)
conceptCode
- - specifies the concept codepublic void getBroaderConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr)
conceptCode
- - specifies the concept codesourceAbbr
- - specifies the source abbreviationpublic void getNarrowerConcepts(java.lang.String conceptCode)
conceptCode
- - specifies the concept codepublic void getNarrowerConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr)
conceptCode
- - specifies the concept codepublic void getRelatedConcepts(java.lang.String conceptCode)
conceptCode
- - specifies the concept codepublic void getRelatedConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr)
conceptCode
- - specifies the concept codesourceAbbr
- - specifies the source abbreviationpublic void getRelatedConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr, java.lang.String relation)
conceptCode
- - specifies the concept codesourceAbbr
- - specifies the source abbreviationrelation
- - Specifies the relation of a second concept to the first concept public void getConceptsByCategories(java.lang.String conceptCode, java.lang.String category)
conceptCode
- - specifies the concept codecategory
- - one of "Medications", "Procedures", "Laboratory", "Diagnosis"public void containsInverseRole(java.lang.String vocabularyName, java.lang.String roleName, java.lang.String roleValue, java.lang.String conceptName)
vocabularyName
- - Specifies the namespaceroleName
- - role nameroleValue
- - role valueconceptName
- - concpet namepublic void containsRole(java.lang.String vocabularyName, java.lang.String roleName, java.lang.String roleValue, java.lang.String conceptName)
vocabularyName
- - Specifies the namespaceroleName
- - role nameroleValue
- - role valueconceptName
- - concept namepublic void getAllAssociationTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllConceptAssociationQualifierTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllConceptAssociationTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllConceptPropertyQualifierTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllConceptPropertyTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllLicenses(java.lang.String vocabularyName, java.lang.String condition)
vocabularyName
- - Specifies the namespacecondition
- - Specifies the value for a condition parameterpublic void getAllPropertyTypes(java.lang.String vocabularyName)
vocabularyName
- - specfifies the namespacepublic void getAllQualifierTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllRoleNames(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllSubConceptCodes(java.lang.String vocabularyName, java.lang.String conceptCode)
vocabularyName
- - Specifies the namespaceconceptCode
- - Specifies the concept codepublic void getAllSubConceptNames(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- - Specifies the namespaceconceptName
- - Specifies the concept namepublic void getAllSynonymTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllTermAssociationQualifierTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllTermPropertyQualifierTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getAllTermPropertyTypes(java.lang.String vocabularyName)
vocabularyName
- - Specifies the namespacepublic void getParentConcepts(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag)
vocabularyName
- - Specifies the namespaceconceptName
- - Specifies the concept nameinputFlag
- - If the input parameter is a concpeName inputFlag should be false public void getChildConcepts(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag)
vocabularyName
- - Specifies the namespaceconceptName
- - Specifies the concept nameinputFlag
- - If the input parameter is a concpeName inputFlag should be false public void hasParents(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- - Specifies the namespaceconceptName
- - Specifies the concept namepublic void hasChildren(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- - Specifies the namespaceconceptName
- - Specifies the concept namepublic void fetchDTSProperties(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- - Specifies the namespaceconceptName
- - Specifies the concept namepublic void fetchTermAssociations(java.lang.String vocabularyName, java.lang.String conceptName)
vocabularyName
- - Specifies the namespaceconceptName
- - Specifies the concept namepublic void getConceptNameByCode(java.lang.String vocabularyName, java.lang.String conceptCode)
vocabularyName
- - specifies the namespaceconceptCode
- - specifies the concept codepublic void getDescLogicConcept(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag)
conceptName
- - Specifies the conceptName or concept codeinputFlag
- - If a concept code is entered this value is a true. If a concept name has been entered this value should be false.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |