Uses of Interface
org.hl7.fhir.instance.model.api.IBaseBundle
Package
Description
-
Uses of IBaseBundle in ca.uhn.fhir.narrative2
Modifier and TypeMethodDescriptionboolean
NarrativeGeneratorTemplateUtils.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
Modifier 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>
BRepository.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>
BRepository.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>
BRepository.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>
BRepository.search
(Class<B> bundleType, Class<T> resourceType, Map<String, List<IQueryParameterType>> searchParameters) Searches this repositorydefault <B extends IBaseBundle,
T extends IBaseResource>
BRepository.search
(Class<B> bundleType, Class<T> resourceType, Map<String, List<IQueryParameterType>> searchParameters, Map<String, String> headers) Searches this repositorydefault <B extends IBaseBundle>
BRepository.transaction
(B transaction) Performs a transaction or batch on this repositorydefault <B extends IBaseBundle>
BRepository.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
Modifier 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
Modifier 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 inputModifier 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
Modifier 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()
Modifier 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 String
BundleUtil.getBundleType
(FhirContext theContext, IBaseBundle theBundle) static BundleTypeEnum
BundleUtil.getBundleTypeEnum
(FhirContext theContext, IBaseBundle theBundle) static String
BundleUtil.getLinkUrlOfType
(FhirContext theContext, IBaseBundle theBundle, String theLinkRelation) static IBaseResource
BundleUtil.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 Integer
BundleUtil.getTotal
(FhirContext theContext, IBaseBundle theBundle) static void
BundleUtil.processEntries
(FhirContext theContext, IBaseBundle theBundle, Consumer<ModifiableBundleEntry> theProcessor) Given a bundle, and a consumer, apply the consumer to each entry in the bundle.static void
BundleUtil.setBundleType
(FhirContext theContext, IBaseBundle theBundle, String theType) static void
BundleUtil.setTotal
(FhirContext theContext, IBaseBundle theBundle, Integer theTotal) static void
BundleUtil.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
<BundleEntryParts> BundleUtil.toListOfEntries
(FhirContext theContext, IBaseBundle theBundle) Extract all of the resources from a given bundleBundleUtil.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 bundle
IHistoryUntyped.returnBundle(Class)
instead, which has the exact same functionality.