Measures

The concept of a measure in the food diary program is some “measurable” quantity of a food or recipe. Measures come in three types;

All foods must have at least one weight measure, and you can always convert to any of the other weight measures. A food can have multiple volume measures with the same unit (cup) as long as they have a different preparation (chopped vs. diced), because different preparations can cause the same volume to have different weights. A unit measure is something that is particular to that type of food, like a “slice” of cheese, or a “large” banana. While the program can convert from one unit of weight to another, and from one unit of volume to another (that has the same preparation), the program can’t convert from one “unit” measure to another.

A single food or recipe can have multiple measures. For the food “Onion” you could have the weight measure “gram”, the volume measure “cup, diced”, the volume measure “cup, chopped”, the unit measure “large” and the unit measure “small”. Since you can only create new measures using the measurement dialog from existing measures, the program will know how many grams are in each of these measures. This allows the program to calculate the nutrition information for each measure of a food.


Recipes

A recipe is a collection of ingredients with optional instructions about how to make the recipe. An ingredient is just an amount of a measure of a food. So if we had a food called "Onion" with a measure "cup, diced", a recipe could contain 2 "cup, diced Onion". When a measure is added to a recipe the nutrition information from the food is used to calculate the score of the recipe. If the nutrition information of the food changes after the food has been added to the recipe, the nutrition information of the recipe will still be updated. A recipe will always have a weight measure (just like a food), and a unit measure called "whole". The "whole" measure will be created to equal the weight of all the ingredients in the recipe. Once a recipe has been created, you can add new measures to it (just like a food) using the Add measure dialog.


Categories

The program sorts foods by category. The USDA has a list of categories which the program uses. These categories can’t be removed, but they can be renamed, and new categories can be added. If you add a new category, you can remove it again if it doesn't contain any foods

Built-in Categories


Nutrients

The USDA database contains over 100 nutrients (not all are measured for every food). All the standard nutrients are available including calories, protein, carbohydrates, different types of fat, sugars, fiber, most all vitamins, caffeine, and water.

When you create a new user, you can select any of the nutrients defined in the USDA database. For each food the program stores the amount of each nutrient in 100g of that food. 100g is an arbitrary amount chosen so that there aren’t rounding errors from too much or too little of the nutrient. When you display a food, or add a food to a recipe, you are really dealing with a measurement of that food. All measurements know how much they weigh. This weight is used to calculate the amount of the nutrient to display.

USDA Nutrients

Units

Nutrient

g Protein
g Total lipid (fat)
g Carbohydrate, by difference
g Ash
kcal Energy
g Starch
g Sucrose
g Glucose (dextrose)
g Fructose
g Lactose
g Maltose
g Alcohol, ethyl
g Water
g Adjusted Protein
mg Caffeine
mg Theobromine
kj Energy
g Sugars, total
g Galactose
g Fiber, total dietary
mg Calcium, Ca
mg Iron, Fe
mg Magnesium, Mg
mg Phosphorus, P
mg Potassium, K
mg Sodium, Na
mg Zinc, Zn
mg Copper, Cu
mg Manganese, Mn
mcg Selenium, Se
IU Vitamin A, IU
mcg Retinol
mcg_RAE Vitamin A, RAE
mcg Carotene, beta
mcg Carotene, alpha
mg Vitamin E (alpha-tocopherol)
IU Vitamin D
mcg Cryptoxanthin, beta
mcg Lycopene
mcg Lutein + zeaxanthin
mg Tocopherol, beta
mg Tocopherol, gamma
mg Tocopherol, delta
mg Vitamin C, total ascorbic acid
mg Thiamin
mg Riboflavin
mg Niacin
mg Pantothenic acid
mg Vitamin B-6
mcg Folate, total
mcg Vitamin B-12
mcg Vitamin K (phylloquinone)
mcg Folic acid
mcg Folate, food
mcg_DFE Folate, DFE
g Tryptophan
g Threonine
g Isoleucine
g Leucine
g Lysine
g Methionine
g Cystine
g Phenylalanine
g Tyrosine
g Valine
g Arginine
g Histidine
g Alanine
g Aspartic acid
g Glutamic acid
g Glycine
g Proline
g Serine
g Hydroxyproline
mg Cholesterol
g Fatty acids, total trans
g Fatty acids, total saturated
g 4:0
g 6:0
g 8:0
g 10:0
g 12:0
g 14:0
g 16:0
g 18:0
g 20:0
g 18:1 undifferentiated
g 18:2 undifferentiated
g 18:3 undifferentiated
g 20:4 undifferentiated
g 22:6 n-3
g 22:0
g 14:1
g 16:1 undifferentiated
g 18:4
g 20:1
g 20:5 n-3
g 22:1 undifferentiated
g 22:5 n-3
mg Phytosterols
mg Stigmasterol
mg Campesterol
mg Beta-sitosterol
g Fatty acids, total monounsaturated
g Fatty acids, total polyunsaturated
g 15:0
g 17:0
g 24:0
g 16:1 t
g 18:1 t
g 18:2 i
g 18:2 undifferentiated
g 24:1 c
g 20:2 n-6 c,c
g 16:1 c
g 18:1 c
g 18:2 n-6 c,c
g 18:3 n-6 c,c,c
g 17:1
g 20:3 undifferentiated
g Fatty acids, total trans-monoenoic
g Fatty acids, total trans-polyenoic
g 13:0
g 15:1
g 18:3 n-3 c,c,c