Package org.hl7.fhir.dstu2.model
Enum OrderResponse.OrderStatus
- java.lang.Object
-
- java.lang.Enum<OrderResponse.OrderStatus>
-
- org.hl7.fhir.dstu2.model.OrderResponse.OrderStatus
-
- All Implemented Interfaces:
Serializable,Comparable<OrderResponse.OrderStatus>
- Enclosing class:
- OrderResponse
public static enum OrderResponse.OrderStatus extends Enum<OrderResponse.OrderStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDProcessing the order was stopped because of some workflow/business logic reason.ACCEPTEDThe order has been accepted, and work is in progress.CANCELLEDProcessing the order was halted at the initiators request.COMPLETEDThe order has been completed.ERRORThe order was unable to be processed because of a technical error (i.e.NULLadded to help the parsersPENDINGThe order is known, but no processing has occurred at this timeREJECTEDThe order was rejected because of a workflow/business logic reasonREPLACEDThe order has been cancelled and replaced by another.REVIEWThe order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrderResponse.OrderStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static OrderResponse.OrderStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static OrderResponse.OrderStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final OrderResponse.OrderStatus PENDING
The order is known, but no processing has occurred at this time
-
REVIEW
public static final OrderResponse.OrderStatus REVIEW
The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
-
REJECTED
public static final OrderResponse.OrderStatus REJECTED
The order was rejected because of a workflow/business logic reason
-
ERROR
public static final OrderResponse.OrderStatus ERROR
The order was unable to be processed because of a technical error (i.e. unexpected error)
-
ACCEPTED
public static final OrderResponse.OrderStatus ACCEPTED
The order has been accepted, and work is in progress.
-
CANCELLED
public static final OrderResponse.OrderStatus CANCELLED
Processing the order was halted at the initiators request.
-
REPLACED
public static final OrderResponse.OrderStatus REPLACED
The order has been cancelled and replaced by another.
-
ABORTED
public static final OrderResponse.OrderStatus ABORTED
Processing the order was stopped because of some workflow/business logic reason.
-
COMPLETED
public static final OrderResponse.OrderStatus COMPLETED
The order has been completed.
-
NULL
public static final OrderResponse.OrderStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static OrderResponse.OrderStatus[] 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 (OrderResponse.OrderStatus c : OrderResponse.OrderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderResponse.OrderStatus 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
-
fromCode
public static OrderResponse.OrderStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-