Package com.ibm.fhir.model.type.code
Enum SupplyDeliveryStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<SupplyDeliveryStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.SupplyDeliveryStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<SupplyDeliveryStatus.ValueSet>
- Enclosing class:
- SupplyDeliveryStatus
public static enum SupplyDeliveryStatus.ValueSet extends Enum<SupplyDeliveryStatus.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABANDONEDAbandonedCOMPLETEDDeliveredENTERED_IN_ERROREntered In ErrorIN_PROGRESSIn Progress
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupplyDeliveryStatus.ValueSetfrom(String value)Factory method for creating SupplyDeliveryStatus.ValueSet values from a passed string value.Stringvalue()static SupplyDeliveryStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static SupplyDeliveryStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PROGRESS
public static final SupplyDeliveryStatus.ValueSet IN_PROGRESS
In ProgressSupply has been requested, but not delivered.
-
COMPLETED
public static final SupplyDeliveryStatus.ValueSet COMPLETED
DeliveredSupply has been delivered ("completed").
-
ABANDONED
public static final SupplyDeliveryStatus.ValueSet ABANDONED
AbandonedDelivery was not completed.
-
ENTERED_IN_ERROR
public static final SupplyDeliveryStatus.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 "abandoned" rather than "entered-in-error".).
-
-
Method Detail
-
values
public static SupplyDeliveryStatus.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 (SupplyDeliveryStatus.ValueSet c : SupplyDeliveryStatus.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 SupplyDeliveryStatus.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 SupplyDeliveryStatus.ValueSet from(String value)
Factory method for creating SupplyDeliveryStatus.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
-
-