| Package | Description |
|---|---|
| com.cerner.bunsen.codes |
Classes for working with FHIR concept maps.
|
| com.cerner.bunsen.codes.broadcast |
Support to broadcast code mappings that are useful to
query or transform FHIR data in Spark.
|
| Modifier and Type | Method and Description |
|---|---|
static ConceptMaps |
ConceptMaps.getDefault(org.apache.spark.sql.SparkSession spark)
Returns the collection of concept maps from the default database and tables.
|
static ConceptMaps |
ConceptMaps.getEmpty(org.apache.spark.sql.SparkSession spark)
Returns an empty ConceptMaps instance.
|
static ConceptMaps |
ConceptMaps.getFromDatabase(org.apache.spark.sql.SparkSession spark,
String databaseName)
Returns the collection of concept maps from the tables in the given database.
|
ConceptMaps |
ConceptMaps.withConceptMaps(org.hl7.fhir.dstu3.model.ConceptMap... conceptMap)
Returns a new ConceptMaps instance that includes the given map.
|
ConceptMaps |
ConceptMaps.withConceptMaps(org.apache.spark.sql.Dataset<org.hl7.fhir.dstu3.model.ConceptMap> conceptMaps)
Returns a new ConceptMaps instance that includes the given maps.
|
ConceptMaps |
ConceptMaps.withConceptMaps(List<org.hl7.fhir.dstu3.model.ConceptMap> conceptMaps)
Returns a new ConceptMaps instance that includes the given maps.
|
ConceptMaps |
ConceptMaps.withDisjointMapsFromDirectory(String path)
Returns all concept maps that are disjoint with concept maps stored in the default database and
adds them to our collection.
|
ConceptMaps |
ConceptMaps.withDisjointMapsFromDirectory(String path,
String database)
Returns all concept maps that are disjoint with concept maps stored in the default database and
adds them to our collection.
|
ConceptMaps |
ConceptMaps.withExpandedMap(org.hl7.fhir.dstu3.model.ConceptMap conceptMap,
org.apache.spark.sql.Dataset<Mapping> mappings)
Returns a new ConceptMaps instance that includes the given map and expanded mappings.
|
ConceptMaps |
ConceptMaps.withMapsFromDirectory(String path)
Reads all concept maps from a given directory and adds them to
our collection.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.spark.broadcast.Broadcast<BroadcastableMappings> |
BroadcastableMappings.broadcast(ConceptMaps conceptMaps,
Map<String,String> conceptMapUriToVersion)
Broadcast mappings stored in the given conceptMaps instance that match the given
conceptMapUris.
|
static org.apache.spark.broadcast.Broadcast<BroadcastableMappings> |
BroadcastableMappings.broadcast(ConceptMaps conceptMaps,
Set<String> conceptMapUris,
boolean includeExperimental)
Broadcast mappings stored in the given conceptMaps instance that match the given
conceptMapUris.
|
Copyright © 2018. All rights reserved.