
Uses of Interface
org.hl7.fhir.instance.model.api.IBase
Packages that use IBase
Package
Description
-
Uses of IBase in ca.uhn.fhir.context
Classes in ca.uhn.fhir.context with type parameters of type IBaseModifier and TypeClassDescriptionclassBaseRuntimeElementCompositeDefinition<T extends IBase>classBaseRuntimeElementDefinition<T extends IBase>Methods in ca.uhn.fhir.context with type parameters of type IBaseModifier and TypeMethodDescriptionBaseRuntimeChildDefinition.IAccessor.getFirstValueOrNull(IBase theTarget) Methods in ca.uhn.fhir.context that return IBaseMethods in ca.uhn.fhir.context that return types with arguments of type IBaseModifier and TypeMethodDescriptionRuntimeChildDeclaredExtensionDefinition.getChildType()RuntimeChildChoiceDefinition.getChoices()BaseRuntimeChildDatatypeDefinition.getDatatype()IRuntimeDatatypeDefinition.getImplementingClass()RuntimeChildChoiceDefinition.getValidChildTypes()Methods in ca.uhn.fhir.context with parameters of type IBaseModifier and TypeMethodDescriptionvoidvoidvoidBaseRuntimeChildDefinition.IAccessor.getFirstValueOrNull(IBase theTarget) default voidRemove an item from a list of valuesvoidvoidvoidvoidvoidMethod parameters in ca.uhn.fhir.context with type arguments of type IBaseModifier 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 StringBaseRuntimeChildDefinition.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.voidFhirContext.registerCustomType(Class<? extends IBase> theType) This method may be used to register a custom resource or datatype.voidFhirContext.registerCustomTypes(Collection<Class<? extends IBase>> theTypes) This method may be used to register a custom resource or datatype.voidRuntimeCompositeDatatypeDefinition.sealAndInitialize(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) voidRuntimeExtensionDtDefinition.sealAndInitialize(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) voidRuntimeResourceDefinition.sealAndInitialize(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) Constructor parameters in ca.uhn.fhir.context with type arguments of type IBaseModifierConstructorDescriptionBaseRuntimeChildDatatypeDefinition(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
Methods in ca.uhn.fhir.fhirpath with type parameters of type IBaseModifier 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)Methods in ca.uhn.fhir.fhirpath that return IBaseModifier and TypeMethodDescriptiondefault IBaseIFhirPathEvaluationContext.resolveReference(IIdType theReference, IBase theContext) Evaluates theresolve()function and returns the target of the resolution.Methods in ca.uhn.fhir.fhirpath that return types with arguments of type IBaseModifier and TypeMethodDescriptionIFhirPathEvaluationContext.resolveConstant(Object theAppContext, String theName, IFhirPathEvaluationContext.ConstantEvaluationMode theConstantEvaluationMode) Methods in ca.uhn.fhir.fhirpath with parameters of type IBaseModifier 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 IBaseIFhirPathEvaluationContext.resolveReference(IIdType theReference, IBase theContext) Evaluates theresolve()function and returns the target of the resolution. -
Uses of IBase in ca.uhn.fhir.model.api
Subinterfaces of IBase in ca.uhn.fhir.model.apiModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceThis interface is the parent interface for all FHIR Resource definition classes.interfaceinterfaceinterfaceClasses in ca.uhn.fhir.model.api that implement IBaseModifier and TypeClassDescriptionclassclassclassclassclassA single tagclassA collection of tags present on a single resource.Methods in ca.uhn.fhir.model.api that return IBaseMethods in ca.uhn.fhir.model.api that return types with arguments of type IBase -
Uses of IBase in ca.uhn.fhir.model.base.composite
Classes in ca.uhn.fhir.model.base.composite that implement IBaseModifier and TypeClassDescriptionclassclassclassclassclassBaseNarrativeDt<T extends Enum<?>>classclass -
Uses of IBase in ca.uhn.fhir.model.base.resource
Subinterfaces of IBase in ca.uhn.fhir.model.base.resourceModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceClasses in ca.uhn.fhir.model.base.resource that implement IBase -
Uses of IBase in ca.uhn.fhir.model.primitive
Classes in ca.uhn.fhir.model.primitive that implement IBaseModifier and TypeClassDescriptionclassclassclassclassBoundCodeDt<T extends Enum<?>>classclassRepresents a FHIR date datatype.classRepresents a FHIR dateTime datatype.classclassRepresents the FHIR ID type.classRepresents a FHIR instant datatype.classclassclassclassclassclassRepresents a Time datatype, per the FHIR specification.classclassclassNote 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
Methods in ca.uhn.fhir.narrative with parameters of type IBaseModifier and TypeMethodDescriptionprotected StringBaseThymeleafNarrativeGenerator.applyTemplate(FhirContext theFhirContext, INarrativeTemplate theTemplate, IBase theTargetContext) -
Uses of IBase in ca.uhn.fhir.narrative2
Methods in ca.uhn.fhir.narrative2 that return types with arguments of type IBaseModifier and TypeMethodDescriptionINarrativeTemplate.getAppliesToClasses()NarrativeTemplate.getAppliesToClasses()Methods in ca.uhn.fhir.narrative2 with parameters of type IBaseModifier and TypeMethodDescriptionprotected abstract StringBaseNarrativeGenerator.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
Methods in ca.uhn.fhir.parser that return types with arguments of type IBaseModifier and TypeMethodDescriptionBaseParser.preProcessValues(BaseRuntimeChildDefinition theMetaChildUncast, IBaseResource theResource, List<? extends IBase> theValues, BaseParser.CompositeChildElement theCompositeChildElement, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) Methods in ca.uhn.fhir.parser with parameters of type IBaseModifier and TypeMethodDescriptionprotected Iterable<BaseParser.CompositeChildElement> BaseParser.compositeChildIterator(IBase theCompositeElement, boolean theContainedResource, BaseParser.CompositeChildElement theParent, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected voidBaseParser.doEncodeToWriter(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected voidJsonParser.doEncodeToWriter(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected voidXmlParser.doEncodeToWriter(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected voidBaseParser.doParseIntoComplexStructure(Reader theSource, IBase theTarget) protected voidJsonParser.doParseIntoComplexStructure(Reader theSource, IBase theTarget) protected voidXmlParser.doParseIntoComplexStructure(Reader theSource, IBase theTarget) BaseParser.encodeToString(IBase theElement) IParser.encodeToString(IBase theElement) Encodes any FHIR element to a string.voidBaseParser.encodeToWriter(IBase theElement, Writer theWriter) protected voidBaseParser.encodeToWriter(IBase theElement, Writer theWriter, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) voidIParser.encodeToWriter(IBase theElement, Writer theWriter) Encodes any FHIR element to a writer.protected StringBaseParser.getCompositeElementId(IBase theElement) voidvoidParses an object fragment into the given structure.default voidParses an object fragment into the given structure.Method parameters in ca.uhn.fhir.parser with type arguments of type IBaseModifier and TypeMethodDescriptionBaseParser.preProcessValues(BaseRuntimeChildDefinition theMetaChildUncast, IBaseResource theResource, List<? extends IBase> theValues, BaseParser.CompositeChildElement theCompositeChildElement, ca.uhn.fhir.parser.BaseParser.EncodeContext theEncodeContext) protected voidBaseParser.throwExceptionForUnknownChildType(BaseRuntimeChildDefinition nextChild, Class<? extends IBase> theType) -
Uses of IBase in ca.uhn.fhir.rest.gclient
Methods in ca.uhn.fhir.rest.gclient with parameters of type IBaseModifier 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
Classes in ca.uhn.fhir.rest.param that implement IBaseModifier and TypeClassDescriptionstatic classclass -
Uses of IBase in ca.uhn.fhir.util
Fields in ca.uhn.fhir.util with type parameters of type IBaseModifier and TypeFieldDescriptionstatic final Function<IBase, IBaseResource> ElementUtil.CAST_BASE_TO_RESOURCEstatic final Function<IBase, IPrimitiveType<Date>> ElementUtil.CAST_TO_PRIMITIVE_DATEElementUtil.CONVERT_PRIMITIVE_TO_STRINGstatic final Predicate<org.apache.commons.lang3.tuple.Triple<BaseRuntimeChildDefinition, IBase, IBase>> TerserUtil.EXCLUDE_IDS_META_AND_EMPTYExclusion 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_EMPTYExclusion predicate for id/identifier, meta and fields with empty values.Methods in ca.uhn.fhir.util with type parameters of type IBaseModifier 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.<T extends IBase>
TCanonicalBundleEntry.toBundleEntry(FhirContext theFhirContext, Class<T> theBundleEntryComponentClass) Convert this CanonicalBundleEntry back to a Bundle Entry of the specified typeMethods in ca.uhn.fhir.util that return IBaseModifier and TypeMethodDescriptionBundleBuilder.addEntry()Creates new entry and adds it to the bundleBundleBuilder.addEntry(CanonicalBundleEntry theEntry) Add an entry to the bundle.Add an entry to the bundle.BundleBuilder.addEntryAndReturnRequest()static IBaseOperationOutcomeUtil.addIssue(FhirContext theCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theDiagnostics, String theLocation, String theCode) Add an issue to an OperationOutcomestatic IBaseOperationOutcomeUtil.addIssue(FhirContext theCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theDiagnostics, String theLocation, String theCode, String theDetailSystem, String theDetailCode, String theDetailDescription) static IBaseOperationOutcomeUtil.addIssueWithMessageId(FhirContext myCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theMessage, String theMessageId, String theLocation, String theCode) static IBaseParametersUtil.addParameterToParameters(FhirContext theContext, IBaseParameters theParameters, String theName) Add a parameter with no value (typically because we'll be adding sub-parameters)static IBaseParametersUtil.addPart(FhirContext theContext, IBase theParameter, String theName, IBase theValue) static IBaseParametersUtil.addPartBoolean(FhirContext theContext, IBase theParameter, String theName, Boolean theValue) BundleBuilder.addSearchMatchEntry(IBaseResource theResource) Clones all values from a source object into the equivalent fields in a target objectstatic IBaseBundleUtil.createNewBundleEntryWithSingleField(FhirContext theContext, String theFieldName, IBase... theValues) create a new bundle entry and set a value for a single fieldstatic IBaseParametersUtil.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 IBaseTerserUtil.getFirstFieldByFhirPath(FhirContext theFhirContext, String theFhirPath, IBase theResource) Returns the first available field value at the specified FHIR path from the resource.static IBaseBundleUtil.getReferenceInBundle(FhirContext theFhirContext, String theUrl, Object theAppContext) static IBaseTerserUtil.getValueFirstRep(FhirContext theFhirContext, IBaseResource theResource, String theFieldName) Gets the first available value for the specified field.TerserUtilHelper.newElement(String theElementName) Creates a new elementprotected IBaseTerserUtilHelper.newElement(String theElementType, Object theValue) protected IBaseTerserUtilHelper.newStringElement(String theValue) static IBaseElementUtil.setValue(IBase theTarget, BaseRuntimeChildDefinition theChildDef, Object theValue) Methods in ca.uhn.fhir.util that return types with arguments of type IBaseModifier 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) Returns a map containing all of the named parameters in a Parameters resource.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.Methods in ca.uhn.fhir.util with parameters of type IBaseModifier and TypeMethodDescriptionvoidIModelVisitor.acceptElement(IBaseResource theResource, IBase theElement, List<String> thePathToElement, BaseRuntimeChildDefinition theChildDefinition, BaseRuntimeElementDefinition<?> theDefinition) booleanIModelVisitor2.acceptElement(IBase theElement, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) static voidOperationOutcomeUtil.addDetailsToIssue(FhirContext theFhirContext, IBase theIssue, String theSystem, String theCode) static voidOperationOutcomeUtil.addDetailsToIssue(FhirContext theFhirContext, IBase theIssue, String theSystem, String theCode, String theText) <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.voidFhirTerser.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.Add an entry to the bundle.static voidOperationOutcomeUtil.addExpressionToIssue(FhirContext theContext, IBase theIssue, String theLocationExpression) Given an instance ofOperationOutcome.issue, adds a new instance ofOperationOutcome.issue.expressionwith the given string value.static voidExtensionUtil.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 URLvoidBundleBuilder.addFullUrl(IBase theEntry, String theFullUrl) static voidOperationOutcomeUtil.addIssueColExtensionToIssue(FhirContext theCtx, IBase theIssue, String theColumn) static voidOperationOutcomeUtil.addIssueLineExtensionToIssue(FhirContext theCtx, IBase theIssue, String theLine) static voidOperationOutcomeUtil.addLocationToIssue(FhirContext theContext, IBase theIssue, String theLocation) static voidOperationOutcomeUtil.addMessageIdExtensionToIssue(FhirContext theCtx, IBase theIssue, String theMessageId) static IBaseParametersUtil.addPart(FhirContext theContext, IBase theParameter, String theName, IBase theValue) static IBaseParametersUtil.addPartBoolean(FhirContext theContext, IBase theParameter, String theName, Boolean theValue) static voidParametersUtil.addPartCode(FhirContext theContext, IBase theParameter, String theName, String theCode) static voidParametersUtil.addPartCoding(FhirContext theContext, IBase theParameter, String theName, String theSystem, String theCode, String theDisplay) static voidParametersUtil.addPartDecimal(FhirContext theContext, IBase theParameter, String theName, Double theValue) static voidParametersUtil.addPartInteger(FhirContext theContext, IBase theParameter, String theName, Integer theInteger) static voidParametersUtil.addPartResource(FhirContext theContext, IBase theParameter, String theName, IBaseResource theValue) static voidParametersUtil.addPartString(FhirContext theContext, IBase theParameter, String theName, String theValue) static voidParametersUtil.addPartUrl(FhirContext theContext, IBase theParameter, String theName, String theCode) Creates new search instance for the specified entry.voidBundleBuilder.addToEntry(IBase theEntry, String theEntryChildName, IBase theValue) Sets the specified entry field.voidBundleBuilder.addToSearch(IBase theSearch, String theSearchFieldName, IBase theSearchFieldValue) Sets the specified search field.booleanClear all content on an elementstatic List<IBaseExtension<?, ?>> ExtensionUtil.clearAllExtensions(IBase theBase) Removes all extensions.static List<IBaseExtension<?, ?>> ExtensionUtil.clearExtensionsByUrl(IBase theBase, String theUrl) Removes all extensions by URL.static voidTerserUtil.clearField(FhirContext theFhirContext, String theFieldName, IBase theBase) Clears the specified field on the element providedstatic voidTerserUtil.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 IBaseBundleUtil.createNewBundleEntryWithSingleField(FhirContext theContext, String theFieldName, IBase... theValues) create a new bundle entry and set a value for a single fieldstatic IBaseParametersUtil.createPart(FhirContext theContext, IBase thePart, String theName) static booleanChecks if two items are equal viaTerserUtil.EQUALS_DEEPmethodstatic 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 IBaseTerserUtil.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.getParameterPartValueAsBoolean(FhirContext theCtx, IBase theParameter, String theParameterName) ParametersUtil.getParameterPartValueAsInteger(FhirContext theCtx, IBase theParameter, String theParameterName) static StringParametersUtil.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) static <T> TElementUtil.getSingleValueOrNull(IBase theParentElement, BaseRuntimeChildDefinition theChildDefinition, Function<IBase, T> theConverter) 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 booleanExtensionUtil.hasExtension(IBase theBase, String theExtensionUrl) Checks if the specified instance has an extension with the specified URLstatic booleanExtensionUtil.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 voidExtensionUtil.setExtension(FhirContext theFhirContext, IBase theBase, String theUrl, String theValueType, Object theValue) Sets or replaces existing extension with the specified valuestatic voidExtensionUtil.setExtensionAsString(FhirContext theFhirContext, IBase theBase, String theUrl, String theValue) Sets or replaces existing extension with the specified value as a stringstatic voidTerserUtil.setField(FhirContext theFhirContext, FhirTerser theTerser, String theFieldName, IBaseResource theResource, IBase... theValues) Sets the provided field with the given values.static voidTerserUtil.setField(FhirContext theFhirContext, String theFieldName, IBaseResource theResource, IBase... theValues) Sets the provided field with the given values.static voidTerserUtil.setFieldByFhirPath(FhirContext theFhirContext, String theFhirPath, IBaseResource theResource, IBase theValue) Sets the specified value at the FHIR path provided.static voidTerserUtil.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) static IBaseElementUtil.setValue(IBase theTarget, BaseRuntimeChildDefinition theChildDef, Object theValue) The new valuevoidFhirTerser.visit(IBase theElement, IModelVisitor2 theVisitor) Visit all elements in a given resource or elementMethod parameters in ca.uhn.fhir.util with type arguments of type IBaseModifier and TypeMethodDescriptionbooleanIModelVisitor2.acceptElement(IBase theElement, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) default booleanIModelVisitor2.acceptUndeclaredExtension(IBaseExtension<?, ?> theNextExt, List<IBase> theContainingElementPath, List<BaseRuntimeChildDefinition> theChildDefinitionPath, List<BaseRuntimeElementDefinition<?>> theElementDefinitionPath) SearchParameterUtil.getMembershipCompartmentsForSearchParameter(Class<? extends IBase> theResourceClazz, SearchParamDefinition theSearchParamDefinition) Retrieves the set of compartments for the provided Resource class and SP definition.static <T> TElementUtil.getSingleValueOrNull(IBase theParentElement, BaseRuntimeChildDefinition theChildDefinition, Function<IBase, T> theConverter) static booleanstatic voidTerserUtil.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 voidTerserUtil.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.Constructors in ca.uhn.fhir.util with parameters of type IBaseModifierConstructorDescriptionPropertyModifyingHelper(FhirContext theFhirContext, IBase theBase) Creates a new instance initializing the dependencies. -
Uses of IBase in ca.uhn.fhir.util.bundle
Methods in ca.uhn.fhir.util.bundle that return IBaseMethods in ca.uhn.fhir.util.bundle that return types with arguments of type IBaseModifier and TypeMethodDescriptionstatic Function<BundleResponseEntryParts, IBase> BundleResponseEntryParts.builder(FhirContext theFhirContext) static Function<IBase, BundleResponseEntryParts> BundleResponseEntryParts.buildPartsExtractor(FhirContext theFhirContext) Build an extractor function that can be used to extract the parts of a bundle entry.Methods in ca.uhn.fhir.util.bundle with parameters of type IBaseConstructors in ca.uhn.fhir.util.bundle with parameters of type IBaseModifierConstructorDescriptionBundleEntryMutator(FhirContext theFhirContext, IBase theEntry, BaseRuntimeChildDefinition theRequestChildDef, BaseRuntimeElementCompositeDefinition<?> theChildContentsDef, BaseRuntimeElementCompositeDefinition<?> theEntryDefinition, BaseRuntimeChildDefinition theMethodChildDef) -
Uses of IBase in org.hl7.fhir.instance.model.api
Subinterfaces of IBase in org.hl7.fhir.instance.model.apiModifier and TypeInterfaceDescriptioninterfaceAn IBaseResource that has a FHIR version of DSTU3 or higherinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceIBaseEnumeration<T extends Enum<?>>interfaceIBaseExtension<T,D> interfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceFor now, this is a simple marker interface indicating that a class is a resource type.interfaceinterfaceinterfaceinterfaceBase interface for ID datatype.interfaceinterfaceMethods in org.hl7.fhir.instance.model.api that return IBase