| Package | Description |
|---|---|
| com.cerner.bunsen.spark.codes.base |
Base classes for working with ConceptMaps and ValueSets.
|
| com.cerner.bunsen.spark.codes.broadcast |
Support to broadcast code mappings that are useful to
query or transform FHIR data in Spark.
|
| com.cerner.bunsen.stu3.codes |
Support for FHIR STU3 ConceptMap and ValueSet resources.
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.spark.sql.Encoder<Mapping> |
AbstractConceptMaps.MAPPING_ENCODER
An encoder for serializing mappings.
|
protected org.apache.spark.sql.Dataset<Mapping> |
AbstractConceptMaps.mappings |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.Dataset<Mapping> |
AbstractConceptMaps.getLatestMappings(Set<String> uris,
boolean includeExperimental)
Returns a dataset with the latest mappings for each valueset here.
|
org.apache.spark.sql.Dataset<Mapping> |
AbstractConceptMaps.getMappings()
Returns a dataset of all mappings in this collection.
|
org.apache.spark.sql.Dataset<Mapping> |
AbstractConceptMaps.getMappings(Map<String,String> uriToVersion)
Returns a dataset with the mappings for each uri and version.
|
org.apache.spark.sql.Dataset<Mapping> |
AbstractConceptMaps.getMappings(String uri,
String version)
Returns the mappings for the given URI and version.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractConceptMaps.addToConceptMap(T map,
org.apache.spark.sql.Dataset<Mapping> mappings)
Adds the given mappings to the concept map.
|
protected abstract C |
AbstractConceptMaps.newInstance(org.apache.spark.sql.SparkSession spark,
org.apache.spark.sql.Dataset<UrlAndVersion> members,
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> conceptMaps,
org.apache.spark.sql.Dataset<Mapping> mappings)
Returns a new instance of this ConceptMaps type with the given parameters.
|
protected C |
AbstractConceptMaps.withConceptMaps(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> newMaps,
org.apache.spark.sql.Dataset<Mapping> newMappings) |
C |
AbstractConceptMaps.withExpandedMap(T conceptMap,
org.apache.spark.sql.Dataset<Mapping> mappings)
Returns a new ConceptMaps instance that includes the given map and expanded mappings.
|
| Constructor and Description |
|---|
AbstractConceptMaps(org.apache.spark.sql.SparkSession spark,
ca.uhn.fhir.context.FhirVersionEnum fhirVersion,
org.apache.spark.sql.Dataset<UrlAndVersion> members,
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> conceptMaps,
org.apache.spark.sql.Dataset<Mapping> mappings,
SparkRowConverter conceptMapRowConverter) |
| Constructor and Description |
|---|
BroadcastableConceptMap(String conceptMapUri,
List<Mapping> mappings,
List<BroadcastableConceptMap> delegates)
Constructs the broadcastable concept map.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Mapping> |
ConceptMaps.expandMappings(org.hl7.fhir.dstu3.model.ConceptMap map)
Given a concept map, returns a list of mapping records it contains.
|
static org.apache.spark.sql.Encoder<Mapping> |
ConceptMaps.getMappingEncoder()
Returns the encoder for mappings.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConceptMaps.addToConceptMap(org.hl7.fhir.dstu3.model.ConceptMap map,
org.apache.spark.sql.Dataset<Mapping> mappings) |
protected ConceptMaps |
ConceptMaps.newInstance(org.apache.spark.sql.SparkSession spark,
org.apache.spark.sql.Dataset<UrlAndVersion> members,
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> conceptMaps,
org.apache.spark.sql.Dataset<Mapping> mappings) |
| Constructor and Description |
|---|
ConceptMaps(org.apache.spark.sql.SparkSession spark,
org.apache.spark.sql.Dataset<UrlAndVersion> members,
org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> conceptMaps,
org.apache.spark.sql.Dataset<Mapping> mappings) |
Copyright © 2020. All rights reserved.