|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.example.ProfileScheme
public class ProfileScheme
Requires loading valid scheme (must have root node named @ pointing to top nodes) Profiles a coding scheme based on unique URN, version, relation and scheme name. Note: If the URN and version values are unspecified, a list of available coding schemes will be presented for user selection.
Example: java org.LexGrid.LexBIG.example.ProfileScheme -u, --urn <urn> URN uniquely identifying the code system. -v, --version <versionId> Version identifier. Example: java -Xmx1500m -cp lgRuntime.jar org.LexGrid.LexBIG.example.ProfileScheme -u "urn:oid:2.16.840.1.113883.3.26.1.1" -v "05.09e"
Constructor Summary | |
---|---|
ProfileScheme()
Association type defaults to hasSubtype in this constructor |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
protected void |
printPath(java.util.List<ResolvedConceptReference> path)
Print the description of concepts in the path, indenting for each represented level. |
protected void |
profileAssociations(LexBIGService lbs,
LexBIGServiceConvenienceMethods lbscm,
java.lang.String schemeName,
CodingSchemeVersionOrTag csVorT)
|
protected int |
profileConcepts(LexBIGService lbs,
java.lang.String schemeName,
CodingSchemeVersionOrTag csVorT)
|
protected java.util.List<ResolvedConceptReference> |
profileHierarchy(LexBIGService lbs,
LexBIGServiceConvenienceMethods lbscm,
java.lang.String schemeName,
CodingSchemeVersionOrTag csVorT,
java.lang.String hID,
ResolvedConceptReference root,
int level)
Recursive traversal method gauges maximum depth, average depth |
void |
run(java.lang.String[] args)
Primary entry point for the program. |
protected void |
runReport(LexBIGService lbs,
CodingSchemeSummary css)
Initiates profiling of different code system attributes and displays a report for the caller. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileScheme()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- public void run(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
protected void runReport(LexBIGService lbs, CodingSchemeSummary css) throws LBException
LBException
protected int profileConcepts(LexBIGService lbs, java.lang.String schemeName, CodingSchemeVersionOrTag csVorT) throws LBException
lbs
- - service objectschemeName
- - coding scheme namecsVorT
- - coding scheme version or tag (version in this case)
LBException
protected void profileAssociations(LexBIGService lbs, LexBIGServiceConvenienceMethods lbscm, java.lang.String schemeName, CodingSchemeVersionOrTag csVorT) throws LBException
lbs
- - service contextlbscm
- - convenience methodscsVorT
- - coding scheme version or tag (version in this case)
LBException
protected java.util.List<ResolvedConceptReference> profileHierarchy(LexBIGService lbs, LexBIGServiceConvenienceMethods lbscm, java.lang.String schemeName, CodingSchemeVersionOrTag csVorT, java.lang.String hID, ResolvedConceptReference root, int level) throws LBException
lbs
- - service contextlbscm
- - convenience methodsschemeName
- - coding scheme namecsVorT
- - coding scheme version or tag (version in this case)hID
- - hierarchy IDroot
- - concept to navigate fromlevel
- - current level of recursion
LBException
protected void printPath(java.util.List<ResolvedConceptReference> path)
path
- Chain of concept references, root first.
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |