Package com.ibm.fhir.model.type.code
Class TaskIntent
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.TaskIntent
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class TaskIntent extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskIntent.Builderstatic classTaskIntent.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static TaskIntentFILLER_ORDERstatic TaskIntentINSTANCE_ORDERstatic TaskIntentOPTIONstatic TaskIntentORDERstatic TaskIntentORIGINAL_ORDERstatic TaskIntentPLANstatic TaskIntentPROPOSALstatic TaskIntentREFLEX_ORDERstatic TaskIntentUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskIntent.Builderbuilder()static Codecode(String value)Inherited factory method for creating TaskIntent objects from a passed string value.booleanequals(Object obj)TaskIntent.ValueSetgetValueAsEnumConstant()inthashCode()static TaskIntentof(TaskIntent.ValueSet value)Factory method for creating TaskIntent objects from a passed enum value.static TaskIntentof(String value)Factory method for creating TaskIntent objects from a passed string value.static Stringstring(String value)Inherited factory method for creating TaskIntent objects from a passed string value.TaskIntent.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
UNKNOWN
public static final TaskIntent 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 PROPOSAL
-
PLAN
public static final TaskIntent PLAN
-
ORDER
public static final TaskIntent ORDER
-
ORIGINAL_ORDER
public static final TaskIntent ORIGINAL_ORDER
-
REFLEX_ORDER
public static final TaskIntent REFLEX_ORDER
-
FILLER_ORDER
public static final TaskIntent FILLER_ORDER
-
INSTANCE_ORDER
public static final TaskIntent INSTANCE_ORDER
-
OPTION
public static final TaskIntent OPTION
-
-
Method Detail
-
getValueAsEnumConstant
public TaskIntent.ValueSet getValueAsEnumConstant()
-
of
public static TaskIntent of(TaskIntent.ValueSet value)
Factory method for creating TaskIntent objects from a passed enum value.
-
of
public static TaskIntent of(String value)
Factory method for creating TaskIntent objects 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
-
string
public static String string(String value)
Inherited factory method for creating TaskIntent objects 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
-
code
public static Code code(String value)
Inherited factory method for creating TaskIntent objects 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
-
toBuilder
public TaskIntent.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static TaskIntent.Builder builder()
-
-