- getAncestors() - Method in class com.cerner.bunsen.codes.Hierarchies
-
Returns a dataset of all ancestors in this collection.
- getAncestorSystem() - Method in class com.cerner.bunsen.codes.Ancestor
-
Returns the code system that owns the ancestor value.
- getAncestorSystem() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Returns the system of the ancestor code.
- getAncestorSystem() - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Returns the ancestor system.
- getAncestorValue() - Method in class com.cerner.bunsen.codes.Ancestor
-
Returns the ancestor value.
- getAncestorValue() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Returns the value of the ancestor code.
- getAncestorValue() - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Returns the ancestor value.
- getBroadcastConceptMap(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableMappings
-
Returns the broadcastable concept map for the concept
map with the given URI.
- getBundle() - Method in class com.cerner.bunsen.Bundles.BundleContainer
-
Returns the contained FHIR bundle.
- getConceptMap(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns the concept map with the given uri and version, or null if there is no such map.
- getConceptMapEncoder() - Static method in class com.cerner.bunsen.r4.codes.ConceptMaps
-
Returns the encoder for concept maps.
- getConceptMapEncoder() - Static method in class com.cerner.bunsen.stu3.codes.ConceptMaps
-
Returns the encoder for concept maps.
- getConceptMapUri() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableConceptMap
-
Returns the URI for the concept map.
- getConceptMapUri() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the URI for the FHIR concept map that owns this mapping.
- getConceptMapVersion() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the version of the FHIR concept map that owns this mapping.
- getDefault(SparkSession) - Static method in class com.cerner.bunsen.codes.Hierarchies
-
Returns the collection of ancestors from the default database and table.
- getDefault(SparkSession) - Static method in class com.cerner.bunsen.r4.codes.ConceptMaps
-
Returns the collection of concept maps from the default database and tables.
- getDefault(SparkSession) - Static method in class com.cerner.bunsen.r4.codes.ValueSets
-
Returns the collection of value sets from the default database and tables.
- getDefault(SparkSession) - Static method in class com.cerner.bunsen.stu3.codes.ConceptMaps
-
Returns the collection of concept maps from the default database and tables.
- getDefault(SparkSession) - Static method in class com.cerner.bunsen.stu3.codes.ValueSets
-
Returns the collection of value sets from the default database and tables.
- getDescendantSystem() - Method in class com.cerner.bunsen.codes.Ancestor
-
Returns the code system that owns the descendant value.
- getDescendantSystem() - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Returns the descendant system.
- getDescendantValue() - Method in class com.cerner.bunsen.codes.Ancestor
-
Returns the descendant value.
- getDescendantValue() - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Returns the descendant value.
- getEmpty(SparkSession) - Static method in class com.cerner.bunsen.codes.Hierarchies
-
Returns an empty Hierarchies instance.
- getEmpty(SparkSession) - Static method in class com.cerner.bunsen.r4.codes.ConceptMaps
-
Returns an empty ConceptMaps instance.
- getEmpty(SparkSession) - Static method in class com.cerner.bunsen.r4.codes.ValueSets
-
Returns an empty ValueSets instance.
- getEmpty(SparkSession) - Static method in class com.cerner.bunsen.stu3.codes.ConceptMaps
-
Returns an empty ConceptMaps instance.
- getEmpty(SparkSession) - Static method in class com.cerner.bunsen.stu3.codes.ValueSets
-
Returns an empty ValueSets instance.
- getEquivalence() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the equivalence for the mapping.
- getFhirVersion() - Method in class com.cerner.bunsen.FhirEncoders
-
Returns the version of FHIR used by encoders produced by this instance.
- getFromDatabase(SparkSession, String) - Static method in class com.cerner.bunsen.codes.Hierarchies
-
Returns the collection of ancestors from the table in the given database.
- getFromDatabase(SparkSession, String) - Static method in class com.cerner.bunsen.r4.codes.ConceptMaps
-
Returns the collection of concept maps from the tables in the given database.
- getFromDatabase(SparkSession, String) - Static method in class com.cerner.bunsen.r4.codes.ValueSets
-
Returns the collection of value sets from the tables in the given database.
- getFromDatabase(SparkSession, String) - Static method in class com.cerner.bunsen.stu3.codes.ConceptMaps
-
Returns the collection of concept maps from the tables in the given database.
- getFromDatabase(SparkSession, String) - Static method in class com.cerner.bunsen.stu3.codes.ValueSets
-
Returns the collection of value sets from the tables in the given database.
- getHierarchicalElementEncoder() - Static method in class com.cerner.bunsen.codes.Hierarchies
-
Returns the encoder for hierarchical elements.
- getLatestMappings(Set<String>, boolean) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a dataset with the latest mappings for each valueset here.
- getLatestValues(Set<String>, boolean) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a dataset with the latest values for each valueset of the given uris.
- getLatestVersions(boolean) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns the latest versions of all concept maps.
- getLatestVersions(Set<String>, boolean) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns the latest versions of a given set of concept maps.
- getLatestVersions(boolean) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns the latest version of all value sets.
- getLatestVersions(Set<String>, boolean) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns the latest versions of a given set of value sets.
- getLatestVersions() - Method in class com.cerner.bunsen.codes.Hierarchies
-
Returns the latest version of all hierarchies.
- getLatestVersions(Set<String>) - Method in class com.cerner.bunsen.codes.Hierarchies
-
Returns latest versions of the given hierarchies.
- getMappingEncoder() - Static method in class com.cerner.bunsen.r4.codes.ConceptMaps
-
Returns the encoder for mappings.
- getMappingEncoder() - Static method in class com.cerner.bunsen.stu3.codes.ConceptMaps
-
Returns the encoder for mappings.
- getMappings() - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a dataset of all mappings in this collection.
- getMappings(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns the mappings for the given URI and version.
- getMappings(Map<String, String>) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a dataset with the mappings for each uri and version.
- getMaps() - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a dataset of concept maps to inspect metadata.
- getMembers() - Method in class com.cerner.bunsen.codes.Hierarchies
-
Returns a dataset of UrlAndVersion members of this collection.
- getOrCreate() - Method in class com.cerner.bunsen.FhirEncoders.Builder
-
Get or create an
FhirEncoders
instance that
matches the builder's configuration.
- getReferenceName() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Returns the value set reference name.
- getReferenceName() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.Reference
-
Returns the value set reference name.
- getReferenceNames() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets
-
Returns the reference names in the value set.
- getSourceSystem() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the code system for the source code.
- getSourceValue() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the code value for the source code.
- getSourceValueSet() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the valueset for all source values in this mapping.
- getSystem() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableConceptMap.CodeValue
-
Returns the code system.
- getSystem() - Method in class com.cerner.bunsen.codes.Value
-
Returns the code system that owns this value.
- getTarget(String, String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableConceptMap
-
Returns the target list of code values, or an empty list.
- getTargetSystem() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the code system for the target code.
- getTargetValue() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the code value for the target code.
- getTargetValueSet() - Method in class com.cerner.bunsen.codes.Mapping
-
Returns the valueset for all target values in this mapping.
- getUri() - Method in class com.cerner.bunsen.codes.Ancestor
-
Returns the hierarchy URI that owns this value.
- getUri() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Returns the URI of the hierarchy that owns this ancestor value.
- getUriAndVersionEncoder() - Static method in class com.cerner.bunsen.codes.Hierarchies
-
Returns the encoder for UrlAndVersion tuples.
- getUrl() - Method in class com.cerner.bunsen.codes.UrlAndVersion
-
- getUrlAndVersionEncoder() - Static method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns the encoder for UrlAndVersion tuples.
- getUrlAndVersionEncoder() - Static method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns the encoder for UrlAndVersion tuples.
- getUrlAndVersions(Dataset<T>) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a simple dataset of URL and versions of concept maps.
- getUrlAndVersions(Dataset<T>) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a dataset of distinct URL and version tuples.
- getValue() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableConceptMap.CodeValue
-
Returns the code value.
- getValue() - Method in class com.cerner.bunsen.codes.Value
-
Returns the value.
- getValueEncoder() - Static method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns the encoder for values.
- getValues() - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a dataset of all values in this collection.
- getValues(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns the values for the given URI and version.
- getValues(Map<String, String>) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a dataset with the values for each element in the map of uri to version.
- getValues(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets
-
Returns a map of code systems to the set of code values within
those systems used by the given valueset reference.
- getValueSet(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns the value set with the given uri and version, or null if there is no such value set.
- getValueSetEncoder() - Static method in class com.cerner.bunsen.r4.codes.ValueSets
-
Returns the encoder for value sets.
- getValueSetEncoder() - Static method in class com.cerner.bunsen.stu3.codes.ValueSets
-
Returns the encoder for value sets.
- getValueSets() - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a dataset of value sets to inspect metadata.
- getValueSetUri() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.Reference
-
Returns the value set uri that defines this reference relationship.
- getValueSetUri() - Method in class com.cerner.bunsen.codes.Value
-
Returns the URI for this FHIR value set that owns this value.
- getValueSetVersion() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.Reference
-
Returns the value set version that defines this reference relationship.
- getValueSetVersion() - Method in class com.cerner.bunsen.codes.Value
-
Returns the version for this FHIR value set that owns this value.
- getVersion() - Method in class com.cerner.bunsen.codes.Ancestor
-
Returns the hierarchy version that owns this value.
- getVersion() - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Returns the version of the hierarchy that owns this ancestor value.
- getVersion() - Method in class com.cerner.bunsen.codes.UrlAndVersion
-
- getVersion() - Method in class com.cerner.bunsen.codes.Value
-
Returns the version of the code system that owns this value.
- saveAsDatabase(SparkSession, JavaRDD<Bundles.BundleContainer>, String, String...) - Method in class com.cerner.bunsen.Bundles
-
Saves an RDD of bundles as a database, where each table
has the resource name.
- setAncestorSystem(String) - Method in class com.cerner.bunsen.codes.Ancestor
-
Sets the code system that owns the ancestor value.
- setAncestorSystem(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Sets the system of the ancestor code.
- setAncestorSystem(String) - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Sets the ancestor system.
- setAncestorValue(String) - Method in class com.cerner.bunsen.codes.Ancestor
-
Sets the ancestor value.
- setAncestorValue(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Sets the value of the ancestor code.
- setAncestorValue(String) - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Sets the ancestor value.
- setConceptMapUri(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the URI for the FHIR concept map that owns this mapping.
- setConceptMapVersion(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the version of the FHIR concept map that owns this mapping.
- setDescendantSystem(String) - Method in class com.cerner.bunsen.codes.Ancestor
-
Sets the code system that owns the descendant value.
- setDescendantSystem(String) - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Sets the descendant system.
- setDescendantValue(String) - Method in class com.cerner.bunsen.codes.Ancestor
-
Sets the descendant value.
- setDescendantValue(String) - Method in class com.cerner.bunsen.codes.Hierarchies.HierarchicalElement
-
Sets the descendant value.
- setEquivalence(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the equivalence for the mapping.
- setReferenceName(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Sets the value set reference name.
- setReferenceName(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.Reference
-
Sets the value set reference name.
- setSourceSystem(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the code system for the source code.
- setSourceValue(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the code value for the source code.
- setSourceValueSet(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the valueset for all source values in this mapping.
- setSystem(String) - Method in class com.cerner.bunsen.codes.Value
-
Sets the code system that owns this value.
- setTargetSystem(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the code system for the target code.
- setTargetValue(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the code value for the target code.
- setTargetValueSet(String) - Method in class com.cerner.bunsen.codes.Mapping
-
Sets the valueset for all target values in this mapping.
- setUri(String) - Method in class com.cerner.bunsen.codes.Ancestor
-
Sets the hierarchy URI that owns this value.
- setUri(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Sets the URI of the concept map that owns this ancestor value.
- setUrl(String) - Method in class com.cerner.bunsen.codes.UrlAndVersion
-
- setValue(String) - Method in class com.cerner.bunsen.codes.Value
-
Sets the value.
- setValueSetUri(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.Reference
-
Sets the value set uri that defines this reference relationship.
- setValueSetUri(String) - Method in class com.cerner.bunsen.codes.Value
-
Sets the URI for this FHIR value set that owns this value.
- setValueSetVersion(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.Reference
-
Sets the value set version that defines this reference relationship.
- setValueSetVersion(String) - Method in class com.cerner.bunsen.codes.Value
-
Sets the version for this FHIR value set that owns this value.
- setVersion(String) - Method in class com.cerner.bunsen.codes.Ancestor
-
Sets the hierarchy version that owns this value.
- setVersion(String) - Method in class com.cerner.bunsen.codes.broadcast.BroadcastableValueSets.AncestorValue
-
Sets the version of the hierarchy that owns this ancestor value.
- setVersion(String) - Method in class com.cerner.bunsen.codes.UrlAndVersion
-
- setVersion(String) - Method in class com.cerner.bunsen.codes.Value
-
Sets the version of the code system that owns this value.
- Shaded - Class in com.cerner.bunsen.shaded
-
This JAR contains only the bunsen-core project and its shaded dependencies
for simple use with Apache Spark.
- Shaded() - Constructor for class com.cerner.bunsen.shaded.Shaded
-
- Snomed - Class in com.cerner.bunsen.codes.systems
-
Support for SNOMED CT.
- Snomed() - Constructor for class com.cerner.bunsen.codes.systems.Snomed
-
- SNOMED_CODE_SYSTEM_URI - Static variable in class com.cerner.bunsen.codes.systems.Snomed
-
SNOMED code system URI.
- SNOMED_HIERARCHY_URI - Static variable in class com.cerner.bunsen.codes.systems.Snomed
-
Hierarchy URI used for SNOMED is-a relationships.
- spark - Variable in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
- spark - Variable in class com.cerner.bunsen.codes.base.AbstractValueSets
-
- SUBSUMES - Static variable in class com.cerner.bunsen.codes.Mapping
-
Subsumes constant definition.
- withConceptMaps(Dataset<T>) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a new ConceptMaps instance that includes the given maps.
- withConceptMaps(T...) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a new ConceptMaps instance that includes the given map.
- withConceptMaps(List<T>) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a new ConceptMaps instance that includes the given maps.
- withConceptMaps(Dataset<T>, Dataset<Mapping>) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
- withConceptMaps(Dataset<ConceptMap>) - Method in class com.cerner.bunsen.r4.codes.ConceptMaps
-
- withConceptMaps(Dataset<ConceptMap>) - Method in class com.cerner.bunsen.stu3.codes.ConceptMaps
-
- withDisjointMapsFromDirectory(String) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns all concept maps that are disjoint with concept maps stored in the default database and
adds them to our collection.
- withDisjointMapsFromDirectory(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns all concept maps that are disjoint with concept maps stored in the default database and
adds them to our collection.
- withDisjointValueSetsFromDirectory(String) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns all value sets that are disjoint with value sets stored in the default database and
adds them to our collection.
- withDisjointValueSetsFromDirectory(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns all value sets that are disjoint with value sets stored in the given database and
adds them to our collection.
- withExpandedMap(T, Dataset<Mapping>) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Returns a new ConceptMaps instance that includes the given map and expanded mappings.
- withHierarchies(Hierarchies) - Method in class com.cerner.bunsen.codes.Hierarchies
-
Returns a new hierarchies instance with the given hierarchies.
- withHierarchyElements(String, String, Dataset<Hierarchies.HierarchicalElement>) - Method in class com.cerner.bunsen.codes.Hierarchies
-
- withLoincHierarchy(SparkSession, Hierarchies, String, String) - Static method in class com.cerner.bunsen.codes.systems.Loinc
-
Returns a
Hierarchies
instance with the specified multiaxial hierarchy.
- withMapsFromDirectory(String) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Reads all concept maps from a given directory and adds them to
our collection.
- withRelationships(SparkSession, Hierarchies, String, String) - Static method in class com.cerner.bunsen.codes.systems.Snomed
-
Returns a ConceptMaps instance with the specified multiaxial hierarchy.
- withValueSets(Dataset<T>) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a new ValueSets instance that includes the given value sets.
- withValueSets(T...) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a new ValueSets instance that includes the given value sets.
- withValueSets(List<T>) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Returns a new ValueSets instance that includes the given value sets.
- withValueSets(Dataset<ValueSet>) - Method in class com.cerner.bunsen.r4.codes.ValueSets
-
Returns a new ValueSets instance that includes the given value sets.
- withValueSets(Dataset<ValueSet>) - Method in class com.cerner.bunsen.stu3.codes.ValueSets
-
Returns a new ValueSets instance that includes the given value sets.
- withValueSetsFromDirectory(String) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Reads all value sets from a given directory and adds them to our collection.
- writeToDatabase(String) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Writes the updated concept maps to a database using the default "mappings" and "conceptmaps"
table names.
- writeToDatabase() - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Writes the the value sets to the default database "ontologies" using default table names:
"values", and "valuesets".
- writeToDatabase(String) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Writes the value sets to the given database using default table names: "values", "valuesets",
and "ancestors".
- writeToDatabase() - Method in class com.cerner.bunsen.codes.Hierarchies
-
Writes the ancestors to the default database "ontologies" using the default table "ancestors".
- writeToDatabase(String) - Method in class com.cerner.bunsen.codes.Hierarchies
-
Writes the ancestors to the given database using the default table name "ancestors".
- writeToTables(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractConceptMaps
-
Writes mappings to the given tables.
- writeToTables(String, String) - Method in class com.cerner.bunsen.codes.base.AbstractValueSets
-
Writes value sets to the given tables.
- writeToTables(String) - Method in class com.cerner.bunsen.codes.Hierarchies
-
Writes the ancestors to the given table.