public class Bundle extends Resource implements org.hl7.fhir.instance.model.api.IBaseBundle
| Modifier and Type | Class and Description |
|---|---|
static class |
Bundle.BundleEntryComponent |
static class |
Bundle.BundleEntryRequestComponent |
static class |
Bundle.BundleEntryResponseComponent |
static class |
Bundle.BundleEntrySearchComponent |
static class |
Bundle.BundleLinkComponent |
static class |
Bundle.BundleType |
static class |
Bundle.BundleTypeEnumFactory |
static class |
Bundle.HTTPVerb |
static class |
Bundle.HTTPVerbEnumFactory |
static class |
Bundle.SearchEntryMode |
static class |
Bundle.SearchEntryModeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
COMPOSITION
Fluent Client search parameter constant for composition
|
protected List<Bundle.BundleEntryComponent> |
entry
An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_COMPOSITION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_MESSAGE
Constant for fluent queries to be used to add include statements.
|
protected List<Bundle.BundleLinkComponent> |
link
A series of links that provide context to this bundle.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
MESSAGE
Fluent Client search parameter constant for message
|
protected Signature |
signature
Digital Signature - base64 encoded.
|
static String |
SP_COMPOSITION
Search parameter: composition
|
static String |
SP_MESSAGE
Search parameter: message
|
static String |
SP_TYPE
Search parameter: type
|
protected UnsignedIntType |
total
If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).
|
protected Enumeration<Bundle.BundleType> |
type
Indicates the purpose of this bundle- how it was intended to be used.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
id, implicitRules, language, metaLINK_NEXT, LINK_PREV, LINK_SELF| Constructor and Description |
|---|
Bundle()
Constructor
|
Bundle(Enumeration<Bundle.BundleType> type)
Constructor
|
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdElement, getMeta, getStructureFhirVersionEnum, setId, setIdprotected Enumeration<Bundle.BundleType> type
protected UnsignedIntType total
protected List<Bundle.BundleLinkComponent> link
protected List<Bundle.BundleEntryComponent> entry
public static final String SP_MESSAGE
Description: The first resource in the bundle, if the bundle type is "message" - this is a message header, and this parameter provides access to search its contents
Type: reference
Path: Bundle.entry.resource(0)
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MESSAGE
Description: The first resource in the bundle, if the bundle type is "message" - this is a message header, and this parameter provides access to search its contents
Type: reference
Path: Bundle.entry.resource(0)
public static final ca.uhn.fhir.model.api.Include INCLUDE_MESSAGE
public static final String SP_COMPOSITION
Description: The first resource in the bundle, if the bundle type is "document" - this is a composition, and this parameter provides access to searches its contents
Type: reference
Path: Bundle.entry.resource(0)
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSITION
Description: The first resource in the bundle, if the bundle type is "document" - this is a composition, and this parameter provides access to searches its contents
Type: reference
Path: Bundle.entry.resource(0)
public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSITION
public static final String SP_TYPE
Description: document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Type: token
Path: Bundle.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Type: token
Path: Bundle.type
public Bundle()
public Bundle(Enumeration<Bundle.BundleType> type)
public Enumeration<Bundle.BundleType> getTypeElement()
type (Indicates the purpose of this bundle- how it was intended to be used.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Bundle setTypeElement(Enumeration<Bundle.BundleType> value)
value - type (Indicates the purpose of this bundle- how it was intended to be used.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Bundle.BundleType getType()
public Bundle setType(Bundle.BundleType value)
value - Indicates the purpose of this bundle- how it was intended to be used.public UnsignedIntType getTotalElement()
total (If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the valuepublic boolean hasTotalElement()
public boolean hasTotal()
public Bundle setTotalElement(UnsignedIntType value)
value - total (If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the valuepublic int getTotal()
public Bundle setTotal(int value)
value - If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).public List<Bundle.BundleLinkComponent> getLink()
link (A series of links that provide context to this bundle.)public boolean hasLink()
public Bundle.BundleLinkComponent addLink()
link (A series of links that provide context to this bundle.)public Bundle addLink(Bundle.BundleLinkComponent t)
public List<Bundle.BundleEntryComponent> getEntry()
entry (An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).)public boolean hasEntry()
public Bundle.BundleEntryComponent addEntry()
entry (An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).)public Bundle addEntry(Bundle.BundleEntryComponent t)
public Signature getSignature()
signature (Digital Signature - base64 encoded. XML DigSIg or a JWT.)public boolean hasSignature()
public Bundle setSignature(Signature value)
value - signature (Digital Signature - base64 encoded. XML DigSIg or a JWT.)public Bundle.BundleLinkComponent getLink(String theRelation)
link which matches a given relation.
If no link is found which matches the given relation, returns null. If more than one
link is found which matches the given relation, returns the first matching BundleLinkComponent.theRelation - The relation, such as "next", or "self. See the constants such as IBaseBundle.LINK_SELF and IBaseBundle.LINK_NEXT.nullIBaseBundle.LINK_NEXT,
IBaseBundle.LINK_PREV,
IBaseBundle.LINK_SELFpublic Bundle.BundleLinkComponent getLinkOrCreate(String theRelation)
link which matches a given relation.
If no link is found which matches the given relation, creates a new BundleLinkComponent with the
given relation and adds it to this Bundle. If more than one
link is found which matches the given relation, returns the first matching BundleLinkComponent.theRelation - The relation, such as "next", or "self. See the constants such as IBaseBundle.LINK_SELF and IBaseBundle.LINK_NEXT.nullIBaseBundle.LINK_NEXT,
IBaseBundle.LINK_PREV,
IBaseBundle.LINK_SELFprotected void listChildren(List<Property> childrenList)
listChildren in class Resourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Resourcepublic boolean equalsShallow(Base other)
equalsShallow in class Resourcepublic boolean isEmpty()
public ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.