Enum GoalStatusReason
- java.lang.Object
-
- java.lang.Enum<GoalStatusReason>
-
- org.hl7.fhir.dstu2016may.model.codesystems.GoalStatusReason
-
- All Implemented Interfaces:
Serializable,Comparable<GoalStatusReason>
public enum GoalStatusReason extends Enum<GoalStatusReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIFEEVENTGoal suspended or ended because of a significant life event (marital change, bereavement, etc.).NULLadded to help the parsersPATIENTREQUESTPatient wishes the goal to be set aside, at least temporarily.REPLACEDGoal has been superseded by a new goal.SURGERYGoal suspended or ended because of a surgical procedure.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GoalStatusReasonfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static GoalStatusReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static GoalStatusReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SURGERY
public static final GoalStatusReason SURGERY
Goal suspended or ended because of a surgical procedure.
-
LIFEEVENT
public static final GoalStatusReason LIFEEVENT
Goal suspended or ended because of a significant life event (marital change, bereavement, etc.).
-
REPLACED
public static final GoalStatusReason REPLACED
Goal has been superseded by a new goal.
-
PATIENTREQUEST
public static final GoalStatusReason PATIENTREQUEST
Patient wishes the goal to be set aside, at least temporarily.
-
NULL
public static final GoalStatusReason NULL
added to help the parsers
-
-
Method Detail
-
values
public static GoalStatusReason[] 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 (GoalStatusReason c : GoalStatusReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoalStatusReason 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 GoalStatusReason fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-