Class ActionGroupingBehavior
- 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.ActionGroupingBehavior
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ActionGroupingBehavior extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActionGroupingBehavior.Builderstatic classActionGroupingBehavior.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ActionGroupingBehaviorLOGICAL_GROUPLogical Groupstatic ActionGroupingBehaviorSENTENCE_GROUPSentence Groupstatic ActionGroupingBehaviorVISUAL_GROUPVisual Group
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionGroupingBehavior.Builderbuilder()static Codecode(String value)Inherited factory method for creating ActionGroupingBehavior objects from a passed string value.booleanequals(Object obj)ActionGroupingBehavior.ValueSetgetValueAsEnumConstant()inthashCode()static ActionGroupingBehaviorof(ActionGroupingBehavior.ValueSet value)Factory method for creating ActionGroupingBehavior objects from a passed enum value.static ActionGroupingBehaviorof(String value)Factory method for creating ActionGroupingBehavior objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ActionGroupingBehavior objects from a passed string value.ActionGroupingBehavior.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
-
VISUAL_GROUP
public static final ActionGroupingBehavior 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 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 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
-
getValueAsEnumConstant
public ActionGroupingBehavior.ValueSet getValueAsEnumConstant()
-
of
public static ActionGroupingBehavior of(ActionGroupingBehavior.ValueSet value)
Factory method for creating ActionGroupingBehavior objects from a passed enum value.
-
of
public static ActionGroupingBehavior of(String value)
Factory method for creating ActionGroupingBehavior 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 ActionGroupingBehavior 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 ActionGroupingBehavior 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 ActionGroupingBehavior.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ActionGroupingBehavior.Builder builder()
-
-