Enum GroupingBehavior
- java.lang.Object
-
- java.lang.Enum<GroupingBehavior>
-
- org.hl7.fhir.dstu2016may.model.codesystems.GroupingBehavior
-
- All Implemented Interfaces:
Serializable,Comparable<GroupingBehavior>
public enum GroupingBehavior extends Enum<GroupingBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOGICALGROUPA 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 soNULLadded to help the parsersSENTENCEGROUPA group of related alternative items is a sentence group if the target referenced by the item is the same in all the items, and each item simply constitutes a different variation on how to specify the details for the target.VISUALGROUPAny 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 GroupingBehaviorfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static GroupingBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static GroupingBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISUALGROUP
public static final GroupingBehavior VISUALGROUP
Any group marked with this behavior should be displayed as a visual group to the end user
-
LOGICALGROUP
public static final GroupingBehavior 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 GroupingBehavior SENTENCEGROUP
A group of related alternative items is a sentence group if the target referenced by the item is the same in all the items, and each item simply constitutes a different variation on how to specify the details for the target. For example, two items 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 item, and the two items represent two 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 item, in which case, it would be "ExactlyOne"
-
NULL
public static final GroupingBehavior NULL
added to help the parsers
-
-
Method Detail
-
values
public static GroupingBehavior[] 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 (GroupingBehavior c : GroupingBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupingBehavior 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 GroupingBehavior fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-