Enum SupplyRequestStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<SupplyRequestStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.SupplyRequestStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<SupplyRequestStatus.ValueSet>
- Enclosing class:
- SupplyRequestStatus
public static enum SupplyRequestStatus.ValueSet extends Enum<SupplyRequestStatus.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupplyRequestStatus.ValueSetfrom(String value)Factory method for creating SupplyRequestStatus.ValueSet values from a passed string value.Stringvalue()static SupplyRequestStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static SupplyRequestStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final SupplyRequestStatus.ValueSet DRAFT
DraftThe request has been created but is not yet complete or ready for action.
-
ACTIVE
public static final SupplyRequestStatus.ValueSet ACTIVE
ActiveThe request is ready to be acted upon.
-
SUSPENDED
public static final SupplyRequestStatus.ValueSet SUSPENDED
SuspendedThe authorization/request to act has been temporarily withdrawn but is expected to resume in the future.
-
CANCELLED
public static final SupplyRequestStatus.ValueSet CANCELLED
CancelledThe authorization/request to act has been terminated prior to the full completion of the intended actions. No further activity should occur.
-
COMPLETED
public static final SupplyRequestStatus.ValueSet COMPLETED
CompletedActivity against the request has been sufficiently completed to the satisfaction of the requester.
-
ENTERED_IN_ERROR
public static final SupplyRequestStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorThis electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "cancelled" rather than "entered-in-error".).
-
UNKNOWN
public static final SupplyRequestStatus.ValueSet UNKNOWN
UnknownThe authoring/source system does not know which of the status values currently applies for this observation. Note: This concept is not to be used for "other" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.
-
-
Method Detail
-
values
public static SupplyRequestStatus.ValueSet[] 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 (SupplyRequestStatus.ValueSet c : SupplyRequestStatus.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupplyRequestStatus.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static SupplyRequestStatus.ValueSet from(String value)
Factory method for creating SupplyRequestStatus.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-