Enum ActivityDefinitionCategory
- java.lang.Object
-
- java.lang.Enum<ActivityDefinitionCategory>
-
- org.hl7.fhir.r4.model.codesystems.ActivityDefinitionCategory
-
- All Implemented Interfaces:
Serializable,Comparable<ActivityDefinitionCategory>
public enum ActivityDefinitionCategory extends Enum<ActivityDefinitionCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSESSMENTThe activity is intended to perform or is related to assessment of the patient.EDUCATIONThe activity is intended to provide or is related to education of the patient.NULLadded to help the parsersTREATMENTThe activity is intended to provide or is related to treatment of the patient.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityDefinitionCategoryfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ActivityDefinitionCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static ActivityDefinitionCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREATMENT
public static final ActivityDefinitionCategory TREATMENT
The activity is intended to provide or is related to treatment of the patient.
-
EDUCATION
public static final ActivityDefinitionCategory EDUCATION
The activity is intended to provide or is related to education of the patient.
-
ASSESSMENT
public static final ActivityDefinitionCategory ASSESSMENT
The activity is intended to perform or is related to assessment of the patient.
-
NULL
public static final ActivityDefinitionCategory NULL
added to help the parsers
-
-
Method Detail
-
values
public static ActivityDefinitionCategory[] 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 (ActivityDefinitionCategory c : ActivityDefinitionCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityDefinitionCategory 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 ActivityDefinitionCategory fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-