Class SnomedICD10MapTermGraphLoader
- java.lang.Object
-
- com.ibm.fhir.term.graph.loader.impl.AbstractTermGraphLoader
-
- com.ibm.fhir.term.graph.loader.impl.SnomedICD10MapTermGraphLoader
-
- All Implemented Interfaces:
FHIRTermGraphLoader
public class SnomedICD10MapTermGraphLoader extends AbstractTermGraphLoader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.fhir.term.graph.loader.FHIRTermGraphLoader
FHIRTermGraphLoader.Type
-
-
Field Summary
Fields Modifier and Type Field Description static String
MAPS_TO
-
Fields inherited from class com.ibm.fhir.term.graph.loader.impl.AbstractTermGraphLoader
g, graph, janusGraph, labelFilter, options
-
-
Constructor Summary
Constructors Constructor Description SnomedICD10MapTermGraphLoader(Map<String,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 Map<String,Set<String>>
loadMap(String cosBucketName)
Load the Snomed->ICD map from file, respecting effectiveDate and active statusstatic void
main(String[] args)
Load UMLS data using properties provided in arguments-
Methods inherited from class com.ibm.fhir.term.graph.loader.impl.AbstractTermGraphLoader
close, createLabelFilter, getGraph, options
-
-
-
-
Field Detail
-
MAPS_TO
public static final String MAPS_TO
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadMap
public static final Map<String,Set<String>> loadMap(String cosBucketName) throws 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:
IOException
-
load
public void load()
Loads edges into JanusGraph- Specified by:
load
in interfaceFHIRTermGraphLoader
- Specified by:
load
in classAbstractTermGraphLoader
- Throws:
RuntimeException
-
main
public static void main(String[] args)
Load UMLS data using properties provided in arguments- Parameters:
args
-
-
-