Package org.hl7.fhir.r5.model
Enum Enumerations.EventStatus
- All Implemented Interfaces:
Serializable
,Comparable<Enumerations.EventStatus>
- Enclosing class:
Enumerations
-
Enum Constant Summary
Enum ConstantDescriptionThe event has now concluded.This electronic record should never have existed, though it is possible that real-world decisions were based on it.The event is currently occurring.The event was terminated prior to any activity beyond preparation.added to help the parsersThe event has been temporarily stopped but is expected to resume in the future.The core event has not started yet, but some staging activities have begun (e.g.The event was terminated prior to the full completion of the intended activity but after at least some of the 'main' activity (beyond preparation) has occurred.The authoring/source system does not know which of the status values currently applies for this event. -
Method Summary
Modifier and TypeMethodDescriptionstatic Enumerations.EventStatus
static boolean
isValidCode
(String codeString) toCode()
static Enumerations.EventStatus
Returns the enum constant of this type with the specified name.static Enumerations.EventStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
The event is currently occurring. -
NOTDONE
The event was terminated prior to any activity beyond preparation. I.e. The 'main' activity has not yet begun. The boundary between preparatory and the 'main' activity is context-specific. -
ONHOLD
The event has been temporarily stopped but is expected to resume in the future. -
STOPPED
The event was terminated prior to the full completion of the intended activity but after at least some of the 'main' activity (beyond preparation) has occurred. -
COMPLETED
The event has now concluded. -
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 "stopped" rather than "entered-in-error".). -
UNKNOWN
The authoring/source system does not know which of the status values currently applies for this event. 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
added to help the parsers
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.EventStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
isValidCode
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-