| Package | Description |
|---|---|
| com.cerner.bunsen.spark.codes |
Common for working with FHIR concept maps.
|
| com.cerner.bunsen.spark.codes.base |
Base classes for working with ConceptMaps and ValueSets.
|
| com.cerner.bunsen.stu3.codes |
Support for FHIR STU3 ConceptMap and ValueSet resources.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.Dataset<UrlAndVersion> |
Hierarchies.getMembers()
Returns a dataset of UrlAndVersion members of this collection.
|
static org.apache.spark.sql.Encoder<UrlAndVersion> |
Hierarchies.getUriAndVersionEncoder()
Returns the encoder for UrlAndVersion tuples.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.spark.sql.Dataset<UrlAndVersion> |
AbstractValueSets.members
URI and Version metadata used to preserve uniqueness among value sets.
|
protected org.apache.spark.sql.Dataset<UrlAndVersion> |
AbstractConceptMaps.members |
protected static org.apache.spark.sql.Encoder<UrlAndVersion> |
AbstractValueSets.URL_AND_VERSION_ENCODER |
protected static org.apache.spark.sql.Encoder<UrlAndVersion> |
AbstractConceptMaps.URL_AND_VERSION_ENCODER |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.spark.sql.Encoder<UrlAndVersion> |
AbstractValueSets.getUrlAndVersionEncoder()
Returns the encoder for UrlAndVersion tuples.
|
static org.apache.spark.sql.Encoder<UrlAndVersion> |
AbstractConceptMaps.getUrlAndVersionEncoder()
Returns the encoder for UrlAndVersion tuples.
|
protected org.apache.spark.sql.Dataset<UrlAndVersion> |
AbstractValueSets.getUrlAndVersions(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> valueSets)
Returns a dataset of distinct URL and version tuples.
|
protected org.apache.spark.sql.Dataset<UrlAndVersion> |
AbstractConceptMaps.getUrlAndVersions(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> conceptMaps)
Returns a simple dataset of URL and versions of concept maps.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractValueSets.hasDuplicateUrlAndVersions(org.apache.spark.sql.Dataset<UrlAndVersion> membersToCheck)
Returns true if the UrlAndVersions if the membersToCheck has any duplicates with the members
of this value sets instance.
|
protected boolean |
AbstractConceptMaps.hasDuplicateUrlAndVersions(org.apache.spark.sql.Dataset<UrlAndVersion> membersToCheck)
Returns true if the UrlAndVersions of new value sets contains duplicates with the current
ValueSets.
|
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.
|
| 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) |
AbstractValueSets(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> valueSets,
org.apache.spark.sql.Dataset<Value> values,
SparkRowConverter valueSetRowConverter) |
| Modifier and Type | Method and Description |
|---|---|
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.