Class SnomedICD10MapTermGraphLoader
- java.lang.Object
-
- org.linuxforhealth.fhir.term.graph.loader.impl.AbstractTermGraphLoader
-
- org.linuxforhealth.fhir.term.graph.loader.impl.SnomedICD10MapTermGraphLoader
-
- All Implemented Interfaces:
FHIRTermGraphLoader
public class SnomedICD10MapTermGraphLoader extends AbstractTermGraphLoader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.linuxforhealth.fhir.term.graph.loader.FHIRTermGraphLoader
FHIRTermGraphLoader.Type
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MAPS_TO
-
Fields inherited from class org.linuxforhealth.fhir.term.graph.loader.impl.AbstractTermGraphLoader
g, graph, janusGraph, labelFilter, options
-
-
Constructor Summary
Constructors Constructor Description SnomedICD10MapTermGraphLoader(java.util.Map<java.lang.String,java.lang.String> options, org.apache.commons.configuration2.Configuration configuration)
Initialize a SnoMedICD10MapTermGraphLoader
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
load()
Loads edges into JanusGraphstatic java.util.Map<java.lang.String,java.util.Set<java.lang.String>>
loadMap(java.lang.String cosBucketName)
Load the Snomed->ICD map from file, respecting effectiveDate and active statusstatic void
main(java.lang.String[] args)
Load UMLS data using properties provided in arguments-
Methods inherited from class org.linuxforhealth.fhir.term.graph.loader.impl.AbstractTermGraphLoader
close, createLabelFilter, getGraph, options
-
-
-
-
Field Detail
-
MAPS_TO
public static final java.lang.String MAPS_TO
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadMap
public static final java.util.Map<java.lang.String,java.util.Set<java.lang.String>> loadMap(java.lang.String cosBucketName) throws java.io.IOException
Load the Snomed->ICD map from file, respecting effectiveDate and active status- Parameters:
cosBucketName
-- Returns:
- a map from Snomed code to ICD10 code(s)
- Throws:
java.io.IOException
-
load
public void load()
Loads edges into JanusGraph- Specified by:
load
in interfaceFHIRTermGraphLoader
- Specified by:
load
in classAbstractTermGraphLoader
- Throws:
java.lang.RuntimeException
-
main
public static void main(java.lang.String[] args)
Load UMLS data using properties provided in arguments- Parameters:
args
-
-
-