Uses of Interface
org.hl7.fhir.instance.model.api.IBase
Package
Description
-
Uses of IBase in ca.uhn.fhir.context
Modifier and TypeClassDescriptionclass
BaseRuntimeElementCompositeDefinition<T extends IBase>
class
BaseRuntimeElementDefinition<T extends IBase>
Modifier and TypeMethodDescriptionBaseRuntimeChildDefinition.IAccessor.getFirstValueOrNull
(IBase theTarget) Modifier and TypeMethodDescriptionRuntimeChildDeclaredExtensionDefinition.getChildType()
RuntimeChildChoiceDefinition.getChoices()
BaseRuntimeChildDatatypeDefinition.getDatatype()
IRuntimeDatatypeDefinition.getImplementingClass()
RuntimeChildChoiceDefinition.getValidChildTypes()
Modifier and TypeMethodDescriptionvoid
void
void
BaseRuntimeChildDefinition.IAccessor.getFirstValueOrNull
(IBase theTarget) default void
Remove an item from a list of valuesvoid
void
void
void
void
Modifier and TypeMethodDescriptionBaseRuntimeChildDatatypeDefinition.getChildElementDefinitionByDatatype
(Class<? extends IBase> theDatatype) abstract BaseRuntimeElementDefinition
<?> BaseRuntimeChildDefinition.getChildElementDefinitionByDatatype
(Class<? extends IBase> theType) RuntimeChildChoiceDefinition.getChildElementDefinitionByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildContainedResources.getChildElementDefinitionByDatatype
(Class<? extends IBase> theType) RuntimeChildDeclaredExtensionDefinition.getChildElementDefinitionByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildDirectResource.getChildElementDefinitionByDatatype
(Class<? extends IBase> theType) RuntimeChildExt.getChildElementDefinitionByDatatype
(Class<? extends IBase> theType) RuntimeChildResourceBlockDefinition.getChildElementDefinitionByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildResourceDefinition.getChildElementDefinitionByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildUndeclaredExtensionDefinition.getChildElementDefinitionByDatatype
(Class<? extends IBase> theType) BaseRuntimeChildDatatypeDefinition.getChildNameByDatatype
(Class<? extends IBase> theDatatype) abstract String
BaseRuntimeChildDefinition.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildChoiceDefinition.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildContainedResources.getChildNameByDatatype
(Class<? extends IBase> theType) RuntimeChildDeclaredExtensionDefinition.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildDirectResource.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildExt.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildExtension.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildResourceBlockDefinition.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildResourceDefinition.getChildNameByDatatype
(Class<? extends IBase> theDatatype) RuntimeChildUndeclaredExtensionDefinition.getChildNameByDatatype
(Class<? extends IBase> theDatatype) FhirContext.getElementDefinition
(Class<? extends IBase> theElementType) Returns the scanned runtime model for the given type.void
FhirContext.registerCustomType
(Class<? extends IBase> theType) This method may be used to register a custom resource or datatype.void
FhirContext.registerCustomTypes
(Collection<Class<? extends IBase>> theTypes) This method may be used to register a custom resource or datatype.void
RuntimeCompositeDatatypeDefinition.sealAndInitialize
(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) void
RuntimeExtensionDtDefinition.sealAndInitialize
(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) void
RuntimeResourceDefinition.sealAndInitialize
(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) ModifierConstructorDescriptionBaseRuntimeChildDatatypeDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype) BaseRuntimeElementCompositeDefinition
(String theName, Class<? extends T> theImplementingClass, boolean theStandardType, FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) RuntimeChildChoiceDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, List<Class<? extends IBase>> theChoiceTypes) ConstructorRuntimeChildCompositeBoundDatatypeDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype, IValueSetEnumBinder<Enum<?>> theBinder, Class<? extends Enum<?>> theEnumType) RuntimeChildCompositeDatatypeDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype) RuntimeChildNarrativeDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype) RuntimeChildPrimitiveBoundCodeDatatypeDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype, Object theBinder, Class<? extends Enum<?>> theEnumType) RuntimeChildPrimitiveDatatypeDefinition
(Field theField, String theElementName, Description theDescriptionAnnotation, Child theChildAnnotation, Class<? extends IBase> theDatatype) RuntimeChildPrimitiveEnumerationDatatypeDefinition
(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IBase> theDatatype, Class<? extends Enum<?>> theBinderType) RuntimeChildResourceBlockDefinition
(FhirContext theContext, Field theField, Child theChildAnnotation, Description theDescriptionAnnotation, String theElementName, Class<? extends IBase> theResourceBlockType) RuntimeCompositeDatatypeDefinition
(DatatypeDef theDef, Class<? extends ICompositeType> theImplementingClass, boolean theStandardType, FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) RuntimeExtensionDtDefinition
(DatatypeDef theDef, Class<? extends ICompositeType> theImplementingClass, boolean theStandardType, FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) RuntimeResourceBlockDefinition
(String theName, Class<? extends IBase> theImplementingClass, boolean theStandardType, FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) RuntimeResourceBlockDefinition
(String theName, Class<? extends IBase> theImplementingClass, boolean theStandardType, FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) RuntimeResourceDefinition
(FhirContext theContext, String theResourceName, Class<? extends IBaseResource> theClass, ResourceDef theResourceAnnotation, boolean theStandardType, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) -
Uses of IBase in ca.uhn.fhir.fhirpath
Modifier and TypeMethodDescriptionIFhirPath.evaluate
(IBase theInput, IFhirPath.IParsedExpression theParsedExpression, Class<T> theReturnType) Apply the given FhirPath expression against the given input and return all results in a list.Apply the given FhirPath expression against the given input and return all results in a listIFhirPath.evaluateFirst
(IBase theInput, IFhirPath.IParsedExpression theParsedExpression, Class<T> theReturnType) Apply the given FhirPath expression against the given input and return the first match (if any).IFhirPath.evaluateFirst
(IBase theInput, String thePath, Class<T> theReturnType) Apply the given FhirPath expression against the given input and return the first match (if any)Modifier and TypeMethodDescriptiondefault IBase
IFhirPathEvaluationContext.resolveReference
(IIdType theReference, IBase theContext) Evaluates theresolve()
function and returns the target of the resolution.Modifier and TypeMethodDescriptionIFhirPathEvaluationContext.resolveConstant
(Object appContext, String name, boolean beforeContext) Modifier and TypeMethodDescriptionIFhirPath.evaluate
(IBase theInput, IFhirPath.IParsedExpression theParsedExpression, Class<T> theReturnType) Apply the given FhirPath expression against the given input and return all results in a list.Apply the given FhirPath expression against the given input and return all results in a listIFhirPath.evaluateFirst
(IBase theInput, IFhirPath.IParsedExpression theParsedExpression, Class<T> theReturnType) Apply the given FhirPath expression against the given input and return the first match (if any).IFhirPath.evaluateFirst
(IBase theInput, String thePath, Class<T> theReturnType) Apply the given FhirPath expression against the given input and return the first match (if any)default IBase
IFhirPathEvaluationContext.resolveReference
(IIdType theReference, IBase theContext) Evaluates theresolve()
function and returns the target of the resolution. -
Uses of IBase in ca.uhn.fhir.model.api
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
interface
interface
interface
This interface is the parent interface for all FHIR Resource definition classes.interface
interface
interface
Modifier and TypeClassDescriptionclass
class
class
class
class
A single tagclass
A collection of tags present on a single resource. -
Uses of IBase in ca.uhn.fhir.model.base.composite
Modifier and TypeClassDescriptionclass
class
class
class
class
BaseNarrativeDt<T extends Enum<?>>
class
class
-
Uses of IBase in ca.uhn.fhir.model.base.resource
Modifier and TypeInterfaceDescriptioninterface
interface
interface
-
Uses of IBase in ca.uhn.fhir.model.primitive
Modifier and TypeClassDescriptionclass
class
class
class
BoundCodeDt<T extends Enum<?>>
class
class
Represents a FHIR date datatype.class
Represents a FHIR dateTime datatype.class
class
Represents the FHIR ID type.class
Represents a FHIR instant datatype.class
class
class
class
class
class
Represents a Time datatype, per the FHIR specification.class
class
class
Note that as of HAPI FHIR 3.1.0, this method no longer uses the StAX XMLEvent type as the XML representation, and uses a String instead. -
Uses of IBase in ca.uhn.fhir.narrative
Modifier and TypeMethodDescriptionprotected String
BaseThymeleafNarrativeGenerator.applyTemplate
(FhirContext theFhirContext, INarrativeTemplate theTemplate, IBase theTargetContext) -
Uses of IBase in ca.uhn.fhir.narrative2
Modifier and TypeMethodDescriptionINarrativeTemplate.getAppliesToClasses()
NarrativeTemplate.getAppliesToClasses()
Modifier and TypeMethodDescriptionprotected abstract String
BaseNarrativeGenerator.applyTemplate
(FhirContext theFhirContext, INarrativeTemplate theTemplate, IBase theTargetContext) INarrativeTemplateManifest.getTemplateByElement
(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElementValue) NarrativeTemplateManifest.getTemplateByElement
(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElement) protected List
<INarrativeTemplate> BaseNarrativeGenerator.getTemplateForElement
(FhirContext theFhirContext, IBase theElement) -
Uses of IBase in ca.uhn.fhir.parser
Modifier and TypeMethodDescriptionBaseParser.preProcessValues
(BaseRuntimeChildDefinition theMetaChildUncast, IBaseResource theResource, List<? extends IBase> theValues, BaseParser.CompositeChildElement theCompositeChildElement, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) Modifier and TypeMethodDescriptionprotected Iterable
<BaseParser.CompositeChildElement> BaseParser.compositeChildIterator
(IBase theCompositeElement, boolean theContainedResource, BaseParser.CompositeChildElement theParent, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected void
BaseParser.doEncodeToWriter
(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected void
JsonParser.doEncodeToWriter
(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected void
XmlParser.doEncodeToWriter
(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) BaseParser.encodeToString
(IBase theElement) IParser.encodeToString
(IBase theElement) Encodes any FHIR element to a string.void
BaseParser.encodeToWriter
(IBase theElement, Writer theWriter) protected void
BaseParser.encodeToWriter
(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) void
IParser.encodeToWriter
(IBase theElement, Writer theWriter) Encodes any FHIR element to a writer.protected String
BaseParser.getCompositeElementId
(IBase theElement) Modifier and TypeMethodDescriptionBaseParser.preProcessValues
(BaseRuntimeChildDefinition theMetaChildUncast, IBaseResource theResource, List<? extends IBase> theValues, BaseParser.CompositeChildElement theCompositeChildElement, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected void
BaseParser.throwExceptionForUnknownChildType
(BaseRuntimeChildDefinition nextChild, Class<? extends IBase> theType) -
Uses of IBase in ca.uhn.fhir.rest.gclient
Modifier and TypeMethodDescriptionIOperationUntypedWithInputAndPartialOutput.andParameter
(String theName, IBase theValue) Use chained method calls to construct a Parameters input.<T extends IBaseParameters>
IOperationUntypedWithInputAndPartialOutput<T> IOperationUntyped.withParameter
(Class<T> theParameterType, String theName, IBase theValue) Use chained method calls to construct a Parameters input. -
Uses of IBase in ca.uhn.fhir.rest.param
Modifier and TypeClassDescriptionstatic class
class
-
Uses of IBase in ca.uhn.fhir.util
Modifier and TypeFieldDescriptionstatic final Predicate
<org.apache.commons.lang3.tuple.Triple<BaseRuntimeChildDefinition, IBase, IBase>> TerserUtil.EXCLUDE_IDS_META_AND_EMPTY
Exclusion predicate for id/identifier, meta and fields with empty values.static final Predicate
<org.apache.commons.lang3.tuple.Triple<BaseRuntimeChildDefinition, IBase, IBase>> TerserUtil.EXCLUDE_IDS_META_AND_EMPTY
Exclusion predicate for id/identifier, meta and fields with empty values.Modifier and TypeMethodDescription<T extends IBase>
TFhirTerser.addElement
(IBase theTarget, String thePath) Adds and returns a new element at the given path within the given structure.<T extends IBase>
TFhirTerser.addElement
(IBase theTarget, String thePath, String theValue) Adds and returns a new element at the given path within the given structure.FhirTerser.getAllPopulatedChildElementsOfType
(IBaseResource theResource, Class<T> theType) Returns a list containing all child elements (including the resource itself) which are non-empty and are either of the exact type specified, or are a subclass of that type.FhirTerser.getSingleValue
(IBase theTarget, String thePath, Class<T> theWantedType) <T extends IBase>
TFhirTerser.getSingleValueOrNull
(IBase theTarget, String thePath, Class<T> theWantedType) Returns values stored in an element identified by its path.Returns values stored in an element identified by its path.FhirTerser.getValues
(IBase theElement, String thePath, Class<T> theWantedClass, boolean theCreate, boolean theAddExtension) Returns values stored in an element identified by its path.static <T extends IBase>
TTerserUtil.newElement
(FhirContext theFhirContext, String theElementType) Creates a new element instancestatic <T extends IBase>
TTerserUtil.newElement
(FhirContext theFhirContext, String theElementType, Object theConstructorParam) Creates a new element instancestatic <T extends IBase>
TTerserUtil.newResource
(FhirContext theFhirContext, String theResourceName) Creates a new resource definition.static <T extends IBase>
TTerserUtil.newResource
(FhirContext theFhirContext, String theResourceName, Object theConstructorParam) Creates a new resource definition.<T extends IBase>
TFhirTerser.setElement
(IBase theTarget, String thePath, String theValue) Adds and returns a new element at the given path within the given structure.Modifier and TypeMethodDescriptionBundleBuilder.addEntry()
Creates new entry and adds it to the bundleBundleBuilder.addEntryAndReturnRequest()
static IBase
OperationOutcomeUtil.addIssue
(FhirContext theCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theDetails, String theLocation, String theCode) Add an issue to an OperationOutcomestatic IBase
OperationOutcomeUtil.addIssue
(FhirContext theCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theDetails, String theLocation, String theCode, String theDetailSystem, String theDetailCode, String theDetailDescription) static IBase
OperationOutcomeUtil.addIssueWithMessageId
(FhirContext myCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theMessage, String theMessageId, String theLocation, String theCode) static IBase
ParametersUtil.addParameterToParameters
(FhirContext theContext, IBaseParameters theParameters, String theName) Add a parameter with no value (typically because we'll be adding sub-parameters)static IBase
ParametersUtil.addPart
(FhirContext theContext, IBase theParameter, String theName, IBase theValue) Clones all values from a source object into the equivalent fields in a target objectstatic IBase
BundleUtil.createNewBundleEntryWithSingleField
(FhirContext theContext, String theFieldName, IBase... theValues) create a new bundle entry and set a value for a single fieldstatic IBase
ParametersUtil.createPart
(FhirContext theContext, IBase thePart, String theName) PropertyModifyingHelper.getBase()
Gets the base instance that this helper operates onTerserUtilHelper.getFieldValue
(String theField) Gets first available values of the specified field.TerserUtilHelper.getFieldValueByFhirPath
(String theFhirPath) Gets first available value for the specified field values by FHIRPath.static IBase
TerserUtil.getFirstFieldByFhirPath
(FhirContext theFhirContext, String theFhirPath, IBase theResource) Returns the first available field value at the specified FHIR path from the resource.static IBase
BundleUtil.getReferenceInBundle
(FhirContext theFhirContext, String theUrl, Object theAppContext) static IBase
TerserUtil.getValueFirstRep
(FhirContext theFhirContext, IBaseResource theResource, String theFieldName) Gets the first available value for the specified field.TerserUtilHelper.newElement
(String theElementName) Creates a new elementprotected IBase
TerserUtilHelper.newElement
(String theElementType, Object theValue) protected IBase
TerserUtilHelper.newStringElement
(String theValue) Modifier and TypeMethodDescriptionTerserUtil.getFieldByFhirPath
(FhirContext theFhirContext, String theFhirPath, IBase theResource) Returns field values ant the specified FHIR path from the resource.TerserUtilHelper.getFieldValues
(String theField) Gets values for the specified child field.TerserUtilHelper.getFieldValuesByFhirPath
(String theFhirPath) Gets values for the specified field values by FHIRPath.ParametersUtil.getNamedParameter
(FhirContext theCtx, IBaseResource theParameters, String theParameterName) ParametersUtil.getNamedParameters
(FhirContext theCtx, IBaseResource theParameters, String theParameterName) ParametersUtil.getParameterPart
(FhirContext theCtx, IBase theParameter, String theParameterName) ParametersUtil.getParameterPartValue
(FhirContext theCtx, IBase theParameter, String theParameterName) Returns values stored in an element identified by its path.Returns values stored in an element identified by its path.Returns values stored in an element identified by its path.TerserUtil.getValues
(FhirContext theFhirContext, IBaseResource theResource, String theFieldName) Gets all values of the specified field.Modifier and TypeMethodDescriptionvoid
IModelVisitor.acceptElement
(IBaseResource theResource, IBase theElement, List<String> thePathToElement, BaseRuntimeChildDefinition theChildDefinition, BaseRuntimeElementDefinition<?> theDefinition) boolean
IModelVisitor2.acceptElement
(IBase theElement, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) static void
OperationOutcomeUtil.addDetailsToIssue
(FhirContext theFhirContext, IBase theIssue, String theSystem, String theCode) <T extends IBase>
TFhirTerser.addElement
(IBase theTarget, String thePath) Adds and returns a new element at the given path within the given structure.<T extends IBase>
TFhirTerser.addElement
(IBase theTarget, String thePath, String theValue) Adds and returns a new element at the given path within the given structure.void
FhirTerser.addElements
(IBase theTarget, String thePath, Collection<String> theValues) This method has the same semantics asFhirTerser.addElement(IBase, String, String)
but adds a collection of primitives instead of a single one.static void
ExtensionUtil.addExtension
(FhirContext theFhirContext, IBase theBase, String theUrl, String theValueType, Object theValue) Adds an extension with the specified valuestatic IBaseExtension
<?, ?> ExtensionUtil.addExtension
(IBase theBase) Returns an new empty extension.static IBaseExtension
<?, ?> ExtensionUtil.addExtension
(IBase theBase, String theUrl) Returns an extension with the specified URLstatic void
OperationOutcomeUtil.addIssueColExtensionToIssue
(FhirContext theCtx, IBase theIssue, String theColumn) static void
OperationOutcomeUtil.addIssueLineExtensionToIssue
(FhirContext theCtx, IBase theIssue, String theLine) static void
OperationOutcomeUtil.addLocationToIssue
(FhirContext theContext, IBase theIssue, String theLocation) static void
OperationOutcomeUtil.addMessageIdExtensionToIssue
(FhirContext theCtx, IBase theIssue, String theMessageId) static IBase
ParametersUtil.addPart
(FhirContext theContext, IBase theParameter, String theName, IBase theValue) static void
ParametersUtil.addPartBoolean
(FhirContext theContext, IBase theParameter, String theName, Boolean theValue) static void
ParametersUtil.addPartCode
(FhirContext theContext, IBase theParameter, String theName, String theCode) static void
ParametersUtil.addPartCoding
(FhirContext theContext, IBase theParameter, String theName, String theSystem, String theCode, String theDisplay) static void
ParametersUtil.addPartDecimal
(FhirContext theContext, IBase theParameter, String theName, Double theValue) static void
ParametersUtil.addPartInteger
(FhirContext theContext, IBase theParameter, String theName, Integer theInteger) static void
ParametersUtil.addPartResource
(FhirContext theContext, IBase theParameter, String theName, IBaseResource theValue) static void
ParametersUtil.addPartString
(FhirContext theContext, IBase theParameter, String theName, String theValue) static void
ParametersUtil.addPartUrl
(FhirContext theContext, IBase theParameter, String theName, String theCode) Creates new search instance for the specified entry.void
BundleBuilder.addToEntry
(IBase theEntry, String theEntryChildName, IBase theValue) Sets the specified entry field.void
BundleBuilder.addToSearch
(IBase theSearch, String theSearchFieldName, IBase theSearchFieldValue) Sets the specified search field.static List
<IBaseExtension<?, ?>> ExtensionUtil.clearAllExtensions
(IBase theBase) Removes all extensions.static List
<IBaseExtension<?, ?>> ExtensionUtil.clearExtensionsByUrl
(IBase theBase, String theUrl) Removes all extensions by URL.static void
TerserUtil.clearField
(FhirContext theFhirContext, String theFieldName, IBase theBase) Clears the specified field on the element providedstatic void
TerserUtil.cloneIdentifierIntoResource
(FhirContext theFhirContext, BaseRuntimeChildDefinition theIdentifierDefinition, IBase theNewIdentifier, IBaseResource theResourceToCloneInto) Given an Child Definition of `identifier`, a R4/DSTU3 Identifier, and a new resource, clone the identifier into that resources' identifier list if it is not already present.Clones all values from a source object into the equivalent fields in a target objectstatic IBase
BundleUtil.createNewBundleEntryWithSingleField
(FhirContext theContext, String theFieldName, IBase... theValues) create a new bundle entry and set a value for a single fieldstatic IBase
ParametersUtil.createPart
(FhirContext theContext, IBase thePart, String theName) static boolean
Checks if two items are equal viaTerserUtil.EQUALS_DEEP
methodstatic IBaseExtension
<?, ?> ExtensionUtil.getExtensionByUrl
(IBase theBase, String theExtensionUrl) Gets the first extension with the specified URLExtensionUtil.getExtensionPrimitiveValues
(IBase theBase, String theExtensionUrl) Given a resource or other structure that can have direct extensions, pulls out any extensions that have the given theExtensionUrl and a primitive value type, and returns a list of the string version of the extension values.static List
<IBaseExtension<?, ?>> ExtensionUtil.getExtensionsMatchingPredicate
(IBase theBase, Predicate<? super IBaseExtension<?, ?>> theFilter) Gets all extensions that match the specified filter predicateTerserUtil.getFieldByFhirPath
(FhirContext theFhirContext, String theFhirPath, IBase theResource) Returns field values ant the specified FHIR path from the resource.static IBase
TerserUtil.getFirstFieldByFhirPath
(FhirContext theFhirContext, String theFhirPath, IBase theResource) Returns the first available field value at the specified FHIR path from the resource.static IBaseExtension
<?, ?> ExtensionUtil.getOrCreateExtension
(IBase theBase, String theUrl) Returns an extension with the specified URL creating one if it doesn't exist.ParametersUtil.getParameterPart
(FhirContext theCtx, IBase theParameter, String theParameterName) ParametersUtil.getParameterPartValue
(FhirContext theCtx, IBase theParameter, String theParameterName) ParametersUtil.getParameterPartValueAsInteger
(FhirContext theCtx, IBase theParameter, String theParameterName) static String
ParametersUtil.getParameterPartValueAsString
(FhirContext theCtx, IBase theParameter, String theParameterName) FhirTerser.getSinglePrimitiveValue
(IBase theTarget, String thePath) FhirTerser.getSinglePrimitiveValueOrNull
(IBase theTarget, String thePath) FhirTerser.getSingleValue
(IBase theTarget, String thePath, Class<T> theWantedType) FhirTerser.getSingleValueOrNull
(IBase theTarget, String thePath) <T extends IBase>
TFhirTerser.getSingleValueOrNull
(IBase theTarget, String thePath, Class<T> theWantedType) Returns values stored in an element identified by its path.Returns values stored in an element identified by its path.Returns values stored in an element identified by its path.Returns values stored in an element identified by its path.Returns values stored in an element identified by its path.FhirTerser.getValues
(IBase theElement, String thePath, Class<T> theWantedClass, boolean theCreate, boolean theAddExtension) Returns values stored in an element identified by its path.static boolean
ExtensionUtil.hasExtension
(IBase theBase, String theExtensionUrl) Checks if the specified instance has an extension with the specified URLstatic boolean
ExtensionUtil.hasExtension
(IBase theBase, String theExtensionUrl, String theExtensionValue) Checks if the specified instance has an extension with the specified URLstatic boolean
<T extends IBase>
TFhirTerser.setElement
(IBase theTarget, String thePath, String theValue) Adds and returns a new element at the given path within the given structure.static void
ExtensionUtil.setExtension
(FhirContext theFhirContext, IBase theBase, String theUrl, String theValueType, Object theValue) Sets or replaces existing extension with the specified valuestatic void
ExtensionUtil.setExtensionAsString
(FhirContext theFhirContext, IBase theBase, String theUrl, String theValue) Sets or replaces existing extension with the specified value as a stringstatic void
TerserUtil.setField
(FhirContext theFhirContext, FhirTerser theTerser, String theFieldName, IBaseResource theResource, IBase... theValues) Sets the provided field with the given values.static void
TerserUtil.setField
(FhirContext theFhirContext, String theFieldName, IBaseResource theResource, IBase... theValues) Sets the provided field with the given values.static void
TerserUtil.setFieldByFhirPath
(FhirContext theFhirContext, String theFhirPath, IBaseResource theResource, IBase theValue) Sets the specified value at the FHIR path provided.static void
TerserUtil.setFieldByFhirPath
(FhirTerser theTerser, String theFhirPath, IBaseResource theResource, IBase theValue) Sets the specified value at the FHIR path provided.BundleBuilder.setMetaField
(String theFieldName, IBase theFieldValue) Note that this method does not work for DSTU2 model classes, it will only work on DSTU3+.BundleBuilder.setSearchField
(IBase theSearch, String theFieldName, String theFieldValue) Sets the specified primitive field on the search entry with the value provided.BundleBuilder.setSearchField
(IBase theSearch, String theFieldName, IPrimitiveType<?> theFieldValue) void
FhirTerser.visit
(IBase theElement, IModelVisitor2 theVisitor) Visit all elements in a given resource or elementModifier and TypeMethodDescriptionboolean
IModelVisitor2.acceptElement
(IBase theElement, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) default boolean
IModelVisitor2.acceptUndeclaredExtension
(IBaseExtension<?, ?> theNextExt, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) static boolean
static void
TerserUtil.replaceFieldsByPredicate
(FhirContext theFhirContext, IBaseResource theFrom, IBaseResource theTo, Predicate<org.apache.commons.lang3.tuple.Triple<BaseRuntimeChildDefinition, IBase, IBase>> thePredicate) Replaces fields on theTo resource that test positive by the given predicate.static void
TerserUtil.replaceFieldsByPredicate
(FhirContext theFhirContext, IBaseResource theFrom, IBaseResource theTo, Predicate<org.apache.commons.lang3.tuple.Triple<BaseRuntimeChildDefinition, IBase, IBase>> thePredicate) Replaces fields on theTo resource that test positive by the given predicate.ModifierConstructorDescriptionPropertyModifyingHelper
(FhirContext theFhirContext, IBase theBase) Creates a new instance initializing the dependencies. -
Uses of IBase in ca.uhn.fhir.util.bundle
ModifierConstructorDescriptionBundleEntryMutator
(FhirContext theFhirContext, IBase theEntry, BaseRuntimeChildDefinition theRequestChildDef, BaseRuntimeElementCompositeDefinition<?> theChildContentsDef, BaseRuntimeElementCompositeDefinition<?> theEntryDefinition) -
Uses of IBase in org.hl7.fhir.instance.model.api
Modifier and TypeInterfaceDescriptioninterface
An IBaseResource that has a FHIR version of DSTU3 or higherinterface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
IBaseEnumeration<T extends Enum<?>>
interface
IBaseExtension<T,
D> interface
interface
interface
interface
interface
interface
interface
interface
For now, this is a simple marker interface indicating that a class is a resource type.interface
interface
interface
interface
Base interface for ID datatype.interface
interface