Package org.hl7.fhir.r5.model
Enum ObservationDefinition.PublicationStatus
- java.lang.Object
-
- java.lang.Enum<ObservationDefinition.PublicationStatus>
-
- org.hl7.fhir.r5.model.ObservationDefinition.PublicationStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ObservationDefinition.PublicationStatus>
- Enclosing class:
- ObservationDefinition
public static enum ObservationDefinition.PublicationStatus extends Enum<ObservationDefinition.PublicationStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEThis resource is ready for normal use.DRAFTThis resource is still under development and is not yet considered to be ready for normal use.NULLadded to help the parsers with the generic typesRETIREDThis resource has been withdrawn or superseded and should no longer be used.UNKNOWNThe 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 ObservationDefinition.PublicationStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ObservationDefinition.PublicationStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ObservationDefinition.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 ObservationDefinition.PublicationStatus DRAFT
This resource is still under development and is not yet considered to be ready for normal use.
-
ACTIVE
public static final ObservationDefinition.PublicationStatus ACTIVE
This resource is ready for normal use.
-
RETIRED
public static final ObservationDefinition.PublicationStatus RETIRED
This resource has been withdrawn or superseded and should no longer be used.
-
UNKNOWN
public static final ObservationDefinition.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 ObservationDefinition.PublicationStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static ObservationDefinition.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 (ObservationDefinition.PublicationStatus c : ObservationDefinition.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 ObservationDefinition.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 ObservationDefinition.PublicationStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-