public enum OrderStatusEnum extends Enum<OrderStatusEnum>
| Enum Constant and Description |
|---|
ABORTED
Display: Aborted
Code Value: aborted Processing the order was stopped because of some workflow/business logic reason. |
ACCEPTED
Display: Accepted
Code Value: accepted The order has been accepted, and work is in progress. |
CANCELLED
Display: Cancelled
Code Value: cancelled Processing the order was halted at the initiators request. |
COMPLETED
Display: Completed
Code Value: completed The order has been completed. |
ERROR
Display: Error
Code Value: error The order was unable to be processed because of a technical error (i.e. |
PENDING
Display: Pending
Code Value: pending The order is known, but no processing has occurred at this time |
REJECTED
Display: Rejected
Code Value: rejected The order was rejected because of a workflow/business logic reason |
REPLACED
Display: Replaced
Code Value: replaced The order has been cancelled and replaced by another. |
REVIEW
Display: Review
Code Value: review The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review) |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<OrderStatusEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
OrderStatus
|
| Modifier and Type | Method and Description |
|---|---|
static OrderStatusEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static OrderStatusEnum |
valueOf(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.
|
public static final OrderStatusEnum PENDING
public static final OrderStatusEnum REVIEW
public static final OrderStatusEnum REJECTED
public static final OrderStatusEnum ERROR
public static final OrderStatusEnum ACCEPTED
public static final OrderStatusEnum CANCELLED
public static final OrderStatusEnum REPLACED
public static final OrderStatusEnum ABORTED
public static final OrderStatusEnum COMPLETED
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<OrderStatusEnum> VALUESET_BINDER
public static OrderStatusEnum[] values()
for (OrderStatusEnum c : OrderStatusEnum.values()) System.out.println(c);
public static OrderStatusEnum 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 OrderStatusEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.