Package org.hl7.fhir.dstu2.model
Enum Goal.GoalStatus
- java.lang.Object
-
- java.lang.Enum<Goal.GoalStatus>
-
- org.hl7.fhir.dstu2.model.Goal.GoalStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Goal.GoalStatus>
- Enclosing class:
- Goal
public static enum Goal.GoalStatus extends Enum<Goal.GoalStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDA proposed goal was acceptedACHIEVEDThe goal has been met and no further action is neededCANCELLEDThe goal is no longer being soughtINPROGRESSThe goal is being sought but has not yet been reached.NULLadded to help the parsersONHOLDThe goal remains a long term objective but is no longer being actively pursued for a temporary period of time.PLANNEDA goal is planned for this patientPROPOSEDA goal is proposed for this patientREJECTEDA proposed goal was rejectedSUSTAININGThe goal has been met, but ongoing activity is needed to sustain the goal objective
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Goal.GoalStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Goal.GoalStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Goal.GoalStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROPOSED
public static final Goal.GoalStatus PROPOSED
A goal is proposed for this patient
-
PLANNED
public static final Goal.GoalStatus PLANNED
A goal is planned for this patient
-
ACCEPTED
public static final Goal.GoalStatus ACCEPTED
A proposed goal was accepted
-
REJECTED
public static final Goal.GoalStatus REJECTED
A proposed goal was rejected
-
INPROGRESS
public static final Goal.GoalStatus INPROGRESS
The goal is being sought but has not yet been reached. (Also applies if goal was reached in the past but there has been regression and goal is being sought again)
-
ACHIEVED
public static final Goal.GoalStatus ACHIEVED
The goal has been met and no further action is needed
-
SUSTAINING
public static final Goal.GoalStatus SUSTAINING
The goal has been met, but ongoing activity is needed to sustain the goal objective
-
ONHOLD
public static final Goal.GoalStatus ONHOLD
The goal remains a long term objective but is no longer being actively pursued for a temporary period of time.
-
CANCELLED
public static final Goal.GoalStatus CANCELLED
The goal is no longer being sought
-
NULL
public static final Goal.GoalStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static Goal.GoalStatus[] 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 (Goal.GoalStatus c : Goal.GoalStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Goal.GoalStatus 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 Goal.GoalStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-