Enum DefinitionStatus
- java.lang.Object
-
- java.lang.Enum<DefinitionStatus>
-
- org.hl7.fhir.r4.model.codesystems.DefinitionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<DefinitionStatus>
public enum DefinitionStatus extends Enum<DefinitionStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The definition is considered ready for use.DRAFT
The definition is in the design stage and is not yet considered to be "ready for use".NULL
added to help the parsersUNKNOWN
The authoring/source system does not know which of the status values currently applies for this resource.WITHDRAWN
The definition should no longer be used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefinitionStatus
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static DefinitionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefinitionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final DefinitionStatus DRAFT
The definition is in the design stage and is not yet considered to be "ready for use".
-
ACTIVE
public static final DefinitionStatus ACTIVE
The definition is considered ready for use.
-
WITHDRAWN
public static final DefinitionStatus WITHDRAWN
The definition should no longer be used.
-
UNKNOWN
public static final DefinitionStatus UNKNOWN
The authoring/source system does not know which of the status values currently applies for this resource. Note: This concept is not to be used for "other" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.
-
NULL
public static final DefinitionStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static DefinitionStatus[] 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 (DefinitionStatus c : DefinitionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefinitionStatus 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 DefinitionStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-