Enum EventStatus
- java.lang.Object
-
- java.lang.Enum<EventStatus>
-
- org.hl7.fhir.dstu3.model.codesystems.EventStatus
-
- All Implemented Interfaces:
Serializable,Comparable<EventStatus>
public enum EventStatus extends Enum<EventStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDThe event was prior to the full completion of the intended actionsCOMPLETEDThe event has now concludedENTEREDINERRORThis electronic record should never have existed, though it is possible that real-world decisions were based on it.INPROGRESSThe event is currently occurringNULLadded to help the parsersPREPARATIONThe core event has not started yet, but some staging activities have begun (e.g.SUSPENDEDThe event has been temporarily stopped but is expected to resume in the futureUNKNOWNThe authoring system does not know which of the status values currently applies for this request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static EventStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static EventStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARATION
public static final EventStatus PREPARATION
The core event has not started yet, but some staging activities have begun (e.g. surgical suite preparation). Preparation stages may be tracked for billing purposes.
-
INPROGRESS
public static final EventStatus INPROGRESS
The event is currently occurring
-
SUSPENDED
public static final EventStatus SUSPENDED
The event has been temporarily stopped but is expected to resume in the future
-
ABORTED
public static final EventStatus ABORTED
The event was prior to the full completion of the intended actions
-
COMPLETED
public static final EventStatus COMPLETED
The event has now concluded
-
ENTEREDINERROR
public static final EventStatus ENTEREDINERROR
This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "cancelled" rather than "entered-in-error".)
-
UNKNOWN
public static final EventStatus UNKNOWN
The authoring system does not know which of the status values currently applies for this request. 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 EventStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static EventStatus[] 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 (EventStatus c : EventStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventStatus 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 EventStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-