Package ca.uhn.fhir.model.dstu2.valueset
Enum OrderStatusEnum
- java.lang.Object
-
- java.lang.Enum<OrderStatusEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OrderStatusEnum>
public enum OrderStatusEnum extends Enum<OrderStatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDDisplay: Aborted
Code Value: aborted Processing the order was stopped because of some workflow/business logic reason.ACCEPTEDDisplay: Accepted
Code Value: accepted The order has been accepted, and work is in progress.CANCELLEDDisplay: Cancelled
Code Value: cancelled Processing the order was halted at the initiators request.COMPLETEDDisplay: Completed
Code Value: completed The order has been completed.ERRORDisplay: Error
Code Value: error The order was unable to be processed because of a technical error (i.e.PENDINGDisplay: Pending
Code Value: pending The order is known, but no processing has occurred at this timeREJECTEDDisplay: Rejected
Code Value: rejected The order was rejected because of a workflow/business logic reasonREPLACEDDisplay: Replaced
Code Value: replaced The order has been cancelled and replaced by another.REVIEWDisplay: Review
Code Value: review The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<OrderStatusEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: OrderStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrderStatusEnumforCode(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 OrderStatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OrderStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final OrderStatusEnum PENDING
Display: Pending
Code Value: pending The order is known, but no processing has occurred at this time
-
REVIEW
public static final OrderStatusEnum REVIEW
Display: Review
Code Value: review The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
-
REJECTED
public static final OrderStatusEnum REJECTED
Display: Rejected
Code Value: rejected The order was rejected because of a workflow/business logic reason
-
ERROR
public static final OrderStatusEnum ERROR
Display: Error
Code Value: error The order was unable to be processed because of a technical error (i.e. unexpected error)
-
ACCEPTED
public static final OrderStatusEnum ACCEPTED
Display: Accepted
Code Value: accepted The order has been accepted, and work is in progress.
-
CANCELLED
public static final OrderStatusEnum CANCELLED
Display: Cancelled
Code Value: cancelled Processing the order was halted at the initiators request.
-
REPLACED
public static final OrderStatusEnum REPLACED
Display: Replaced
Code Value: replaced The order has been cancelled and replaced by another.
-
ABORTED
public static final OrderStatusEnum ABORTED
Display: Aborted
Code Value: aborted Processing the order was stopped because of some workflow/business logic reason.
-
COMPLETED
public static final OrderStatusEnum COMPLETED
Display: Completed
Code Value: completed The order has been completed.
-
-
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: OrderStatus- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<OrderStatusEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static OrderStatusEnum[] 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 (OrderStatusEnum c : OrderStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderStatusEnum 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 OrderStatusEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-