Package org.hl7.fhir.dstu2.model
Enum CarePlan.CarePlanStatus
- java.lang.Object
-
- java.lang.Enum<CarePlan.CarePlanStatus>
-
- org.hl7.fhir.dstu2.model.CarePlan.CarePlanStatus
-
- All Implemented Interfaces:
Serializable,Comparable<CarePlan.CarePlanStatus>
- Enclosing class:
- CarePlan
public static enum CarePlan.CarePlanStatus extends Enum<CarePlan.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.NULLadded to help the parsersPROPOSEDThe plan has been suggested but no commitment to it has yet been made.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CarePlan.CarePlanStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static CarePlan.CarePlanStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static CarePlan.CarePlanStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROPOSED
public static final CarePlan.CarePlanStatus PROPOSED
The plan has been suggested but no commitment to it has yet been made.
-
DRAFT
public static final CarePlan.CarePlanStatus DRAFT
The plan is in development or awaiting use but is not yet intended to be acted upon.
-
ACTIVE
public static final CarePlan.CarePlanStatus ACTIVE
The plan is intended to be followed and used as part of patient care.
-
COMPLETED
public static final CarePlan.CarePlanStatus COMPLETED
The plan is no longer in use and is not expected to be followed or used in patient care.
-
CANCELLED
public static final CarePlan.CarePlanStatus CANCELLED
The plan has been terminated prior to reaching completion (though it may have been replaced by a new plan).
-
NULL
public static final CarePlan.CarePlanStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static CarePlan.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 (CarePlan.CarePlanStatus c : CarePlan.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 CarePlan.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 CarePlan.CarePlanStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-