Enum CommunicationStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<CommunicationStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.CommunicationStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<CommunicationStatus.ValueSet>
- Enclosing class:
- CommunicationStatus
public static enum CommunicationStatus.ValueSet extends Enum<CommunicationStatus.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDCompletedENTERED_IN_ERROREntered in ErrorIN_PROGRESSIn ProgressNOT_DONENot DoneON_HOLDOn HoldPREPARATIONPreparationSTOPPEDStoppedUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommunicationStatus.ValueSetfrom(String value)Factory method for creating CommunicationStatus.ValueSet values from a passed string value.Stringvalue()static CommunicationStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static CommunicationStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARATION
public static final CommunicationStatus.ValueSet PREPARATION
PreparationThe 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.
-
IN_PROGRESS
public static final CommunicationStatus.ValueSet IN_PROGRESS
In ProgressThe event is currently occurring.
-
NOT_DONE
public static final CommunicationStatus.ValueSet NOT_DONE
Not DoneThe 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.
-
ON_HOLD
public static final CommunicationStatus.ValueSet ON_HOLD
On HoldThe event has been temporarily stopped but is expected to resume in the future.
-
STOPPED
public static final CommunicationStatus.ValueSet STOPPED
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.
-
COMPLETED
public static final CommunicationStatus.ValueSet COMPLETED
CompletedThe event has now concluded.
-
ENTERED_IN_ERROR
public static final CommunicationStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorThis 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 CommunicationStatus.ValueSet UNKNOWN
UnknownThe 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.
-
-
Method Detail
-
values
public static CommunicationStatus.ValueSet[] 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 (CommunicationStatus.ValueSet c : CommunicationStatus.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommunicationStatus.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static CommunicationStatus.ValueSet from(String value)
Factory method for creating CommunicationStatus.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-