public enum SubstanceCategory extends Enum<SubstanceCategory>
| Enum Constant and Description |
|---|
ALLERGEN
A substance that causes an allergic reaction.
|
BIOLOGICAL
A substance that is produced by or extracted from a biological source.
|
BODY
A substance that comes directly from a human or an animal (e.g.
|
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).
|
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).
|
FOOD
A food, dietary ingredient, or dietary supplement for human or animal.
|
MATERIAL
A finished product which is not normally ingested, absorbed or injected (e.g.
|
NULL
added to help the parsers
|
| Modifier and Type | Method and Description |
|---|---|
static SubstanceCategory |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static SubstanceCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubstanceCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubstanceCategory ALLERGEN
public static final SubstanceCategory BIOLOGICAL
public static final SubstanceCategory BODY
public static final SubstanceCategory CHEMICAL
public static final SubstanceCategory FOOD
public static final SubstanceCategory DRUG
public static final SubstanceCategory MATERIAL
public static final SubstanceCategory NULL
public static SubstanceCategory[] values()
for (SubstanceCategory c : SubstanceCategory.values()) System.out.println(c);
public static SubstanceCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SubstanceCategory fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.