
Package org.hl7.fhir.dstu3.model
Enum Enumerations.PublicationStatus
- java.lang.Object
-
- java.lang.Enum<Enumerations.PublicationStatus>
-
- org.hl7.fhir.dstu3.model.Enumerations.PublicationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<Enumerations.PublicationStatus>
- Enclosing class:
- Enumerations
public static enum Enumerations.PublicationStatus extends Enum<Enumerations.PublicationStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
This resource is ready for normal use.DRAFT
This resource is still under development and is not yet considered to be ready for normal use.NULL
added to help the parsersRETIRED
This resource has been withdrawn or superseded and should no longer be used.UNKNOWN
The authoring system does not know which of the status values currently applies for this resource.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Enumerations.PublicationStatus
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static Enumerations.PublicationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static Enumerations.PublicationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final Enumerations.PublicationStatus DRAFT
This resource is still under development and is not yet considered to be ready for normal use.
-
ACTIVE
public static final Enumerations.PublicationStatus ACTIVE
This resource is ready for normal use.
-
RETIRED
public static final Enumerations.PublicationStatus RETIRED
This resource has been withdrawn or superseded and should no longer be used.
-
UNKNOWN
public static final Enumerations.PublicationStatus UNKNOWN
The authoring 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, it's just not known which one.
-
NULL
public static final Enumerations.PublicationStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static Enumerations.PublicationStatus[] 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 (Enumerations.PublicationStatus c : Enumerations.PublicationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Enumerations.PublicationStatus 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 Enumerations.PublicationStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-