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).
|
protected Identifier |
identifier
A persistent identifier for the bundle that won't change as a bundle is copied from server to server.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
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_IDENTIFIER
Search parameter: identifier
|
static String |
SP_MESSAGE
Search parameter: message
|
static String |
SP_TIMESTAMP
Search parameter: timestamp
|
static String |
SP_TYPE
Search parameter: type
|
protected InstantType |
timestamp
The date/time that the bundle was assembled - i.e.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
TIMESTAMP
Fluent Client search parameter constant for timestamp
|
protected UnsignedIntType |
total
If a set of search matches, this is the total number of entries of type 'match' across all pages in the search.
|
protected Enumeration<Bundle.BundleType> |
type
Indicates the purpose of this bundle - how it is 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, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdElement, getMeta, getStructureFhirVersionEnum, setId, setIdprotected Identifier identifier
protected Enumeration<Bundle.BundleType> type
protected InstantType timestamp
protected UnsignedIntType total
protected List<Bundle.BundleLinkComponent> link
protected List<Bundle.BundleEntryComponent> entry
public static final String SP_IDENTIFIER
Description: Persistent identifier for the bundle
Type: token
Path: Bundle.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Persistent identifier for the bundle
Type: token
Path: Bundle.identifier
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 search its contents
Type: reference
Path: Bundle.entry(0).resource
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 search its contents
Type: reference
Path: Bundle.entry(0).resource
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 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(0).resource
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(0).resource
public static final ca.uhn.fhir.model.api.Include INCLUDE_MESSAGE
public static final String SP_TIMESTAMP
Description: When the bundle was assembled
Type: date
Path: Bundle.timestamp
public static final ca.uhn.fhir.rest.gclient.DateClientParam TIMESTAMP
Description: When the bundle was assembled
Type: date
Path: Bundle.timestamp
public Bundle()
public Bundle(Enumeration<Bundle.BundleType> type)
public Identifier getIdentifier()
identifier (A persistent identifier for the bundle that won't change as a bundle is copied from server to server.)public boolean hasIdentifier()
public Bundle setIdentifier(Identifier value)
value - identifier (A persistent identifier for the bundle that won't change as a bundle is copied from server to server.)public Enumeration<Bundle.BundleType> getTypeElement()
type (Indicates the purpose of this bundle - how it is 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 is 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 is intended to be used.public InstantType getTimestampElement()
timestamp (The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.). This is the underlying object with id, value and extensions. The accessor "getTimestamp" gives direct access to the valuepublic boolean hasTimestampElement()
public boolean hasTimestamp()
public Bundle setTimestampElement(InstantType value)
value - timestamp (The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.). This is the underlying object with id, value and extensions. The accessor "getTimestamp" gives direct access to the valuepublic Date getTimestamp()
public Bundle setTimestamp(Date value)
value - The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.public UnsignedIntType getTotalElement()
total (If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the 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 entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the 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 entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.public List<Bundle.BundleLinkComponent> getLink()
link (A series of links that provide context to this bundle.)public Bundle setLink(List<Bundle.BundleLinkComponent> theLink)
this for easy method chainingpublic boolean hasLink()
public Bundle.BundleLinkComponent addLink()
public Bundle addLink(Bundle.BundleLinkComponent t)
public Bundle.BundleLinkComponent getLinkFirstRep()
link, creating it if it does not already existpublic 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 Bundle setEntry(List<Bundle.BundleEntryComponent> theEntry)
this for easy method chainingpublic boolean hasEntry()
public Bundle.BundleEntryComponent addEntry()
public Bundle addEntry(Bundle.BundleEntryComponent t)
public Bundle.BundleEntryComponent getEntryFirstRep()
entry, creating it if it does not already existpublic Signature getSignature()
signature (Digital Signature - base64 encoded. XML-DSig or a JWT.)public boolean hasSignature()
public Bundle setSignature(Signature value)
value - signature (Digital Signature - base64 encoded. XML-DSig 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> children)
listChildren in class Resourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void copyValues(Bundle dst)
public 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–2021 Health Level 7. All rights reserved.