Enum SubstanceCategory

java.lang.Object
java.lang.Enum<SubstanceCategory>
org.hl7.fhir.r4.model.codesystems.SubstanceCategory
All Implemented Interfaces:
Serializable, Comparable<SubstanceCategory>

  • Enum Constant Summary Link icon

    Enum Constants
    Enum Constant
    Description
    A substance that causes an allergic reaction.
    A substance that is produced by or extracted from a biological source.
    A substance that comes directly from a human or an animal (e.g.
    Any organic or inorganic substance of a particular molecular identity, including -- (i) any combination of such substances occurring in whole or in part as a result of a chemical reaction or occurring in nature and (ii) any element or uncombined radical (http://www.epa.gov/opptintr/import-export/pubs/importguide.pdf).
    A substance intended for use in the diagnosis, cure, mitigation, treatment, or prevention of disease in man or other animals (Federal Food Drug and Cosmetic Act).
    A food, dietary ingredient, or dietary supplement for human or animal.
    A finished product which is not normally ingested, absorbed or injected (e.g.
    added to help the parsers
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    fromCode(String codeString)
     
     
     
     
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum Link icon

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object Link icon

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details Link icon

    • ALLERGEN Link icon

      public static final SubstanceCategory ALLERGEN
      A substance that causes an allergic reaction.
    • BIOLOGICAL Link icon

      public static final SubstanceCategory BIOLOGICAL
      A substance that is produced by or extracted from a biological source.
    • BODY Link icon

      public static final SubstanceCategory BODY
      A substance that comes directly from a human or an animal (e.g. blood, urine, feces, tears, etc.).
    • CHEMICAL Link icon

      public static final SubstanceCategory CHEMICAL
      Any organic or inorganic substance of a particular molecular identity, including -- (i) any combination of such substances occurring in whole or in part as a result of a chemical reaction or occurring in nature and (ii) any element or uncombined radical (http://www.epa.gov/opptintr/import-export/pubs/importguide.pdf).
    • FOOD Link icon

      public static final SubstanceCategory FOOD
      A food, dietary ingredient, or dietary supplement for human or animal.
    • DRUG Link icon

      public static final SubstanceCategory DRUG
      A substance intended for use in the diagnosis, cure, mitigation, treatment, or prevention of disease in man or other animals (Federal Food Drug and Cosmetic Act).
    • MATERIAL Link icon

      public static final SubstanceCategory MATERIAL
      A finished product which is not normally ingested, absorbed or injected (e.g. steel, iron, wood, plastic and paper).
    • NULL Link icon

      public static final SubstanceCategory NULL
      added to help the parsers
  • Method Details Link icon

    • values Link icon

      public static SubstanceCategory[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf Link icon

      public static SubstanceCategory 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 name
      NullPointerException - if the argument is null
    • fromCode Link icon

      public static SubstanceCategory fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • toCode Link icon

      public String toCode()
    • getSystem Link icon

      public String getSystem()
    • getDefinition Link icon

    • getDisplay Link icon

      public String getDisplay()