Enum OrderStatus
- java.lang.Object
-
- java.lang.Enum<OrderStatus>
-
- org.hl7.fhir.dstu2016may.model.codesystems.OrderStatus
-
- All Implemented Interfaces:
Serializable,Comparable<OrderStatus>
public enum OrderStatus extends Enum<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 OrderStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static OrderStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static 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 OrderStatus PENDING
The order is known, but no processing has occurred at this time
-
REVIEW
public static final OrderStatus REVIEW
The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
-
REJECTED
public static final OrderStatus REJECTED
The order was rejected because of a workflow/business logic reason
-
ERROR
public static final OrderStatus ERROR
The order was unable to be processed because of a technical error (i.e. unexpected error)
-
ACCEPTED
public static final OrderStatus ACCEPTED
The order has been accepted, and work is in progress.
-
CANCELLED
public static final OrderStatus CANCELLED
Processing the order was halted at the initiators request.
-
REPLACED
public static final OrderStatus REPLACED
The order has been cancelled and replaced by another.
-
ABORTED
public static final OrderStatus ABORTED
Processing the order was stopped because of some workflow/business logic reason.
-
COMPLETED
public static final OrderStatus COMPLETED
The order has been completed.
-
NULL
public static final OrderStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static 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 (OrderStatus c : 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 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 OrderStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-