Package org.hl7.fhir.r4.model
Enum PlanDefinition.ActionSelectionBehavior
- java.lang.Object
-
- java.lang.Enum<PlanDefinition.ActionSelectionBehavior>
-
- org.hl7.fhir.r4.model.PlanDefinition.ActionSelectionBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<PlanDefinition.ActionSelectionBehavior>
- Enclosing class:
- PlanDefinition
public static enum PlanDefinition.ActionSelectionBehavior extends Enum<PlanDefinition.ActionSelectionBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
All the actions in the group must be selected as a single unit.ALLORNONE
All the actions in the group are meant to be chosen as a single unit: either all must be selected by the end user, or none may be selected.ANY
Any number of the actions in the group may be chosen, from zero to all.ATMOSTONE
The end user may choose zero or at most one of the actions in the group.EXACTLYONE
The end user must choose one and only one of the selectable actions in the group.NULL
added to help the parsers with the generic typesONEORMORE
The end user must choose a minimum of one, and as many additional as desired.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlanDefinition.ActionSelectionBehavior
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static PlanDefinition.ActionSelectionBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlanDefinition.ActionSelectionBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final PlanDefinition.ActionSelectionBehavior ANY
Any number of the actions in the group may be chosen, from zero to all.
-
ALL
public static final PlanDefinition.ActionSelectionBehavior ALL
All the actions in the group must be selected as a single unit.
-
ALLORNONE
public static final PlanDefinition.ActionSelectionBehavior ALLORNONE
All the actions in the group are meant to be chosen as a single unit: either all must be selected by the end user, or none may be selected.
-
EXACTLYONE
public static final PlanDefinition.ActionSelectionBehavior EXACTLYONE
The end user must choose one and only one of the selectable actions in the group. The user SHALL NOT choose none of the actions in the group.
-
ATMOSTONE
public static final PlanDefinition.ActionSelectionBehavior ATMOSTONE
The end user may choose zero or at most one of the actions in the group.
-
ONEORMORE
public static final PlanDefinition.ActionSelectionBehavior ONEORMORE
The end user must choose a minimum of one, and as many additional as desired.
-
NULL
public static final PlanDefinition.ActionSelectionBehavior NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static PlanDefinition.ActionSelectionBehavior[] 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 (PlanDefinition.ActionSelectionBehavior c : PlanDefinition.ActionSelectionBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlanDefinition.ActionSelectionBehavior 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 PlanDefinition.ActionSelectionBehavior fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-