Running head: LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Lab 4 – Nutricipe Prototype User Manual Blue Team CS411 Professor Janet Brunelle Old Dominion University December 9, 2010 V4.1 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 2 Table of Contents 1 2 3 INTRODUCTION (Olga) ........................................................................................................4 PRODUCT FEATURES (Adam) ............................................................................................6 GETTING STARTED ...........................................................................................................10 3.1 3.2 3.3 3.4 4 Required Software (Mark) .......................................................................................................... 10 Navigating to the Nutricipe Website (Mark) .............................................................................. 10 Login (Ben) ................................................................................................................................. 10 Create Account (Ben).................................................................................................................. 10 USER INTERFACE ..............................................................................................................10 4.1 4.2 4.3 4.4 Account Maintenance (Ben) ....................................................................................................... 11 Profile Set up and Maintenance (Ben) ........................................................................................ 11 Recommendations Page (Olga) ................................................................................................... 11 Meal Builder Page....................................................................................................................... 14 4.4.1 4.4.2 4.4.3 4.4.4 4.4.5 4.4.5 4.5 5 Tracking Page ............................................................................................................................. 38 4.5.1 Tracking Page Navigation........................................................................................38 4.5.2 Goal Tracking Report (Olga) ...................................................................................39 4.4.1 Food Tracking Report (Erik) ...................................................................................40 ADMINISTRATOR INTERFACE .......................................................................................42 5.1 5.2 5.3 5.4 5.5 5.6 6 7 8 Meal Builder Page Navigation (John)......................................................................14 Ingredients Search (John) ........................................................................................15 Recipe Search (Adam) .............................................................................................17 Adding Recipes to Meal (John) ...............................................................................22 Adding Ingredients to Meal (John) ..........................................................................28 Complete Meal (John and Olga) ..............................................................................31 Create Account Option (Or’Sasha) ............................................................................................. 42 Edit User Option (Or’Sasha) ....................................................................................................... 43 Deactivate Account Option (Or’Sasha) ...................................................................................... 45 Activate Account Option (Or’Sasha) .......................................................................................... 46 View Satisfaction Survey Report Option (Mark)........................................................................ 47 User Satisfaction Survey Report Display (Mark) ....................................................................... 47 ERROR MESSAGES (Cole) .................................................................................................47 GLOSSARYOF TERMS .......................................................................................................47 REFERENCES ......................................................................................................................49 List of Figures Figure 1. Prototype major functional component diagram ..............................................................8 Figure 2. Nutricipe Site Map .........................................................................................................10 Figure X. Recommendation Tab Display ......................................................................................12 Figure X. Daily Caloric Intake Display .........................................................................................12 Figure X. Food Group Recommendation Display .........................................................................13 Figure X. Nutritional Goals Recommendations Display with No Goals Selected ........................13 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 3 Figure X. Nutritional Goals Recommendations Display ...............................................................13 Figure X. Meal Builder Tab Display .............................................................................................15 Figure X. Empty Meal Display ......................................................................................................15 Figure X. Ingredient Search Prompt ..............................................................................................16 Figure X. Ingredient Search with Typed Ingredient ......................................................................16 Figure X. Ingredient Display .........................................................................................................16 Figure X. Recipe Search Prompt ...................................................................................................17 Figure X. Initiating Recipe Prompt without Nutritional Goals......................................................17 Figure X. Unfiltered Search Results for Ingredient Turkey ..........................................................18 Figure X. Initiating Recipe Search with Nutritional Goals............................................................18 Figure X. Filtered Search Results for Ingredient Turkey ..............................................................19 Figure X. Initiating Recipe Search by Pantry without Nutritional Goals ......................................20 Figure X. Unfiltered Search Results for Ingredients Found in Pantry ...........................................21 Figure X. Initiating Recipe Search by Pantry with Nutritional Goals ...........................................21 Figure X. Filtered Search Results for Ingredients Found in Pantry ...............................................22 Figure X. Your Meal with Recipe Display ....................................................................................23 Figure X. Recipe Nutritional Card Display ...................................................................................24 Figure X. Recipe Nutritional Card Overview ................................................................................25 Figure X. Recipe Nutritional Card: Ingredients Display ...............................................................26 Figure X. Recipe Nutritional Card: Directions Display.................................................................26 Figure X. Recipe Nutritional Card: Nutritional Facts Display ......................................................27 Figure X. Recipe Nutritional Card: Goals Display ........................................................................27 Figure X. Duplicated Entry in Your Meal Display ........................................................................28 Figure X. Your Meal with Ingredient Display ...............................................................................29 Figure X. Ingredient Nutritional Card Display ..............................................................................30 Figure X. Complete Your Meal Display ........................................................................................31 Figure X. Meal Card Display .........................................................................................................32 Figure X. Meal Card: Add Meal to History Display .....................................................................33 Figure X. Meal Card: Selected Meal Display ................................................................................33 Figure X. Meal Card: Nutritional Facts Display............................................................................34 Figure X. Meal Card: Goals Display .............................................................................................35 Figure X. Meal Card: Calendar Display ........................................................................................35 Figure X. Meal Options Display ....................................................................................................36 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 4 Figure X. Empty Shopping List Display........................................................................................37 Figure X. Shopping List Display ...................................................................................................37 Figure X. Tracking Tab Display ....................................................................................................38 Figure X. Goals Tracking Timeframe Options Display.................................................................39 Figure X. Goals Tracking Timeframe Selection Display ..............................................................40 Figure X. Goals Tracking: No Meals Selected Display.................................................................40 Figure X. Goals Tracking Report...................................................................................................40 Figure X. Food Tracking: No Meals Selected Display ..................................................................41 Figure X. Food Tracking Display ..................................................................................................41 Figure X. Administrative menu: Create User ................................................................................42 Figure X. Administrative option: Create User Display .................................................................43 Figure X. Administrative menu: Edit User ....................................................................................44 Figure X. Administrative menu: Edit User Selection Display .......................................................44 Figure X. Administrative option: Edit User Display .....................................................................45 Figure X. Administrative menu: Deactivate User Selection Display ............................................46 Figure X. Administrative menu: Activate User Selection Display ................................................46 [This space intentionally left blank] 1 INTRODUCTION (Olga) All humans require nutrients in specific proportions to balance their body’s systems and to achieve optimal health. Unfortunately, according to the American Journal of Clinical Nutrition (n.d.), 99% of Americans are not getting the daily nutrition considered necessary to maintain good health. According to the USDA Center for Nutrition Policy and Promotion (2005), only 10% of Americans have good diets, 74% need to improve their diets, and 16% of people in the U.S. have poor diets. People are unaware that unhealthy diets can lead to health problems. According to the World Cancer Research Fund (2009), 41% of people in America do not know that there is a link LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 5 between what they eat and cancer, 23% do not know that unhealthy diets can lead to heart diseases, and 10% of people in the U.S. do not even understand that unhealthy diets can cause health problems. Some people who have already developed health problems do not know that their diets should be changed based on their current health conditions. Even those people who are interested in eating healthy face problems with developing their proper diets. 60% of all people in America find it difficult and confusing to learn about nutrition and follow all the guidelines (Sansolo, 2004). Because people do not consume the necessary nutrients, there is an increasing concern among health professionals regarding the cumulative effects of nutrition. Cumulative effects are the results of something that has been done repeatedly over an extended period of time. For example, eating saturated fats in excess for many years can lead to heart attacks. Years of overeating can cause obesity and may contribute to type two diabetes, bladder disease, foot problems, certain cancers, and even personal disorders (Roth, 2007). When nutrients are extremely scarce in the diet for an extended period of time, deficiency diseases can occur. Osteomalacia is one of the most common deficiency diseases, which affects 70% of Americans. This deficiency disease is caused by a lack of calcium and vitamin D. Another common deficiency disease in the U.S. is iron deficiency, which is common among women and children. To avoid deficiency diseases, or improve an individual’s current state of health, everyone should consume the proper quantity of nutrients (Roth, 2007). There are many reasons that getting daily nutrients necessary for good health and organizing a proper diet is problematic. A variety of choices, inconsistent information about nutrition, and a lack of time are the some of the major causes. People simply do not know what they need to eat and how they need to prepare the ingredients they have on hand. There are many LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 6 foods that look appealing and that are fast to buy and easy to prepare, but many of the ingredients in these convenience foods will lead to health problems in the future. Unfortunately, people lack time to plan their meals, lack knowledge of healthy foods, and buy foods that will not benefit their individual health needs. Nutricipe is a meal planning tool conceived by the Old Dominion University (ODU) CS410 Blue Group. It is designed to facilitate healthier eating, provide education about healthy food choices, offer nutritional advice based on individual profile, preferences, values, suggest healthy and delicious recipes with nutritional facts, and generate shopping lists. Nutricipe helps people save time by allowing them to organize a daily routine of preparing wholesome meals and including variety of foods based on personal needs and goals in their diet. Nutricipe is aimed at individuals who are interested in improving their current health conditions and those who are interested in maintaining good health by eating the right meal, the right way, every time. 2 PRODUCT FEATURES (Adam) This section will describe the major components of the Nutricipe prototype. Below are technical overviews of each function component of the prototype. Following the descriptions is Figure 1, the prototype major functional component diagram, representing how all of the parts interact, and Figure 2, the Nutricipe prototype website sitemap. Nutricipe is for people that want to learn more about their diets and improve the way they eat in the process. Nutricipe accomplishes this by assisting customers in organizing proper diets and describing the customers’ needed daily nutrients based on their individual needs and preferences. It also provides a means for tracking progress toward user-defined goals. The prototype is comprised of a database, algorithms and graphical user interfaces. The USDA publishes information about nutritional content: it is stored in a database called the SR22. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 7 Nutricipe will access a nutrient database populated with this SR22, as well as a database of recipes from the USDA and the user profile database. Nutricipe will also access lists the user develops that contain a cache of on-hand ingredients. Nutricipe will contain algorithms for calorie needs, food variety, nutritional content, recipe selection, shopping list, food tracking, goal tracking and food combining. The Calorie Needs algorithm calculates required calorie and nutritional intake based on the user’s personal profile, like activity level and weight. The Food Variety algorithm recommends food items based on the user profile. The Nutritional Content calculator returns nutritional values based on the data provided in the USDA nutrient database. The Recipe Selection algorithm selects Nutricipe recipes based on the user profile, ingredients the user already has on hand and can even search by specific ingredient. The Shopping List generator creates a shopping list based on an already selected meal, time of year and location. The Food Tracking algorithm tracks and reports on how the user is meeting their goals over time. The Goal Tracking algorithm displays to the user how well the meal they are selecting is meeting their goals. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 8 Figure 1. Prototype major functional component diagram The Nutricipe prototype is an Internet-based solution. Users will be able to experience Nutricipe functionality through the Nutricipe website’s graphical user interfaces. Simplicity and clarity are forefront in development to maintain a website that is as easy-to-use as possible. After becoming satisfied with their profile settings, users may build their meals. There is an option to have Nutricipe consider ingredients that are on-hand; then the user creates a meal by selecting raw ingredients or individual recipes provided by Nutricipe. Once a meal is complete to the user’s satisfaction, it is added to the user’s profile and stored in the Nutricipe database. The user’s calculated percentage of progress toward their goals are displayed and they can generate a shopping list with the ingredients they do not have on-hand. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 9 The user’s daily calorie need is calculated based on USDA guidelines. This daily calorie need is calculated from the user’s age, weight and activity level. The calculated recommended calorie need is stored to the user profile in the Nutricipe database. The food variety report generates a list of foods that meet provided nutritional guidelines. It will also meet the daily calorie needs of the user. This is where foods that are nutrient-rich may be recommended to the user, based upon USDA guidelines. The recipe search generates a list of recipes based on a user’s nutritional goals or the list of ingredients in the user’s pantry. Recipes that contribute to the user’s nutritional goals are displayed with the percentage of the user’s daily goals the recipe meets. If no recipes are found, the user is prompted to modify their search. The results of the food variety report and the recipe search report are sent to the meal builder. Recipes, ingredients on hand and/or recommended foods are added to create a meal. The goal percentages are displayed so the user can track what they need to add or remove to make a complete meal. Individual recipes may be combined with other recipes, raw ingredients and prepared ingredients. The nutritional value and daily goal percentages are displayed for the selected individual recipes, raw and prepared ingredients, as well as the daily goal percent for the entire meal. Figure 2 shows the hierarchy of the Nutricipe website. Authentication is required to view most of the content. The About Nutricipe, Registration and Contact Us pages are available to users regardless of their authentication status. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 10 Figure 2. Nutricipe Site Map 3 GETTING STARTED 3.1 Required Software (Mark) 3.2 Navigating to the Nutricipe Website (Mark) 3.3 Login (Ben) 3.4 Create Account (Ben) 4 USER INTERFACE All pages for the website will use a common CSS file to maintain a standard look and feel throughout the site. Basic navigation will occur through a horizontal navigation bar near the top of the page, under the Nutricipe logo. On the right hand side of the screen, the login form is available, and actual content will fill the remaining area. Major content will include account maintenance, profile, recommendations, meal builder, and history each with further subsections. All content is rendered using a combination of HTML, PHP, and Javascript technologies and using a framework developed by team member Cole Davis. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 4.1 Account Maintenance (Ben) 4.2 Profile Set up and Maintenance (Ben) 4.3 Recommendations Page (Olga) 11 The recommendations page enables the Nutricipe user to view the Daily Caloric Intake Report, the Food Group Recommendations Report, and the Nutritional Goals Recommendations Report. The Daily Caloric Needs Report displays how many calories the Nutricipe customer needs to consume daily. Figure XX illustrates this report. The displayed calculations are made based on the customer’s age, gender, activity level from the user profile, and the USDA guidelines. The Food Group Recommendations Report includes information about how much grain, vegetable, fruit, milk, meat and bean, and oil the Nutricipe customer needs to consume based on his or her age, gender, and activity level from the user profile, according to the USDA guidelines. Figure XX illustrates this report. A list of recommended foods is based on the nutritional goals and dislikes that the Nutricipe user specifies in his or her profile. This list is displayed by the Nutritional Goals Recommendations Report. Figure XX illustrates this report. To generate these reports, do the following steps: Step 1: Click on the recommendations tab. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Recommendation Tab Display Step 2: View the Daily Caloric Intake Report. Figure X. Daily Caloric Intake Display Step 3: View the Food Group Recommendations Report. 12 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 13 Figure X. Food Group Recommendation Display Step 4: If no nutritional goals were selected while populating the user profile, the appropriate message is displayed. Figure X. Nutritional Goals Recommendations Display with No Goals Selected Step 5: If nutritional goals were selected during the profile population, view the Nutritional Goals Recommendations Report. Figure X. Nutritional Goals Recommendations Display Step 6: Change the user profile (see section XX) and start from Step 1 to generate the appropriate recommendation reports if the personal information that these reports depend on has been changed. The personal information may include: LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 4.4 o Age o Gender o Activity level o Nutritional goals o Dislikes 14 Meal Builder Page The meal builder page offers various features to the Nutricipe user. It enables the user to perform various recipe searches and allows searching for single ingredients. The user can select a recipe and view its ingredients, cooking instructions, nutritional information, and percentages of daily nutritional goals. The user can also select a single ingredient and view its nutritional information and percentages of daily nutritional goals. The selected recipes and single ingredients can be added to the meal. Once the user is satisfied with the built meal, he or she can view nutritional information and percentages of daily nutritional goals for the entire meal. The user can also select a date in the provided calendar to specify when he or she wants to consume the meal and save that meal to the meal history. If the user does not like the meal, he or she can add or remove any meal ingredients. The user can also save the current meal for multiple days. When the customized meal is saved to the meal history, the user can view it again and can also generate the shopping list. 4.4.1 Meal Builder Page Navigation (John) To navigate to the meal builder page, do the following step: Step 1: Click on the meal builder tab. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 15 Figure X. Meal Builder Tab Display Step 2: View Your Meal. Notice the Your Meal section displays a message stating it is empty. This is where recipes and ingredients will be displayed as you make a meal. Figure X. Empty Meal Display 4.4.2 Ingredients Search (John) To search for ingredients, do the following steps: Step 1: View the Ingredient Search section. The ingredient search prompt will be displayed. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 16 Figure X. Ingredient Search Prompt Step 2: To perform a search enter the name of a raw ingredient in the textbox and click submit. The results will be displayed below the meal builder. Figure X. Ingredient Search with Typed Ingredient Step 3: Each ingredient returned will have an image, name, link to add ingredient to Your Meal, and link to the nutritional card of the ingredient. Figure X. Ingredient Display Step 4: If no results are found, a message will be displayed instead. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 17 4.4.3 Recipe Search (Adam) To search for recipes, do the following steps: Step 1: View the Recipe Search section, a text box for entering an ingredient to search recipes for, a checkbox to enable searching by nutritional goals and a checkbox for searching by ingredients in the user’s pantry. The checkbox for searching by nutritional goals is checked by default. Figure X. Recipe Search Prompt Step 2: To search recipes, the user types the name of an ingredient into the ingredient text box and clicks the search link. For now, uncheck the search by nutritional goals checkbox before clicking search. Figure X. Initiating Recipe Prompt without Nutritional Goals Step 3: Recipes that contain the ingredient that was entered in the text box are displayed to the screen with the recipe name, preparation directions and a link to add the recipe the meal. Return to the Recipe Search Screen. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 18 Figure X. Unfiltered Search Results for Ingredient Turkey Step 3: Notice that the search by nutritional goals checkbox is checked again. Leave it enabled and search by the same ingredient. Figure X. Initiating Recipe Search with Nutritional Goals Step 4: Recipes that contain the ingredient that was entered in the text box are displayed to the screen with the recipe name, preparation directions and a link to add the recipe the meal. Notice that the order of recipes being returned is LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 19 different from the ingredient-based search that was done without considering nutritional goals. A percentage is displayed in the upper-right corner of each recipe for how well the user’s nutritional goals are met by this recipe; first the average intake percentage, then the individual nutrient intake percentages. The recipes are listed in descending order based on the average intake percentage value. If a recipe does not contribute to at least one of the user’s nutritional goals it will not be displayed. Return to the Recipe Search Screen. Figure X. Filtered Search Results for Ingredient Turkey Step 5: If the user has built a pantry-list, they may search by the contents of their pantry instead of a specific ingredient. Uncheck the search by nutritional goals checkbox and check the search by ingredients in my pantry checkbox. Clear the ingredient search textbox and click search. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 20 Figure X. Initiating Recipe Search by Pantry without Nutritional Goals Step 6: Recipes that contain at least one ingredient found in the user’s pantry are displayed to the screen with the recipe name, preparation directions and a link to add the recipe the meal. Return to the Recipe Search Screen. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 21 Figure X. Unfiltered Search Results for Ingredients Found in Pantry Step 7: If the user has built a pantry-list, they may search by the contents of their pantry instead of a specific ingredient. Leave the search by nutritional goals checkbox checked and check the search by ingredients in my pantry checkbox. Clear the ingredient search textbox and click search. Figure X. Initiating Recipe Search by Pantry with Nutritional Goals Step 8: Recipes that contain at least one ingredient found in the user’s pantry are displayed to the screen with the recipe name, preparation directions and a link to add the recipe to the meal. Notice that the order of recipes being returned is different from the pantry-based search that was done without considering nutritional goals. A percentage is displayed in the upper-right corner of each recipe for how well the user’s nutritional goals are met by this recipe; first the average intake percentage, then the individual nutrient intake percentages. The recipes are listed in descending order based on the average intake percentage value. If a recipe does not contribute to at least one of the user’s nutritional goals it will not be displayed. Return to the Recipe Search Screen. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Filtered Search Results for Ingredients Found in Pantry 4.4.4 Adding Recipes to Meal (John) To add recipes to the meal and remove them from the meal, do the following steps: Step 1: Perform a recipe search, and add one to your meal. Step 2: View the content of “Your Meal”. The recipe selected, an option to remove the recipe, and a link to complete your meal will be displayed. 22 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 23 Figure X. Your Meal with Recipe Display Step 3: Click on the recipe name or image. You will be directed to the nutritional card for that recipe. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 24 Figure X. Recipe Nutritional Card Display Step 4: View the nutritional card for the recipe selected. It will contain the recipe name, image, ingredients, cooking instructions, nutritional facts table, goal percentages table, and a link to add this recipe to your meal. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Recipe Nutritional Card Overview Step 5: The recipe name, image, and link to add the recipe to Your Meal is displayed at the top of the page. Step 6: Ingredients will list all the ingredients in that meal. 25 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Recipe Nutritional Card: Ingredients Display Step 7: Directions will list the cooking instructions to cook the recipe. Figure X. Recipe Nutritional Card: Directions Display Step 8: Under the Nutritional Facts section, the nutritional facts table for the recipe will be displayed. 26 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Recipe Nutritional Card: Nutritional Facts Display Step 9: Under the Goals section, the nutritional percentage of daily goals table will be displayed. Figure X. Recipe Nutritional Card: Goals Display Step 10: Click on “add this recipe to meal” to add recipe to the meal. 27 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 28 Step 11: View Your Meal. An error message stating this recipe is already in Your Meal is displayed because users cannot have two recipes that are the same in their meal. Figure X. Duplicated Entry in Your Meal Display Step 12: Click on “remove this recipe”, and view Your Meal. The recipe is removed and a message is displayed stating that Your Meal is currently empty (see Figure X). 4.4.5 Adding Ingredients to Meal (John) To add ingredients to the meal and remove them from the meal, do the following steps: Step 1: Perform an ingredient search, and add one to Your Meal. Step 2: View Your Meal. The ingredient selected, an option to remove the ingredient, and a link to complete your meal will be displayed. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Your Meal with Ingredient Display Step 3: Click on the ingredient name or image. You will be directed to the nutritional card for that ingredient. 29 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 30 Figure X. Ingredient Nutritional Card Display Step 4: View the nutritional card for the ingredient. It will contain the ingredient image, ingredient name, nutritional facts table, goal percentages table, and a link to add the ingredient to Your Meal. Step 5: The ingredient image, name, and link to add ingredient will be displayed at the top of the nutritional card. Step 6: Under the Nutritional Facts, the nutritional facts table for this ingredient will be displayed for this ingredient. Step 7: Under the Goals, the percentage of daily goals table for this ingredient will be displayed for this recipe. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 31 Step 8: View Your Meal. An error message stating this ingredient is already in Your Meal is displayed because only users cannot have more than one of the same ingredients. Step 9: Click on the “remove this ingredient” link. View Your Meal. A message displaying that Your Meal is empty will be displayed. 4.4.5 Complete Meal (John and Olga) To complete your meal, do the following steps: Step 1: Perform a recipe search, and add one to your meal. Step 2: Perform an ingredient search, and add one to Your Meal. Step 3: Click on the “Complete Meal” link. You will be directed to the Meal Card Display. Figure X. Complete Your Meal Display Step 4: View the Meal Card Display. You will have Meal Options, Selected Meal, Nutritional Facts, and Nutritional Goals options. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 32 Figure X. Meal Card Display Step 5: Under Meal Options you can view your current meal options. Right now you will only be able to add this meal to your history. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 33 Figure X. Meal Card: Add Meal to History Display Step 6: Under Selected Meal your current select meal will be displayed. All recipes and ingredients will be displayed with an image, link to remove the meal, and link to its nutritional card. Figure X. Meal Card: Selected Meal Display LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 34 Step 7: Under Nutritional Facts, the nutritional facts table will display the total nutritional facts for the meal. Figure X. Meal Card: Nutritional Facts Display Step 8: Under Nutritional Goals, the percentage of nutritional goals table for the whole meal will be displayed. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Meal Card: Goals Display Step 9: To save meals go to Meal Options. Click in the text box, and a calendar will popup. Click on the day you are going to eat the meal. Then click submit. Figure X. Meal Card: Calendar Display 35 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 36 Step 10: View the meal card. Meal Options, Selected Meal, Nutritional Information, and Goals sections are all there. Selected Meal, Nutritional Information, and Goals are the same as before. Step 11: Under Meal Options a message will display that you have successfully added the meal, and there will be four new options there: add this meal for another day, create a new meal, add this meal for another day, or generate a shopping list. Figure X. Meal Options Display Step 12: Click on make a new meal. This will direct you to Meal Builder. Step 13: Click on Add this meal for another day. This will direct you to the display in from step 4. Step 14: Click on edit the meal to add for another day. This will direct you to the Meal Builder with the current selected meal. Step 15: Click on the Generate Shopping List link to generate a Shopping List for the selected meal. Your Shopping List will be displayed above Meal Options. Step 16: If no additional ingredients besides pantry ingredients are needed for the selected meal, the appropriate message will be displayed. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Empty Shopping List Display Step 17: If additional ingredients besides pantry ingredients are needed for the selected meal, view the Shopping List content. Figure X. Shopping List Display 37 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 4.5 38 Tracking Page The history page enables the Nutricipe user to view the Food Tracking Report and Goal Tracking Report. The user must select a specific timeframe to generate these reports. When the timeframe is selected, the Food Tracking Report will output all the meals that have been consumed in the specified timeframe. When the user clicks on the meal name, it will take him or her to a page that displays the selected meal in more detail. The Goal Tracking Report will display how the user has been meeting his or her nutritional goals based on the meals that he or she has been consumed in the specified timeframe. 4.5.1 Tracking Page Navigation To generate these reports, do the following steps: Step 1: Click on the tracking tab. Figure X. Tracking Tab Display Step 2: Select the specified timeframe: 1 week back, 2 weeks back, 1 month, next week, next 2 weeks, or next month. Step 3: Click on the select button to generate the reports. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 39 Step 4: To generate new reports with a different timeframe, return to step 2. 4.5.2 Goal Tracking Report (Olga) To use the Goal Tracking Report, do the following steps: Step 1: To list percentages of nutritional goals in a specific timeframe, select a time frame (1 week back, 2 weeks back, 1 month back, next week, next 2 weeks, or next month) under the Goals Tracking heading. Figure X. Goals Tracking Timeframe Options Display Step 2: If no nutritional goals were selected while populating the user profile, the appropriate message is displayed. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 40 Figure X. Goals Tracking Timeframe Selection Display Step 3: If no meals were previously saved, the appropriate message is displayed. Figure X. Goals Tracking: No Meals Selected Display Step 4: If nutritional goals were selected during the profile population and meals were previously stored, view the Goal Tracking Report. Figure X. Goals Tracking Report 4.4.1 Food Tracking Report (Erik) To use the Food Tracking Report, do the following steps: LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 41 Step 1: To list a history of accepted meals, select a time frame (1 week back, 2 weeks back, 1 month back, next week, next 2 weeks, or next month) under the Food Tracking heading. Step 2: If the user has no history of accepted foods, appropriate message will be displayed. Figure X. Food Tracking: No Meals Selected Display Step 3: If the user has a history of accepted meals, a list of meals will be displayed. Figure X. Food Tracking Display LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 42 Step 4: If the user wants to see the detailed meal information or try the meal again using some, all, or more components, click the links (shown as the list of components) (see section 4.4 for more instructions on how to proceed next). 5 ADMINISTRATOR INTERFACE After logging in, Administrators will be able to perform operations on Nutricipe users from the Administrator Interface menu. Administrators will be able create or edit any Nutricipe user. Administrators will have the option to deactivate, or reactivate a user. Administrators will also be able to view the User Satisfaction Survey Report of any user, or view the statistics of all the User Satisfaction Survey Reports combined. Create Account Option (Or’Sasha) 5.1 Administrators will have an option to create new Nutricipe accounts. Administrators will create new Nutricipe Accounts if registering a new Admin account or registering users that are unable to do so themselves. To create an account, Administrators must do the following: Step 1: Locate “Create User” link located in the upper left-hand corner. Figure X. Administrative menu: Create User Step 2: Click “Create Users” link to be redirected to the “Profile Creation” page. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Step 3: Fill in the necessary fields. Step 4: Click “submit form”. 43 Figure X. Administrative option: Create User Display Edit User Option (Or’Sasha) 5.2 Administrators will have an option to edit the profile of Nutricipe users. Administrators will edit users’ profile for those who are unable to do so themselves. To edit a user, the following steps must be done: Step 1: Locate “Edit Users” link located in the upper left-hand corner. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL Figure X. Administrative menu: Edit User Step 2: Click “Edit Users” link to open. Step 3: Select the user to be edited from the drop down menu. Step 4: Click “Submit” to be redirected to the “Profile” page. Figure X. Administrative menu: Edit User Selection Display Step 5: Edit the necessary fields. Step 6: Click “submit form” to submit changes. 44 LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 45 Figure X. Administrative option: Edit User Display 5.3 Deactivate Account Option (Or’Sasha) Administrators will have an option to deactivate Nutricipe accounts. Only accounts that are currently activated will be eligible to become deactivated. For this reason, only a list of activated users will be displayed. To deactivate a user, Administrators must follow the following steps: Step 1: Locate “Deactivate User” link located in the upper left-hand corner. Step 2: Click “Deactivate User” link to open. Step 3: Select which user to deactivate (if any) from the drop down menu. Step 4: Click “Submit”. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 46 Figure X. Administrative menu: Deactivate User Selection Display Activate Account Option (Or’Sasha) 5.4 Administrators will have an option to reactivate Nutricipe accounts. Only accounts that are currently deactivated will be eligible to become activated. For this reason, only a list of deactivated users will be displayed. To activate a user, Administrators must follow the following steps: Step 1: Locate “Activate User” link located on the upper left- hand corner. Step 2: Click “Activate User” link. Step 3: Select which user to activate (if any) from the drop down menu. Step 4: Click “Submit”. Figure X. Administrative menu: Activate User Selection Display LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 5.5 View Satisfaction Survey Report Option (Mark) 5.6 User Satisfaction Survey Report Display (Mark) 6 ERROR MESSAGES (Cole) 7 GLOSSARYOF TERMS 47 Admin User: Persons controlling Nutricipe. Algorithm: A set of commands to serve a particular purpose. Application Programming Interface (API): An interface implemented by a software program that enables it to interact with other software. Array: A collection of data items that can be selected by indices. Cascading Style Sheets (CSS): A style sheet language used to describe the look and formatting of a document written in a markup language. Database (DB): A collection of information that is organized so that it can easily be accessed, managed, and updated. Graphical user interface (GUI): A type of user interface that allows users to interact with programs in different ways. Health club moderator: A health club representative who has a special Nutricipe account used for the health club administration purposes. Hypertext Markup Language (HTML): A language used to create web pages. Hypertext Processor (PHP): A server-side programming language designed for building dynamic Web pages. Ingredients: Any individual raw or prepared food items included in the USDA nutrient database. Interface: A point of interaction between components, hardware and/or software. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 48 JavaScript: An object-oriented scripting language developed to offer dynamic control over the various elements within an HTML document. Meal: A combination of recipes and ingredients. MFCD: Major functional component diagram. MySQL: An open source multi-user database management system. Nutricipe customer: A user who has gained access to Nutricipe through purchasing it directly, obtaining the health club’s memberships, or being members of the health clinics and who is operating Nutricipe. Nutricipe database: A database that serves the purpose of the Nutricipe solution and combines the USDA National Nutrient Database, the recipe database, and the user profile database. Nutricipe user: The same as Nutricipe customer. Personal computer (PC): Any general-purpose computer. Query: A request for information from a database. Recipe: A set of the following components: the name, how much time it will take to prepare the dish, the required ingredients along with their quantities, preparation instructions, the number of servings that the recipe will provide and nutrition facts. Recipe database: A part of the Nutricipe database that stores the content of recipes from the USDA recipe database and third party databases. RWP: Real world product. Schema: Defines the tables, the fields in each table, and the relationships between fields and tables in the database. Server: A computer program that provides services to other computer programs and their users. Shopping list: A list of ingredients generated for shopping purposes. LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL 49 Transmission Control Protocol/Internet Protocol (TCP/IP): A set of general design guidelines and implementations of specific networking protocols to enable computers to communicate over a network. Uniform Resource Locator (URL): An identifier that specifies where an identified resource is available and the mechanism for retrieving it. User Interface (UI): A system which people use to interact with computers. USDA: United States Department of Agriculture. USDA National Nutrient Database: A database of the nutritional content of food items produced by the United States Department of Agriculture. User profile database: A part of the Nutricipe database that stores the user personal information. Web Server: A computer program that delivers web pages using HTTP over the World Wide Web. 8 REFERENCES American Journal of Clinical Nutrition. (n.d.). How do healthy people stay healthy. Retrieved from http://www.diseaseeducation.com/wellness/How_Healthy_People_Stay_Healthy.php Roth, R. (2007). Nutrition & diet therapy. Clifton Park, NY: Thomson/Delmar Learning Sansolo, M. (2004). The next big thing? Retrieved from http://www.factsfiguresfuture.com/archive/october_2004.htm USDA Center for Nutrition Policy and Promotion. (2005). Healthy eating index. Retrieved from http://www.cnpp.usda.gov/HealthyEatingIndex.htm LAB 4 – NUTRICIPE PROTOTYPE USER MANUAL World Cancer Research Fund. (2009). Millions unaware that unhealthy diet increases cancer risk. Retrieved from http://www.nursingtimes.net/whats-new-in-nursing/millionsunaware-that-unhealthy-diet-increases-cancer-risk/1991181.article 50