public class ProfileScheme
extends java.lang.Object
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 and Description |
---|
ProfileScheme()
Association type defaults to hasSubtype in this constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ProfileScheme()
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 recursionLBException
protected void printPath(java.util.List<ResolvedConceptReference> path)
path
- Chain of concept references, root first.