Enum CarePlanStatus.Value
- java.lang.Object
-
- java.lang.Enum<CarePlanStatus.Value>
-
- org.linuxforhealth.fhir.model.type.code.CarePlanStatus.Value
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CarePlanStatus.Value>
- Enclosing class:
- CarePlanStatus
public static enum CarePlanStatus.Value extends java.lang.Enum<CarePlanStatus.Value>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CarePlanStatus.Value
from(java.lang.String value)
Factory method for creating CarePlanStatus.Value values from a passed string value.java.lang.String
value()
static CarePlanStatus.Value
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CarePlanStatus.Value[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final CarePlanStatus.Value DRAFT
DraftThe request has been created but is not yet complete or ready for action.
-
ACTIVE
public static final CarePlanStatus.Value ACTIVE
ActiveThe request is in force and ready to be acted upon.
-
ON_HOLD
public static final CarePlanStatus.Value ON_HOLD
On HoldThe request (and any implicit authorization to act) has been temporarily withdrawn but is expected to resume in the future.
-
REVOKED
public static final CarePlanStatus.Value REVOKED
RevokedThe request (and any implicit authorization to act) has been terminated prior to the known full completion of the intended actions. No further activity should occur.
-
COMPLETED
public static final CarePlanStatus.Value COMPLETED
CompletedThe activity described by the request has been fully performed. No further activity will occur.
-
ENTERED_IN_ERROR
public static final CarePlanStatus.Value ENTERED_IN_ERROR
Entered in ErrorThis request should never have existed and should be considered 'void'. (It is possible that real-world decisions were based on it. If real-world activity has occurred, the status should be "revoked" rather than "entered-in-error".).
-
UNKNOWN
public static final CarePlanStatus.Value UNKNOWN
UnknownThe authoring/source 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, but the authoring/source system does not know which.
-
-
Method Detail
-
values
public static CarePlanStatus.Value[] 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 (CarePlanStatus.Value c : CarePlanStatus.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CarePlanStatus.Value valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static CarePlanStatus.Value from(java.lang.String value)
Factory method for creating CarePlanStatus.Value values from a passed string value.- Parameters:
value
- A string that matches one of the allowed code values- Returns:
- The corresponding CarePlanStatus.Value or null if a null value was passed
- Throws:
java.lang.IllegalArgumentException
- If the passed string is not null and cannot be parsed into an allowed code value
-
-