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.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 TypeMethodDescription<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.