Package ca.uhn.fhir.model.dstu2.valueset
Enum BundleTypeEnum
- All Implemented Interfaces:
Serializable
,Comparable<BundleTypeEnum>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay: Batch
Code Value: batch The bundle is a transaction - intended to be processed by a server as a group of actions.Display: Batch Response
Code Value: batch-response The bundle is a batch response.Display: Collection
Code Value: collection The bundle is a set of resources collected into a single document for ease of distribution.Display: Document
Code Value: document The bundle is a document.Display: History List
Code Value: history The bundle is a list of resources from a history interaction on a server.Display: Message
Code Value: message The bundle is a message.Display: Search Results
Code Value: searchset The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.Display: Transaction
Code Value: transaction The bundle is a transaction - intended to be processed by a server as an atomic commit.Display: Transaction Response
Code Value: transaction-response The bundle is a transaction response. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.model.api.IValueSetEnumBinder
<BundleTypeEnum> Converts codes to their respective enumerated valuesstatic final String
Identifier for this Value Set:static final String
Name for this Value Set: BundleType -
Method Summary
Modifier and TypeMethodDescriptionstatic BundleTypeEnum
Returns the enumerated value associated with this codegetCode()
Returns the code associated with this enumerated valueReturns the code system associated with this enumerated valuestatic BundleTypeEnum
Returns the enum constant of this type with the specified name.static BundleTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DOCUMENT
Display: Document
Code Value: document The bundle is a document. The first resource is a Composition. -
MESSAGE
Display: Message
Code Value: message The bundle is a message. The first resource is a MessageHeader. -
TRANSACTION
Display: Transaction
Code Value: transaction The bundle is a transaction - intended to be processed by a server as an atomic commit. -
TRANSACTION_RESPONSE
Display: Transaction Response
Code Value: transaction-response The bundle is a transaction response. Because the response is a transaction response, the transactionhas succeeded, and all responses are error free. -
BATCH
Display: Batch
Code Value: batch The bundle is a transaction - intended to be processed by a server as a group of actions. -
BATCH_RESPONSE
Display: Batch Response
Code Value: batch-response The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success. -
HISTORY_LIST
Display: History List
Code Value: history The bundle is a list of resources from a history interaction on a server. -
SEARCH_RESULTS
Display: Search Results
Code Value: searchset The bundle is a list of resources returned as a result of a search/query interaction, operation, or message. -
COLLECTION
Display: Collection
Code Value: collection The bundle is a set of resources collected into a single document for ease of distribution.
-
-
Field Details
-
VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
-
VALUESET_NAME
Name for this Value Set: BundleType- See Also:
-
VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
Returns the code associated with this enumerated value -
getSystem
Returns the code system associated with this enumerated value -
forCode
Returns the enumerated value associated with this code
-