Package org.hl7.fhir.dstu2016may.model
Enum Protocol.ActivityDefinitionCategory
- java.lang.Object
-
- java.lang.Enum<Protocol.ActivityDefinitionCategory>
-
- org.hl7.fhir.dstu2016may.model.Protocol.ActivityDefinitionCategory
-
- All Implemented Interfaces:
Serializable,Comparable<Protocol.ActivityDefinitionCategory>
- Enclosing class:
- Protocol
public static enum Protocol.ActivityDefinitionCategory extends Enum<Protocol.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 Protocol.ActivityDefinitionCategoryfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Protocol.ActivityDefinitionCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static Protocol.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 Protocol.ActivityDefinitionCategory DIET
To consume food of a specified nature
-
DRUG
public static final Protocol.ActivityDefinitionCategory DRUG
To consume/receive a drug, vaccine or other product
-
ENCOUNTER
public static final Protocol.ActivityDefinitionCategory ENCOUNTER
To meet or communicate with the patient (in-patient, out-patient, phone call, etc.)
-
OBSERVATION
public static final Protocol.ActivityDefinitionCategory OBSERVATION
To capture information about a patient (vitals, labs, diagnostic images, etc.)
-
PROCEDURE
public static final Protocol.ActivityDefinitionCategory PROCEDURE
To modify the patient in some way (surgery, physiotherapy, education, counseling, etc.)
-
SUPPLY
public static final Protocol.ActivityDefinitionCategory SUPPLY
To provide something to the patient (medication, medical supply, etc.)
-
OTHER
public static final Protocol.ActivityDefinitionCategory OTHER
Some other form of action
-
NULL
public static final Protocol.ActivityDefinitionCategory NULL
added to help the parsers
-
-
Method Detail
-
values
public static Protocol.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 (Protocol.ActivityDefinitionCategory c : Protocol.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 Protocol.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 Protocol.ActivityDefinitionCategory fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-