public class BundleUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BundleUtil.BundleEntryParts |
| Constructor and Description |
|---|
BundleUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.commons.lang3.tuple.Pair<String,IBaseResource>> |
getBundleEntryUrlsAndResources(FhirContext theContext,
IBaseBundle theBundle) |
static String |
getBundleType(FhirContext theContext,
IBaseBundle theBundle) |
static List<BundleUtil.BundleEntryParts> |
toListOfEntries(FhirContext theContext,
IBaseBundle theBundle)
Extract all of the resources from a given bundle
|
static List<IBaseResource> |
toListOfResources(FhirContext theContext,
IBaseBundle theBundle)
Extract all of the resources from a given bundle
|
static <T extends IBaseResource> |
toListOfResourcesOfType(FhirContext theContext,
IBaseBundle theBundle,
Class<T> theTypeToInclude)
Extract all of the resources of a given type from a given bundle
|
public BundleUtil()
public static List<org.apache.commons.lang3.tuple.Pair<String,IBaseResource>> getBundleEntryUrlsAndResources(FhirContext theContext, IBaseBundle theBundle)
public static String getBundleType(FhirContext theContext, IBaseBundle theBundle)
public static List<BundleUtil.BundleEntryParts> toListOfEntries(FhirContext theContext, IBaseBundle theBundle)
public static List<IBaseResource> toListOfResources(FhirContext theContext, IBaseBundle theBundle)
public static <T extends IBaseResource> List<T> toListOfResourcesOfType(FhirContext theContext, IBaseBundle theBundle, Class<T> theTypeToInclude)
Copyright © 2014–2017 University Health Network. All rights reserved.