Enum ActionGroupingBehavior
- java.lang.Object
-
- java.lang.Enum<ActionGroupingBehavior>
-
- org.hl7.fhir.r4.model.codesystems.ActionGroupingBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<ActionGroupingBehavior>
public enum ActionGroupingBehavior extends Enum<ActionGroupingBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOGICALGROUP
A 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.NULL
added to help the parsersSENTENCEGROUP
A 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.VISUALGROUP
Any group marked with this behavior should be displayed as a visual group to the end user.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionGroupingBehavior
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static ActionGroupingBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActionGroupingBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISUALGROUP
public static final ActionGroupingBehavior VISUALGROUP
Any group marked with this behavior should be displayed as a visual group to the end user.
-
LOGICALGROUP
public static final ActionGroupingBehavior LOGICALGROUP
A 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.
-
SENTENCEGROUP
public static final ActionGroupingBehavior SENTENCEGROUP
A 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".
-
NULL
public static final ActionGroupingBehavior NULL
added to help the parsers
-
-
Method Detail
-
values
public static ActionGroupingBehavior[] 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 c : ActionGroupingBehavior.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 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 ActionGroupingBehavior fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-