Package com.ibm.fhir.model.type.code
Enum TaskIntent.ValueSet
- java.lang.Object
-
- java.lang.Enum<TaskIntent.ValueSet>
-
- com.ibm.fhir.model.type.code.TaskIntent.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<TaskIntent.ValueSet>
- Enclosing class:
- TaskIntent
public static enum TaskIntent.ValueSet extends Enum<TaskIntent.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILLER_ORDERINSTANCE_ORDEROPTIONORDERORIGINAL_ORDERPLANPROPOSALREFLEX_ORDERUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskIntent.ValueSetfrom(String value)Factory method for creating TaskIntent.ValueSet values from a passed string value.Stringvalue()static TaskIntent.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static TaskIntent.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final TaskIntent.ValueSet UNKNOWN
UnknownThe intent is not known. When dealing with Task, it's not always known (or relevant) how the task was initiated - i. e. whether it was proposed, planned, ordered or just done spontaneously.
-
PROPOSAL
public static final TaskIntent.ValueSet PROPOSAL
-
PLAN
public static final TaskIntent.ValueSet PLAN
-
ORDER
public static final TaskIntent.ValueSet ORDER
-
ORIGINAL_ORDER
public static final TaskIntent.ValueSet ORIGINAL_ORDER
-
REFLEX_ORDER
public static final TaskIntent.ValueSet REFLEX_ORDER
-
FILLER_ORDER
public static final TaskIntent.ValueSet FILLER_ORDER
-
INSTANCE_ORDER
public static final TaskIntent.ValueSet INSTANCE_ORDER
-
OPTION
public static final TaskIntent.ValueSet OPTION
-
-
Method Detail
-
values
public static TaskIntent.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 (TaskIntent.ValueSet c : TaskIntent.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 TaskIntent.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 TaskIntent.ValueSet from(String value)
Factory method for creating TaskIntent.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
-
-