class R4DataTypeMappings extends DataTypeMappings
Data type mappings for FHIR STU3.
- Alphabetic
- By Inheritance
- R4DataTypeMappings
- DataTypeMappings
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new R4DataTypeMappings()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- R4DataTypeMappings → DataTypeMappings
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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
- R4DataTypeMappings → DataTypeMappings
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
- R4DataTypeMappings → DataTypeMappings
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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
- R4DataTypeMappings → DataTypeMappings
-
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
- R4DataTypeMappings → DataTypeMappings
-
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
- R4DataTypeMappings → DataTypeMappings
-
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
- R4DataTypeMappings → DataTypeMappings
-
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
- R4DataTypeMappings → DataTypeMappings
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated