public enum EncounterDiet extends Enum<EncounterDiet>
| Enum Constant and Description |
|---|
DAIRYFREE
Excludes dairy products.
|
GLUTENFREE
Excludes ingredients containing gluten.
|
HALAL
Foods that conform to Islamic law.
|
KOSHER
Foods that conform to Jewish dietary law.
|
NULL
added to help the parsers
|
NUTFREE
Excludes ingredients containing nuts.
|
VEGAN
Food without meat, poultry, seafood, eggs, dairy products and other animal-derived substances.
|
VEGETARIAN
Food without meat, poultry or seafood.
|
| Modifier and Type | Method and Description |
|---|---|
static EncounterDiet |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static EncounterDiet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncounterDiet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncounterDiet VEGETARIAN
public static final EncounterDiet DAIRYFREE
public static final EncounterDiet NUTFREE
public static final EncounterDiet GLUTENFREE
public static final EncounterDiet VEGAN
public static final EncounterDiet HALAL
public static final EncounterDiet KOSHER
public static final EncounterDiet NULL
public static EncounterDiet[] values()
for (EncounterDiet c : EncounterDiet.values()) System.out.println(c);
public static EncounterDiet 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 EncounterDiet 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.