public abstract class FhirConversionSupport extends Object implements Serializable
| Constructor and Description |
|---|
FhirConversionSupport() |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,List> |
compositeValues(org.hl7.fhir.instance.model.api.IBase composite)
Returns a map of the fields in a composite type to the corresponding values.
|
abstract List<org.hl7.fhir.instance.model.api.IBaseResource> |
extractEntryFromBundle(org.hl7.fhir.instance.model.api.IBaseBundle bundle,
String resourceType)
Extracts resources of the given type from a FHIR bundle.
|
abstract String |
fhirType(org.hl7.fhir.instance.model.api.IBase base)
Returns the type of a given FHIR object, such as "Condition" or "Observation".
|
static FhirConversionSupport |
forStu3()
Convenience function to load support for FHIR STU3.
|
static FhirConversionSupport |
supportFor(ca.uhn.fhir.context.FhirVersionEnum fhirVersion)
Returns the FHIR context for the given version.
|
public abstract String fhirType(org.hl7.fhir.instance.model.api.IBase base)
base - a FHIR objectpublic abstract Map<String,List> compositeValues(org.hl7.fhir.instance.model.api.IBase composite)
composite - a FHIR composite typepublic abstract List<org.hl7.fhir.instance.model.api.IBaseResource> extractEntryFromBundle(org.hl7.fhir.instance.model.api.IBaseBundle bundle, String resourceType)
bundle - the bundleresourceType - the resource type name, such as "Condition" or "Observation"public static FhirConversionSupport supportFor(ca.uhn.fhir.context.FhirVersionEnum fhirVersion)
fhirVersion - the version of FHIR to usepublic static FhirConversionSupport forStu3()
Copyright © 2020. All rights reserved.