Enum RequiredBehavior
- java.lang.Object
-
- java.lang.Enum<RequiredBehavior>
-
- org.hl7.fhir.dstu2016may.model.codesystems.RequiredBehavior
-
- All Implemented Interfaces:
Serializable,Comparable<RequiredBehavior>
public enum RequiredBehavior extends Enum<RequiredBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COULDAn item with this behavior may be included in the set of items processed by the end userMUSTAn item with this behavior must be included in the items processed by the end user; the end user may not choose not to include this itemMUSTUNLESSDOCUMENTEDAn item with this behavior must be included in the set of items processed by the end user, unless the end user provides documentation as to why the item was not includedNULLadded to help the parsers
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequiredBehaviorfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static RequiredBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static RequiredBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MUST
public static final RequiredBehavior MUST
An item with this behavior must be included in the items processed by the end user; the end user may not choose not to include this item
-
COULD
public static final RequiredBehavior COULD
An item with this behavior may be included in the set of items processed by the end user
-
MUSTUNLESSDOCUMENTED
public static final RequiredBehavior MUSTUNLESSDOCUMENTED
An item with this behavior must be included in the set of items processed by the end user, unless the end user provides documentation as to why the item was not included
-
NULL
public static final RequiredBehavior NULL
added to help the parsers
-
-
Method Detail
-
values
public static RequiredBehavior[] 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 (RequiredBehavior c : RequiredBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequiredBehavior 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 RequiredBehavior fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-