abstract class FhirConversionSupport extends Serializable
Helper functions to allow code to convert FHIR resources independently of the FHIR version. Typically, an implementation specific to a FHIR version is provided at runtime.
- Alphabetic
- By Inheritance
- FhirConversionSupport
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new FhirConversionSupport()
Abstract Value Members
-
abstract
def
extractEntryFromBundle[T <: IBaseResource](bundle: IBaseBundle, resourceClass: Class[T]): List[IBaseResource]
Extracts resources of the given type from a FHIR bundle.
Extracts resources of the given type from a FHIR bundle.
- bundle
the bundle
- resourceClass
the class of the resources to extract
- returns
the list of the resources of the specified type
- Annotations
- @Nonnull()
-
abstract
def
fhirType(base: IBase): String
Returns the type of a given FHIR object, such as "Condition" or "Observation".
Returns the type of a given FHIR object, such as "Condition" or "Observation".
- base
a FHIR object
- returns
the FHIR type
-
abstract
def
resolveReferences(bundle: IBaseBundle): IBaseBundle
Resolves URN references in the given bundle to relative references for resources defined in the bundle.
Resolves URN references in the given bundle to relative references for resources defined in the bundle. URN references to resources not defined in the bundle are left unchanged. The references are resolved in-place, that is the input bundle is modified. The implementation may relay on
org.hl7.fhir.instance.model.api.IBaseReference@getResource()
being set the referenced resource.- bundle
the bundle
- returns
the bundle with references to existing resources resolved
- Annotations
- @Nonnull()
Concrete 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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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
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()
-
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