
Uses of Interface
org.hl7.fhir.instance.model.api.IBaseBundle
Packages that use IBaseBundle
Package
Description
This package provides an interface and implementations abstracting
access to a FHIR repository.
-
Uses of IBaseBundle in ca.uhn.fhir.narrative2
Methods in ca.uhn.fhir.narrative2 with parameters of type IBaseBundleModifier and TypeMethodDescriptionbooleanNarrativeGeneratorTemplateUtils.bundleHasEntriesWithCode(IBaseBundle theBundle, String theResourceType, String theCodeSystem, String theCode) Returns if the bundle contains an entry resource whose `code` property contains a matching code system and code.booleanNarrativeGeneratorTemplateUtils.bundleHasEntriesWithoutCode(IBaseBundle theBundle, String theResourceType, String theCodeSystem, String theCode) Gets a boolean indicating if at least one bundle entry resource's `code` property does NOT contain the code system/code specified.booleanNarrativeGeneratorTemplateUtils.bundleHasEntriesWithResourceType(IBaseBundle theBaseBundle, String theResourceType) Given a Bundle as input, are any entries present with a given resource type -
Uses of IBaseBundle in ca.uhn.fhir.repository
Methods in ca.uhn.fhir.repository with type parameters of type IBaseBundleModifier and TypeMethodDescriptiondefault <B extends IBaseBundle,P extends IBaseParameters, I extends IIdType>
BReturns a Bundle with instance-level historydefault <B extends IBaseBundle,P extends IBaseParameters, I extends IIdType>
BReturns a Bundle with instance-level historydefault <B extends IBaseBundle,P extends IBaseParameters, T extends IBaseResource>
BReturns a Bundle with type-level history for this repositorydefault <B extends IBaseBundle,P extends IBaseParameters, T extends IBaseResource>
BIRepository.history(Class<T> resourceType, P parameters, Class<B> returnType, Map<String, String> headers) Returns a Bundle with type-level history for this repositorydefault <B extends IBaseBundle,P extends IBaseParameters>
BReturns a Bundle with server-level history for this repositorydefault <B extends IBaseBundle,P extends IBaseParameters>
BReturns a Bundle with server-level history for this repositorydefault <B extends IBaseBundle>
BReads a Bundle from a link on this repository This is typically used for paging during searchesdefault <B extends IBaseBundle>
BReads a Bundle from a link on this repository This is typically used for paging during searchesdefault <B extends IBaseBundle,T extends IBaseResource>
BIRepository.search(Class<B> bundleType, Class<T> resourceType, com.google.common.collect.Multimap<String, List<IQueryParameterType>> searchParameters) Searches this repository<B extends IBaseBundle,T extends IBaseResource>
BIRepository.search(Class<B> bundleType, Class<T> resourceType, com.google.common.collect.Multimap<String, List<IQueryParameterType>> searchParameters, Map<String, String> headers) Searches this repositorydefault <B extends IBaseBundle,T extends IBaseResource>
BIRepository.search(Class<B> bundleType, Class<T> resourceType, Map<String, List<IQueryParameterType>> searchParameters) Searches this repositorydefault <B extends IBaseBundle,T extends IBaseResource>
BIRepository.search(Class<B> bundleType, Class<T> resourceType, Map<String, List<IQueryParameterType>> searchParameters, Map<String, String> headers) Searches this repositorydefault <B extends IBaseBundle>
BIRepository.transaction(B transaction) Performs a transaction or batch on this repositorydefault <B extends IBaseBundle>
BIRepository.transaction(B transaction, Map<String, String> headers) Performs a transaction or batch on this repository -
Uses of IBaseBundle in ca.uhn.fhir.rest.client.api
Methods in ca.uhn.fhir.rest.client.api with type parameters of type IBaseBundleModifier and TypeMethodDescription<T extends IBaseBundle>
IUntypedQuery<T> IGenericClient.search()Search for resources matching a given set of criteria. -
Uses of IBaseBundle in ca.uhn.fhir.rest.gclient
Methods in ca.uhn.fhir.rest.gclient with type parameters of type IBaseBundleModifier and TypeMethodDescription<T extends IBaseBundle>
IGetPageTyped<T> IGetPageUntyped.andReturnBundle(Class<T> theBundleType) Return a Bundle resource of the given type<T extends IBaseBundle>
IHistoryTyped<T> IHistoryUntyped.andReturnBundle(Class<T> theType) Deprecated.<T extends IBaseBundle>
IGetPageTyped<T> IGetPage.next(T theBundle) Load the next page of results using the link with relation "next" in the bundle.<T extends IBaseBundle>
IGetPageTyped<T> IGetPage.previous(T theBundle) Load the previous page of results using the link with relation "prev" in the bundle.<T extends IBaseBundle>
IHistoryTyped<T> IHistoryUntyped.returnBundle(Class<T> theType) Request that the method return a Bundle resource (such asca.uhn.fhir.model.dstu2.resource.Bundle).<B extends IBaseBundle>
IQuery<B> IQuery.returnBundle(Class<B> theClass) Request that the client return the specified bundle type, e.g.<T extends IBaseBundle>
ITransactionTyped<T> ITransaction.withBundle(T theBundleResource) Use the given Bundle resource as the transaction inputMethods in ca.uhn.fhir.rest.gclient with parameters of type IBaseBundleModifier and TypeMethodDescription<R extends IBaseResource>
IOperationProcessMsgMode<R> IOperationProcessMsg.setMessageBundle(IBaseBundle theMsgBundle) Set the Message Bundle to POST to the messaging server.
After this call you must choose either the method synchronous or asynchronous to set the processing mode. -
Uses of IBaseBundle in ca.uhn.fhir.util
Methods in ca.uhn.fhir.util with type parameters of type IBaseBundleModifier and TypeMethodDescriptionstatic <T extends IBaseBundle>
TBundleUtil.convertBundleIntoTransaction(FhirContext theContext, T theBundle, String thePrefixIdsOrNull) Converts a Bundle containing resources into a FHIR transaction which creates/updates the resources.<T extends IBaseBundle>
TBundleBuilder.getBundleTyped()Convenience method which auto-casts the results ofBundleBuilder.getBundle()Methods in ca.uhn.fhir.util that return IBaseBundleMethods in ca.uhn.fhir.util with parameters of type IBaseBundleModifier and TypeMethodDescriptionstatic List<org.apache.commons.lang3.tuple.Pair<String, IBaseResource>> BundleUtil.getBundleEntryFullUrlsAndResources(FhirContext theContext, IBaseBundle theBundle) Returns a collection of Pairs, one for each entry in the bundle.static List<org.apache.commons.lang3.tuple.Pair<String, IBaseResource>> BundleUtil.getBundleEntryUrlsAndResources(FhirContext theContext, IBaseBundle theBundle) static StringBundleUtil.getBundleType(FhirContext theContext, IBaseBundle theBundle) static BundleTypeEnumBundleUtil.getBundleTypeEnum(FhirContext theContext, IBaseBundle theBundle) static StringBundleUtil.getLinkUrlOfType(FhirContext theContext, IBaseBundle theBundle, String theLinkRelation) static IBaseResourceBundleUtil.getResourceByReferenceAndResourceType(FhirContext theContext, IBaseBundle theBundle, IBaseReference theReference) Get resource from bundle by resource type and referencestatic List<SearchBundleEntryParts> BundleUtil.getSearchBundleEntryParts(FhirContext theContext, IBaseBundle theBundle) static IntegerBundleUtil.getTotal(FhirContext theContext, IBaseBundle theBundle) static voidBundleUtil.processAllEntries(FhirContext theContext, IBaseBundle theBundle, Consumer<ModifiableBundleEntryParts> theEntryConsumer) Invokes a consumer for each entry in the Bundle, passing aModifiableBundleEntryPartswhich contains a version-independent means of accessing and modifiing each entrystatic voidBundleUtil.processEntries(FhirContext theContext, IBaseBundle theBundle, Consumer<ModifiableBundleEntry> theProcessor) Deprecated, for removal: This API element is subject to removal in a future version.static voidBundleUtil.setBundleType(FhirContext theContext, IBaseBundle theBundle, String theType) static voidBundleUtil.setTotal(FhirContext theContext, IBaseBundle theBundle, Integer theTotal) static voidBundleUtil.sortEntriesIntoProcessingOrder(FhirContext theContext, IBaseBundle theBundle) Function which will do an in-place sort of a bundles' entries, to the correct processing order, which is: 1.static List<CanonicalBundleEntry> BundleUtil.toListOfCanonicalBundleEntries(FhirContext theContext, IBaseBundle theBundle) static List<BundleEntryParts> BundleUtil.toListOfEntries(FhirContext theContext, IBaseBundle theBundle) Extract all of the resources from a given bundlestatic <T> List<T> BundleUtil.toListOfEntries(FhirContext theContext, IBaseBundle theBundle, PartsConverter<T> partsConverter) static List<ModifiableBundleEntryParts> BundleUtil.toListOfEntriesModifiable(FhirContext theContext, IBaseBundle theBundle) Returns a list of entries in the Bundle with a modifiable type that can be used to manipulate the entries.BundleUtil.toListOfResourceIds(FhirContext theContext, IBaseBundle theBundle) Extract all of ids of all the resources from a given bundlestatic List<IBaseResource> BundleUtil.toListOfResources(FhirContext theContext, IBaseBundle theBundle) Extract all of the resources from a given bundlestatic <T extends IBaseResource>
List<T> BundleUtil.toListOfResourcesOfType(FhirContext theContext, IBaseBundle theBundle, Class<T> theTypeToInclude) Extract all of the resources of a given type from a given bundleConstructors in ca.uhn.fhir.util with parameters of type IBaseBundleModifierConstructorDescriptionBundleBuilder(FhirContext theContext, IBaseBundle theBundle) Constructor which accepts an existing Bundle.
IHistoryUntyped.returnBundle(Class)instead, which has the exact same functionality.