Package org.hl7.fhir.r4.model
Enum Communication.CommunicationStatus
- java.lang.Object
-
- java.lang.Enum<Communication.CommunicationStatus>
-
- org.hl7.fhir.r4.model.Communication.CommunicationStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Communication.CommunicationStatus>
- Enclosing class:
- Communication
public static enum Communication.CommunicationStatus extends Enum<Communication.CommunicationStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDThe event has now concluded.ENTEREDINERRORThis electronic record should never have existed, though it is possible that real-world decisions were based on it.INPROGRESSThe event is currently occurring.NOTDONEThe event was terminated prior to any activity beyond preparation.NULLadded to help the parsers with the generic typesONHOLDThe event has been temporarily stopped but is expected to resume in the future.PREPARATIONThe core event has not started yet, but some staging activities have begun (e.g.STOPPEDThe 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.UNKNOWNThe authoring/source system does not know which of the status values currently applies for this event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Communication.CommunicationStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Communication.CommunicationStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Communication.CommunicationStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARATION
public static final Communication.CommunicationStatus 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 Communication.CommunicationStatus INPROGRESS
The event is currently occurring.
-
NOTDONE
public static final Communication.CommunicationStatus 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
public static final Communication.CommunicationStatus ONHOLD
The event has been temporarily stopped but is expected to resume in the future.
-
STOPPED
public static final Communication.CommunicationStatus 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
public static final Communication.CommunicationStatus COMPLETED
The event has now concluded.
-
ENTEREDINERROR
public static final Communication.CommunicationStatus 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
public static final Communication.CommunicationStatus 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
public static final Communication.CommunicationStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Communication.CommunicationStatus[] 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 (Communication.CommunicationStatus c : Communication.CommunicationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Communication.CommunicationStatus 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 Communication.CommunicationStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-