Class AllergyIntoleranceType

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class AllergyIntoleranceType
    extends Code
    • Field Detail

      • ALLERGY

        public static final AllergyIntoleranceType ALLERGY
        Allergy

        A 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
        Intolerance

        A 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

      • 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
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code