public static enum Bundle.BundleType extends Enum<Bundle.BundleType>
| Enum Constant and Description |
|---|
BATCH
The bundle is a set of actions - intended to be processed by a server as a group of independent actions.
|
BATCHRESPONSE
The bundle is a batch response.
|
COLLECTION
The bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence.
|
DOCUMENT
The bundle is a document.
|
HISTORY
The bundle is a list of resources from a history interaction on a server.
|
MESSAGE
The bundle is a message.
|
NULL
added to help the parsers with the generic types
|
SEARCHSET
The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.
|
TRANSACTION
The bundle is a transaction - intended to be processed by a server as an atomic commit.
|
TRANSACTIONRESPONSE
The bundle is a transaction response.
|
| Modifier and Type | Method and Description |
|---|---|
static Bundle.BundleType |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static Bundle.BundleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bundle.BundleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bundle.BundleType DOCUMENT
public static final Bundle.BundleType MESSAGE
public static final Bundle.BundleType TRANSACTION
public static final Bundle.BundleType TRANSACTIONRESPONSE
public static final Bundle.BundleType BATCH
public static final Bundle.BundleType BATCHRESPONSE
public static final Bundle.BundleType HISTORY
public static final Bundle.BundleType SEARCHSET
public static final Bundle.BundleType COLLECTION
public static final Bundle.BundleType NULL
public static Bundle.BundleType[] values()
for (Bundle.BundleType c : Bundle.BundleType.values()) System.out.println(c);
public static Bundle.BundleType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Bundle.BundleType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.