public class FhirEncoders extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FhirEncoders.Builder
Encoder builder.
|
| Modifier and Type | Method and Description |
|---|---|
static FhirEncoders.Builder |
forStu3()
Returns a builder to create encoders
for FHIR STU3.
|
<T extends org.hl7.fhir.instance.model.api.IBaseResource> |
of(Class<T> type)
Returns an encoder for the given FHIR resource.
|
<T extends org.hl7.fhir.instance.model.api.IBaseResource> |
of(String resourceName)
Returns an encoder for the given FHIR resource by name, as defined
by the FHIR specification.
|
public static FhirEncoders.Builder forStu3()
public <T extends org.hl7.fhir.instance.model.api.IBaseResource> org.apache.spark.sql.catalyst.encoders.ExpressionEncoder<T> of(Class<T> type)
T - the type of the resource to be encoded.type - the type of the resource to encode.public <T extends org.hl7.fhir.instance.model.api.IBaseResource> org.apache.spark.sql.catalyst.encoders.ExpressionEncoder<T> of(String resourceName)
T - the type of the resource to be encoded.resourceName - the name of the FHIR resource to encode, such as
"Encounter", "Condition", "Observation", etc.Copyright © 2018. All rights reserved.