STANDARD DATA DICTIONARY #112.6 -- USER MENU FILE 3/24/25 PAGE 1 STORED IN ^FHUM( *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.5) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- This file contains menus of food items, classified by day and meal, which are saved for nutrient analysis. DD ACCESS: # RD ACCESS: #F WR ACCESS: #F DEL ACCESS: #F LAYGO ACCESS: #F IDENTIFIED BY: "WRIT": D:$D(^("0")) EN^DDIOL($E($P(^("0"),U,3),4,5)_"-"_$E($P(^("0"),U,3),6,7)_"-"_$E($P(^("0"),U,3),2,3),"","?3") CROSS REFERENCED BY: NAME(B) 112.6,.01 NAME 0;1 FREE TEXT (Required) INPUT TRANSFORM: K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X LAST EDITED: MAY 17, 1985 HELP-PROMPT: NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION DESCRIPTION: This field contains the name of a user menu. This is a list of food items, and amounts, that a user wishes to have analyzed for nutrient content. CROSS-REFERENCE: 112.6^B 1)= S ^FHUM("B",$E(X,1,30),DA)="" 2)= K ^FHUM("B",$E(X,1,30),DA) This is the normal B cross-reference of the NAME field. 112.6,.6 UNITS 0;2 SET (Required) 'C' FOR COMMON; 'G' FOR GRAMS; LAST EDITED: NOV 02, 1984 DESCRIPTION: This field indicates whether common units are used in specifying quantities or whether grams are used throughout. 112.6,.7 DATE ENTERED 0;3 DATE INPUT TRANSFORM: S %DT="EX" D ^%DT S X=Y K:Y<1 X LAST EDITED: NOV 02, 1984 DESCRIPTION: This field indicates the date on which this user menu was first created. 112.6,.8 USER 0;4 POINTER TO NEW PERSON FILE (#200) LAST EDITED: NOV 02, 1984 DESCRIPTION: This field indicates the person who first created the user menu. 112.6,1 DAY NUMBER 1;0 Multiple #112.61 DESCRIPTION: This field contains the sequence number, or day number, of the days represented by this menu. It is normally 1 to the maximum number of used entered. 112.61,.01 DAY NUMBER 0;1 NUMBER (Required) (Multiply asked) INPUT TRANSFORM: K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N) X I $D(X) S DINUM=X LAST EDITED: NOV 17, 1993 HELP-PROMPT: TYPE A WHOLE NUMBER BETWEEN 1 AND 7 DESCRIPTION: This is the day number for which meals will be entered. NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 112.61,1 MEAL NUMBER 1;0 Multiple #112.62 DESCRIPTION: This is the meal number for which food items will be entered. It is merely a sequence number and individual meals, such as breakfast, noon, and evening are not referenced as such since meals may be snack times, or other eating times. 112.62,.01 MEAL NUMBER 0;1 NUMBER (Required) (Multiply asked) INPUT TRANSFORM: K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N) X I $D(X) S DINUM=X LAST EDITED: NOV 16, 1993 HELP-PROMPT: TYPE A WHOLE NUMBER BETWEEN 1 AND 6 DESCRIPTION: This is the meal number for which food items will be entered. NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 112.62,1 FOOD ITEM 1;0 POINTER Multiple #112.63 DESCRIPTION: This multiple represents the food items, selected from the Food Nutrient file, which are represented in the meal. 112.63,.01 FOOD ITEM 0;1 POINTER TO FOOD NUTRIENTS FILE (#112) (Multiply asked) INPUT TRANSFORM: S:$D(X) DINUM=X LAST EDITED: NOV 14, 1984 DESCRIPTION: This is the food item selected from the Food Nutrient file. NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 112.63,1 AMOUNT 0;2 NUMBER INPUT TRANSFORM: K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X LAST EDITED: NOV 27, 1985 HELP-PROMPT: TYPE A NUMBER BETWEEN 0 AND 99999 DESCRIPTION: This is the amount of the food item. If grams were selected as the units type, then the amount is in grams. If common units were selected, the amount is in terms of those common units. 112.62,2 MEAL 0;2 POINTER TO MEAL FILE (#116.1) LAST EDITED: NOV 17, 1993 DESCRIPTION: This field represents the meal file. 112.62,3 PRODUCTION DIET 0;3 POINTER TO PRODUCTION DIET FILE (#116.2) LAST EDITED: NOV 24, 1993 DESCRIPTION: This is a pointer to the Production Diet file (116.2) to indicate the Production Diet which associates with the menu. 112.62,4 RECIPE 2;0 POINTER Multiple #112.64 DESCRIPTION: This multiple stores the selected recipes from the Recipe file used for the Meal Analysis. 112.64,.01 RECIPE 0;1 POINTER TO RECIPE FILE (#114) (Multiply asked) INPUT TRANSFORM: S:$D(X) DINUM=X LAST EDITED: NOV 23, 1993 DESCRIPTION: This is the recipe selected from the Recipe file. NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 112.64,1 SERVING PORTION 0;2 NUMBER INPUT TRANSFORM: K:+X'=X!(X>9999)!(X<1)!(X?.E1"."2N.N) X LAST EDITED: NOV 17, 1993 HELP-PROMPT: Type a Number between 1 and 9999, 1 Decimal Digit DESCRIPTION: This is the serving portion of the recipe. 112.6,2 RECIPE MENU? 0;5 SET '1' FOR YES; '0' FOR NO; LAST EDITED: NOV 16, 1993 DESCRIPTION: This field, if answered yes, means this user menu is a recipe menu else, if answered no, means it is not. FILES POINTED TO FIELDS FOOD NUTRIENTS (#112) FOOD ITEM:FOOD ITEM (#.01) MEAL (#116.1) MEAL NUMBER:MEAL (#2) NEW PERSON (#200) USER (#.8) PRODUCTION DIET (#116.2) MEAL NUMBER:PRODUCTION DIET (#3) RECIPE (#114) RECIPE:RECIPE (#.01) INPUT TEMPLATE(S): PRINT TEMPLATE(S): FHUMENU MAR 13, 1995@15:55 USER #0 USER MENU LIST This template will list all users who have created User Menus along with the menu names they created, date of creation, and type of units selected. SORT TEMPLATE(S): FORM(S)/BLOCK(S):