Enum ActivityDefinitionCategory
- java.lang.Object
-
- java.lang.Enum<ActivityDefinitionCategory>
-
- org.hl7.fhir.dstu2016may.model.codesystems.ActivityDefinitionCategory
-
- All Implemented Interfaces:
Serializable,Comparable<ActivityDefinitionCategory>
public enum ActivityDefinitionCategory extends Enum<ActivityDefinitionCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIETTo consume food of a specified natureDRUGTo consume/receive a drug, vaccine or other productENCOUNTERTo meet or communicate with the patient (in-patient, out-patient, phone call, etc.)NULLadded to help the parsersOBSERVATIONTo capture information about a patient (vitals, labs, diagnostic images, etc.)OTHERSome other form of actionPROCEDURETo modify the patient in some way (surgery, physiotherapy, education, counseling, etc.)SUPPLYTo provide something to the patient (medication, medical supply, etc.)
-
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
-
DIET
public static final ActivityDefinitionCategory DIET
To consume food of a specified nature
-
DRUG
public static final ActivityDefinitionCategory DRUG
To consume/receive a drug, vaccine or other product
-
ENCOUNTER
public static final ActivityDefinitionCategory ENCOUNTER
To meet or communicate with the patient (in-patient, out-patient, phone call, etc.)
-
OBSERVATION
public static final ActivityDefinitionCategory OBSERVATION
To capture information about a patient (vitals, labs, diagnostic images, etc.)
-
PROCEDURE
public static final ActivityDefinitionCategory PROCEDURE
To modify the patient in some way (surgery, physiotherapy, education, counseling, etc.)
-
SUPPLY
public static final ActivityDefinitionCategory SUPPLY
To provide something to the patient (medication, medical supply, etc.)
-
OTHER
public static final ActivityDefinitionCategory OTHER
Some other form of action
-
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()
-
-