Packages

class R4DataTypeMappings extends DataTypeMappings

Data type mappings for FHIR STU3.

Linear Supertypes
DataTypeMappings, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. R4DataTypeMappings
  2. DataTypeMappings
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new R4DataTypeMappings()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseType(): Class[_ <: IBaseDatatype]

    Returns the base class of FHIR types in the version used.

    Returns the base class of FHIR types in the version used.

    returns

    the base class for FHIR types in the version used

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. def customEncoder(elementDefinition: BaseRuntimeElementDefinition[_], elementName: String): Option[CustomCoder]

    Returns a specialized custom coder for this child definition.

    Returns a specialized custom coder for this child definition.

    elementDefinition

    the element definition

    elementName

    the name of the element

    returns

    a specialized custom coder

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  8. def dataTypeToUtf8Expr(inputObject: Expression): Expression

    Returns a Spark expression that translate a string-based FHIR type to a Spark UTF8 string.

    Returns a Spark expression that translate a string-based FHIR type to a Spark UTF8 string. This pattern occurs frequently, so this method is here as a convenience.

    inputObject

    the expression referring to a string-based FHIR type

    returns

    an expression that produces a Spark UTF8 string

    Definition Classes
    DataTypeMappings
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def getValidChoiceTypes(choice: RuntimeChildChoiceDefinition): Seq[Class[_ <: IBase]]

    Returns the list of valid child types of given choice.

    Returns the list of valid child types of given choice.

    choice

    the choice child definition.

    returns

    list of valid types for this

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. def overrideCompositeExpression(inputObject: Expression, definition: BaseRuntimeElementCompositeDefinition[_]): Option[Seq[ExpressionWithName]]

    Allows custom expressions to be used when encoding composite objects.

    Allows custom expressions to be used when encoding composite objects. This supports special cases where FHIR objects don't follow conventions expected by reusable encoding logic, allowing custom expressions to be used just for that case.

    For most expressions this method should simply return None, indicate that no override is necessary.

    inputObject

    an expression referring to the composite object to encode

    definition

    the composite definition to encode

    returns

    an optional sequence of named expressions if the composite is overridden.

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  19. def primitiveDecoderExpression(primitiveClass: Class[_ <: IPrimitiveType[_]], path: Option[Expression]): Expression

    Returns an expression to deserialize a primitive type.

    Returns an expression to deserialize a primitive type.

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  20. def primitiveEncoderExpression(inputObject: Expression, primitive: RuntimePrimitiveDatatypeDefinition): Expression

    Returns an expression to serialize a primitive type.

    Returns an expression to serialize a primitive type.

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  21. def primitiveToDataType(definition: RuntimePrimitiveDatatypeDefinition): DataType

    Converts the given FHIR primitive to the Spark DataType used to encode it.

    Converts the given FHIR primitive to the Spark DataType used to encode it.

    definition

    the FHIR datatype definition.

    returns

    the corresponding Spark datatype

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  22. def skipField(definition: BaseRuntimeElementCompositeDefinition[_], child: BaseRuntimeChildDefinition): Boolean

    Returns true if the given field should be skipped during encoding and decoding, false otherwise.

    Returns true if the given field should be skipped during encoding and decoding, false otherwise. This allows the data type to explicitly short circuit a handful of recursive data model definitions that cannot be encoded in Spark.

    Definition Classes
    R4DataTypeMappingsDataTypeMappings
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from DataTypeMappings

Inherited from AnyRef

Inherited from Any

Ungrouped