Enum CarePlanStatus
- java.lang.Object
-
- java.lang.Enum<CarePlanStatus>
-
- org.hl7.fhir.dstu3.model.codesystems.CarePlanStatus
-
- All Implemented Interfaces:
Serializable,Comparable<CarePlanStatus>
public enum CarePlanStatus extends Enum<CarePlanStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEThe plan is intended to be followed and used as part of patient care.CANCELLEDThe plan has been terminated prior to reaching completion (though it may have been replaced by a new plan).COMPLETEDThe plan is no longer in use and is not expected to be followed or used in patient care.DRAFTThe plan is in development or awaiting use but is not yet intended to be acted upon.ENTEREDINERRORThe plan was entered in error and voided.NULLadded to help the parsersSUSPENDEDThe plan has been temporarily stopped but is expected to resume in the future.UNKNOWNThe authoring system doesn't know the current state of the care plan.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CarePlanStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static CarePlanStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static CarePlanStatus[]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 DRAFT
The plan is in development or awaiting use but is not yet intended to be acted upon.
-
ACTIVE
public static final CarePlanStatus ACTIVE
The plan is intended to be followed and used as part of patient care.
-
SUSPENDED
public static final CarePlanStatus SUSPENDED
The plan has been temporarily stopped but is expected to resume in the future.
-
COMPLETED
public static final CarePlanStatus COMPLETED
The plan is no longer in use and is not expected to be followed or used in patient care.
-
ENTEREDINERROR
public static final CarePlanStatus ENTEREDINERROR
The plan was entered in error and voided.
-
CANCELLED
public static final CarePlanStatus CANCELLED
The plan has been terminated prior to reaching completion (though it may have been replaced by a new plan).
-
UNKNOWN
public static final CarePlanStatus UNKNOWN
The authoring system doesn't know the current state of the care plan.
-
NULL
public static final CarePlanStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static CarePlanStatus[] 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 c : CarePlanStatus.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 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 CarePlanStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-