public enum BundleType extends Enum<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
|
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 BundleType |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static BundleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundleType DOCUMENT
public static final BundleType MESSAGE
public static final BundleType TRANSACTION
public static final BundleType TRANSACTIONRESPONSE
public static final BundleType BATCH
public static final BundleType BATCHRESPONSE
public static final BundleType HISTORY
public static final BundleType SEARCHSET
public static final BundleType COLLECTION
public static final BundleType NULL
public static BundleType[] values()
for (BundleType c : BundleType.values()) System.out.println(c);
public static 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 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.