Uses of Interface
org.hl7.fhir.instance.model.api.IBaseBundle
Packages that use IBaseBundle
-
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 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.getBundleEntryUrlsAndResources(FhirContext theContext, IBaseBundle theBundle)static StringBundleUtil.getBundleType(FhirContext theContext, IBaseBundle theBundle)static StringBundleUtil.getLinkUrlOfType(FhirContext theContext, IBaseBundle theBundle, String theLinkRelation)static IntegerBundleUtil.getTotal(FhirContext theContext, IBaseBundle theBundle)static voidBundleUtil.processEntries(FhirContext theContext, IBaseBundle theBundle, Consumer<ModifiableBundleEntry> theProcessor)Given a bundle, and a consumer, apply the consumer to each entry in the bundle.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<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.