Package ca.uhn.fhir.model.dstu2.valueset
Enum BundleTypeEnum
- java.lang.Object
-
- java.lang.Enum<BundleTypeEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<BundleTypeEnum>
public enum BundleTypeEnum extends Enum<BundleTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BATCHDisplay: Batch
Code Value: batch The bundle is a transaction - intended to be processed by a server as a group of actions.BATCH_RESPONSEDisplay: Batch Response
Code Value: batch-response The bundle is a batch response.COLLECTIONDisplay: Collection
Code Value: collection The bundle is a set of resources collected into a single document for ease of distribution.DOCUMENTDisplay: Document
Code Value: document The bundle is a document.HISTORY_LISTDisplay: History List
Code Value: history The bundle is a list of resources from a history interaction on a server.MESSAGEDisplay: Message
Code Value: message The bundle is a message.SEARCH_RESULTSDisplay: Search Results
Code Value: searchset The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.TRANSACTIONDisplay: Transaction
Code Value: transaction The bundle is a transaction - intended to be processed by a server as an atomic commit.TRANSACTION_RESPONSEDisplay: Transaction Response
Code Value: transaction-response The bundle is a transaction response.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<BundleTypeEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: BundleType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BundleTypeEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic BundleTypeEnumvalueOf(String name)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 Detail
-
DOCUMENT
public static final BundleTypeEnum DOCUMENT
Display: Document
Code Value: document The bundle is a document. The first resource is a Composition.
-
MESSAGE
public static final BundleTypeEnum MESSAGE
Display: Message
Code Value: message The bundle is a message. The first resource is a MessageHeader.
-
TRANSACTION
public static final BundleTypeEnum TRANSACTION
Display: Transaction
Code Value: transaction The bundle is a transaction - intended to be processed by a server as an atomic commit.
-
TRANSACTION_RESPONSE
public static final BundleTypeEnum 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
public static final BundleTypeEnum 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
public static final BundleTypeEnum 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
public static final BundleTypeEnum HISTORY_LIST
Display: History List
Code Value: history The bundle is a list of resources from a history interaction on a server.
-
SEARCH_RESULTS
public static final BundleTypeEnum 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
public static final BundleTypeEnum COLLECTION
Display: Collection
Code Value: collection The bundle is a set of resources collected into a single document for ease of distribution.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: BundleType- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<BundleTypeEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static BundleTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BundleTypeEnum c : BundleTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BundleTypeEnum valueOf(String name)
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
-
forCode
public static BundleTypeEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-