Package com.ibm.fhir.model.type.code
Class AllergyIntoleranceType
- 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.AllergyIntoleranceType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class AllergyIntoleranceType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllergyIntoleranceType.Builderstatic classAllergyIntoleranceType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static AllergyIntoleranceTypeALLERGYAllergystatic AllergyIntoleranceTypeINTOLERANCEIntolerance
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllergyIntoleranceType.Builderbuilder()static Codecode(String value)Inherited factory method for creating AllergyIntoleranceType objects from a passed string value.booleanequals(Object obj)AllergyIntoleranceType.ValueSetgetValueAsEnumConstant()inthashCode()static AllergyIntoleranceTypeof(AllergyIntoleranceType.ValueSet value)Factory method for creating AllergyIntoleranceType objects from a passed enum value.static AllergyIntoleranceTypeof(String value)Factory method for creating AllergyIntoleranceType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating AllergyIntoleranceType objects from a passed string value.AllergyIntoleranceType.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
-
ALLERGY
public static final AllergyIntoleranceType ALLERGY
AllergyA propensity for hypersensitive reaction(s) to a substance. These reactions are most typically type I hypersensitivity, plus other "allergy-like" reactions, including pseudoallergy.
-
INTOLERANCE
public static final AllergyIntoleranceType INTOLERANCE
IntoleranceA propensity for adverse reactions to a substance that is not judged to be allergic or "allergy-like". These reactions are typically (but not necessarily) non-immune. They are to some degree idiosyncratic and/or patient- specific (i.e. are not a reaction that is expected to occur with most or all patients given similar circumstances).
-
-
Method Detail
-
getValueAsEnumConstant
public AllergyIntoleranceType.ValueSet getValueAsEnumConstant()
-
of
public static AllergyIntoleranceType of(AllergyIntoleranceType.ValueSet value)
Factory method for creating AllergyIntoleranceType objects from a passed enum value.
-
of
public static AllergyIntoleranceType of(String value)
Factory method for creating AllergyIntoleranceType 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 AllergyIntoleranceType 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 AllergyIntoleranceType 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 AllergyIntoleranceType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static AllergyIntoleranceType.Builder builder()
-
-