Enum CarePlanStatus
- java.lang.Object
-
- java.lang.Enum<CarePlanStatus>
-
- org.hl7.fhir.dstu2016may.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.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 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
-
PROPOSED
public static final CarePlanStatus PROPOSED
The plan has been suggested but no commitment to it has yet been made.
-
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.
-
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.
-
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).
-
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()
-
-