Enum EncounterDiet
- java.lang.Object
-
- java.lang.Enum<EncounterDiet>
-
- org.hl7.fhir.r4.model.codesystems.EncounterDiet
-
- All Implemented Interfaces:
Serializable
,Comparable<EncounterDiet>
public enum EncounterDiet extends Enum<EncounterDiet>
-
-
Enum Constant Summary
Enum Constants Enum Constant 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 parsersNUTFREE
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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
VEGETARIAN
public static final EncounterDiet VEGETARIAN
Food without meat, poultry or seafood.
-
DAIRYFREE
public static final EncounterDiet DAIRYFREE
Excludes dairy products.
-
NUTFREE
public static final EncounterDiet NUTFREE
Excludes ingredients containing nuts.
-
GLUTENFREE
public static final EncounterDiet GLUTENFREE
Excludes ingredients containing gluten.
-
VEGAN
public static final EncounterDiet VEGAN
Food without meat, poultry, seafood, eggs, dairy products and other animal-derived substances.
-
HALAL
public static final EncounterDiet HALAL
Foods that conform to Islamic law.
-
KOSHER
public static final EncounterDiet KOSHER
Foods that conform to Jewish dietary law.
-
NULL
public static final EncounterDiet NULL
added to help the parsers
-
-
Method Detail
-
values
public static EncounterDiet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EncounterDiet c : EncounterDiet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncounterDiet 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 nameNullPointerException
- if the argument is null
-
fromCode
public static EncounterDiet fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-