Enum AllergyIntoleranceCategory.ValueSet
- java.lang.Object
-
- java.lang.Enum<AllergyIntoleranceCategory.ValueSet>
-
- com.ibm.fhir.model.type.code.AllergyIntoleranceCategory.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<AllergyIntoleranceCategory.ValueSet>
- Enclosing class:
- AllergyIntoleranceCategory
public static enum AllergyIntoleranceCategory.ValueSet extends Enum<AllergyIntoleranceCategory.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIOLOGICBiologicENVIRONMENTEnvironmentFOODFoodMEDICATIONMedication
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllergyIntoleranceCategory.ValueSetfrom(String value)Factory method for creating AllergyIntoleranceCategory.ValueSet values from a passed string value.Stringvalue()static AllergyIntoleranceCategory.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static AllergyIntoleranceCategory.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOOD
public static final AllergyIntoleranceCategory.ValueSet FOOD
FoodAny substance consumed to provide nutritional support for the body.
-
MEDICATION
public static final AllergyIntoleranceCategory.ValueSet MEDICATION
MedicationSubstances administered to achieve a physiological effect.
-
ENVIRONMENT
public static final AllergyIntoleranceCategory.ValueSet ENVIRONMENT
EnvironmentAny substances that are encountered in the environment, including any substance not already classified as food, medication, or biologic.
-
BIOLOGIC
public static final AllergyIntoleranceCategory.ValueSet BIOLOGIC
BiologicA preparation that is synthesized from living organisms or their products, especially a human or animal protein, such as a hormone or antitoxin, that is used as a diagnostic, preventive, or therapeutic agent. Examples of biologic medications include: vaccines; allergenic extracts, which are used for both diagnosis and treatment (for example, allergy shots); gene therapies; cellular therapies. There are other biologic products, such as tissues, which are not typically associated with allergies.
-
-
Method Detail
-
values
public static AllergyIntoleranceCategory.ValueSet[] 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 (AllergyIntoleranceCategory.ValueSet c : AllergyIntoleranceCategory.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AllergyIntoleranceCategory.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static AllergyIntoleranceCategory.ValueSet from(String value)
Factory method for creating AllergyIntoleranceCategory.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-