Class AllergyIntoleranceCategory
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.AllergyIntoleranceCategory
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class AllergyIntoleranceCategory extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllergyIntoleranceCategory.Builderstatic classAllergyIntoleranceCategory.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static AllergyIntoleranceCategoryBIOLOGICBiologicstatic AllergyIntoleranceCategoryENVIRONMENTEnvironmentstatic AllergyIntoleranceCategoryFOODFoodstatic AllergyIntoleranceCategoryMEDICATIONMedication
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllergyIntoleranceCategory.Builderbuilder()static Codecode(String value)Inherited factory method for creating AllergyIntoleranceCategory objects from a passed string value.booleanequals(Object obj)AllergyIntoleranceCategory.ValueSetgetValueAsEnumConstant()inthashCode()static AllergyIntoleranceCategoryof(AllergyIntoleranceCategory.ValueSet value)Factory method for creating AllergyIntoleranceCategory objects from a passed enum value.static AllergyIntoleranceCategoryof(String value)Factory method for creating AllergyIntoleranceCategory objects from a passed string value.static Stringstring(String value)Inherited factory method for creating AllergyIntoleranceCategory objects from a passed string value.AllergyIntoleranceCategory.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
FOOD
public static final AllergyIntoleranceCategory FOOD
FoodAny substance consumed to provide nutritional support for the body.
-
MEDICATION
public static final AllergyIntoleranceCategory MEDICATION
MedicationSubstances administered to achieve a physiological effect.
-
ENVIRONMENT
public static final AllergyIntoleranceCategory 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 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
-
getValueAsEnumConstant
public AllergyIntoleranceCategory.ValueSet getValueAsEnumConstant()
-
of
public static AllergyIntoleranceCategory of(AllergyIntoleranceCategory.ValueSet value)
Factory method for creating AllergyIntoleranceCategory objects from a passed enum value.
-
of
public static AllergyIntoleranceCategory of(String value)
Factory method for creating AllergyIntoleranceCategory objects 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
-
string
public static String string(String value)
Inherited factory method for creating AllergyIntoleranceCategory objects 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
-
code
public static Code code(String value)
Inherited factory method for creating AllergyIntoleranceCategory objects 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
-
toBuilder
public AllergyIntoleranceCategory.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static AllergyIntoleranceCategory.Builder builder()
-
-