public class SourceAssertedValueSetHierarchyServicesImpl extends java.lang.Object implements SourceAssertedValueSetHierarchyServices
Constructor and Description |
---|
SourceAssertedValueSetHierarchyServicesImpl() |
Modifier and Type | Method and Description |
---|---|
static SourceAssertedValueSetHierarchyServices |
defaultInstance() |
java.util.HashMap<java.lang.String,LexEVSTreeItem> |
getFullServiceValueSetTree() |
java.util.HashMap<java.lang.String,LexEVSTreeItem> |
getHierarchyValueSetRoots(java.lang.String code) |
LexBIGService |
getLexBIGService() |
SourceAssertedValueSetService |
getSourceAssertedValueSetService(java.lang.String codingSchemeName,
java.lang.String version) |
java.util.HashMap<java.lang.String,LexEVSTreeItem> |
getSourceDefinedTree() |
java.util.HashMap<java.lang.String,LexEVSTreeItem> |
getSourceValueSetTree() |
java.util.List<VSHierarchyNode> |
getSourceValueSetTreeBranch(VSHierarchyNode node,
LexEVSTreeItem ti) |
void |
preprocessSourceHierarchyData()
Initializes the hierarchy service for default NCIt values
|
void |
preprocessSourceHierarchyData(java.lang.String scheme,
java.lang.String version,
java.lang.String association,
java.lang.String sourceDesignation,
java.lang.String publishName,
java.lang.String root_code) |
void |
setLexBIGService(LexBIGService lbs) |
void |
sortOnText(java.util.List<LexEVSTreeItem> items,
java.util.Comparator<LexEVSTreeItem> compare) |
public SourceAssertedValueSetHierarchyServicesImpl()
public static SourceAssertedValueSetHierarchyServices defaultInstance()
public void preprocessSourceHierarchyData()
SourceAssertedValueSetHierarchyServices
preprocessSourceHierarchyData
in interface SourceAssertedValueSetHierarchyServices
public void preprocessSourceHierarchyData(java.lang.String scheme, java.lang.String version, java.lang.String association, java.lang.String sourceDesignation, java.lang.String publishName, java.lang.String root_code)
preprocessSourceHierarchyData
in interface SourceAssertedValueSetHierarchyServices
public java.util.HashMap<java.lang.String,LexEVSTreeItem> getSourceValueSetTree() throws LBException
getSourceValueSetTree
in interface SourceAssertedValueSetHierarchyServices
LBException
- when it fails to resolve coding schemes or entities
Returns only source asserted value set hierarchypublic java.util.HashMap<java.lang.String,LexEVSTreeItem> getFullServiceValueSetTree() throws LBException
getFullServiceValueSetTree
in interface SourceAssertedValueSetHierarchyServices
LBException
- when it fails to resolve coding schemes or entities
Returns source asserted value set hierarchy with the external value sets all under the
root nodepublic java.util.HashMap<java.lang.String,LexEVSTreeItem> getHierarchyValueSetRoots(java.lang.String code) throws LBException
getHierarchyValueSetRoots
in interface SourceAssertedValueSetHierarchyServices
LBException
- returns the roots of the source asserted value set hierarchypublic java.util.List<VSHierarchyNode> getSourceValueSetTreeBranch(VSHierarchyNode node, LexEVSTreeItem ti)
getSourceValueSetTreeBranch
in interface SourceAssertedValueSetHierarchyServices
public LexBIGService getLexBIGService()
public void setLexBIGService(LexBIGService lbs)
public SourceAssertedValueSetService getSourceAssertedValueSetService(java.lang.String codingSchemeName, java.lang.String version)
public java.util.HashMap<java.lang.String,LexEVSTreeItem> getSourceDefinedTree() throws LBException
getSourceDefinedTree
in interface SourceAssertedValueSetHierarchyServices
LBException
- LBException when it fails to resolve coding schemes or entities
Returns tree with root nodes defined by the source asserted value set coding scheme
and any other schemes from which regular value sets are derivedpublic void sortOnText(java.util.List<LexEVSTreeItem> items, java.util.Comparator<LexEVSTreeItem> compare)