Enum ActionGroupingBehavior.ValueSet
- java.lang.Object
-
- java.lang.Enum<ActionGroupingBehavior.ValueSet>
-
- com.ibm.fhir.model.type.code.ActionGroupingBehavior.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<ActionGroupingBehavior.ValueSet>
- Enclosing class:
- ActionGroupingBehavior
public static enum ActionGroupingBehavior.ValueSet extends Enum<ActionGroupingBehavior.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOGICAL_GROUPLogical GroupSENTENCE_GROUPSentence GroupVISUAL_GROUPVisual Group
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionGroupingBehavior.ValueSetfrom(String value)Factory method for creating ActionGroupingBehavior.ValueSet values from a passed string value.Stringvalue()static ActionGroupingBehavior.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static ActionGroupingBehavior.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISUAL_GROUP
public static final ActionGroupingBehavior.ValueSet VISUAL_GROUP
Visual GroupAny group marked with this behavior should be displayed as a visual group to the end user.
-
LOGICAL_GROUP
public static final ActionGroupingBehavior.ValueSet LOGICAL_GROUP
Logical GroupA group with this behavior logically groups its sub-elements, and may be shown as a visual group to the end user, but it is not required to do so.
-
SENTENCE_GROUP
public static final ActionGroupingBehavior.ValueSet SENTENCE_GROUP
Sentence GroupA group of related alternative actions is a sentence group if the target referenced by the action is the same in all the actions and each action simply constitutes a different variation on how to specify the details for the target. For example, two actions that could be in a SentenceGroup are "aspirin, 500 mg, 2 times per day" and "aspirin, 300 mg, 3 times per day". In both cases, aspirin is the target referenced by the action, and the two actions represent different options for how aspirin might be ordered for the patient. Note that a SentenceGroup would almost always have an associated selection behavior of "AtMostOne", unless it's a required action, in which case, it would be "ExactlyOne".
-
-
Method Detail
-
values
public static ActionGroupingBehavior.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 (ActionGroupingBehavior.ValueSet c : ActionGroupingBehavior.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 ActionGroupingBehavior.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 ActionGroupingBehavior.ValueSet from(String value)
Factory method for creating ActionGroupingBehavior.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
-
-