Package org.hl7.fhir.dstu2.model
Enum CarePlan.CarePlanRelationship
- java.lang.Object
-
- java.lang.Enum<CarePlan.CarePlanRelationship>
-
- org.hl7.fhir.dstu2.model.CarePlan.CarePlanRelationship
-
- All Implemented Interfaces:
Serializable,Comparable<CarePlan.CarePlanRelationship>
- Enclosing class:
- CarePlan
public static enum CarePlan.CarePlanRelationship extends Enum<CarePlan.CarePlanRelationship>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULFILLSThis plan provides details about how to perform activities defined at a higher level by the referenced plan.INCLUDESThe referenced plan is considered to be part of this plan.NULLadded to help the parsersREPLACESThis plan takes the places of the referenced plan.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CarePlan.CarePlanRelationshipfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static CarePlan.CarePlanRelationshipvalueOf(String name)Returns the enum constant of this type with the specified name.static CarePlan.CarePlanRelationship[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDES
public static final CarePlan.CarePlanRelationship INCLUDES
The referenced plan is considered to be part of this plan.
-
REPLACES
public static final CarePlan.CarePlanRelationship REPLACES
This plan takes the places of the referenced plan.
-
FULFILLS
public static final CarePlan.CarePlanRelationship FULFILLS
This plan provides details about how to perform activities defined at a higher level by the referenced plan.
-
NULL
public static final CarePlan.CarePlanRelationship NULL
added to help the parsers
-
-
Method Detail
-
values
public static CarePlan.CarePlanRelationship[] 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.CarePlanRelationship c : CarePlan.CarePlanRelationship.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.CarePlanRelationship 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.CarePlanRelationship fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-