STANDARD DATA DICTIONARY #116.1 -- MEAL FILE                                                                      3/24/25    PAGE 1
STORED IN ^FH(116.1,  *** 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 the various meals served by the institution. A meal consists of all recipes prepared for a breakfast, noon, or 
evening meal as well as the production diets associated with each recipe. In turn, the production diet entry may indicate the 
percentage of that recipe that is to be served in a cafeteria or by tray.  


FILE SCREEN (SCR-node) : I '$D(^FH(116.1,+Y,"I"))!$D(^XUSEC("FHMGR",DUZ))!(DUZ(0)["@")
              DD ACCESS: #
              RD ACCESS: #F
              WR ACCESS: #f
             DEL ACCESS: #f
           LAYGO ACCESS: #f
IDENTIFIED BY: 
      "WRITE": I $D(^("I")) D EN^DDIOL("(** Inactive **)","","?3")

POINTED TO BY: MEAL field (#2) of the MEAL NUMBER sub-field (#112.62) of the DAY NUMBER sub-field (#112.61) of the USER MENU File 
                   (#112.6) 
               BREAKFAST MEAL field (#1) of the DAY sub-field (#116.01) of the MENU CYCLE File (#116) 
               NOON MEAL field (#2) of the DAY sub-field (#116.01) of the MENU CYCLE File (#116) 
               EVENING MEAL field (#3) of the DAY sub-field (#116.01) of the MENU CYCLE File (#116) 
               BREAKFAST MEAL field (#2) of the HOLIDAY MEALS File (#116.3) 
               NOON MEAL field (#3) of the HOLIDAY MEALS File (#116.3) 
               EVENING MEAL field (#4) of the HOLIDAY MEALS File (#116.3) 
               

CROSS
REFERENCED BY: INACTIVE?(AC), NAME(B)



116.1,.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:      FEB 24, 1993 
              HELP-PROMPT:      NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION 
              DESCRIPTION:      This is the name of a meal which is a collection of all recipes which will be served at a given
                                breakfast, noon or evening meal.  

              DELETE TEST:      1,0)= I 1 D EN^DDIOL("Cannot delete. Inactivate instead.","","?3")

              CROSS-REFERENCE:  116.1^B 
                                1)= S ^FH(116.1,"B",$E(X,1,30),DA)=""
                                2)= K ^FH(116.1,"B",$E(X,1,30),DA)
                                This is the normal B cross-reference of the NAME field.  



116.1,1       RECIPE                 RE;0 POINTER Multiple #116.11

              DESCRIPTION:
                                This multiple contains the various recipes which will be served for the meal.  


116.11,.01      RECIPE                 0;1 POINTER TO RECIPE FILE (#114) (Multiply asked)

                LAST EDITED:      SEP 19, 1988 
                DESCRIPTION:
                                  This is the recipe (File 114) which will be served.  

                CROSS-REFERENCE:  116.11^B 
                                  1)= S ^FH(116.1,DA(1),"RE","B",$E(X,1,30),DA)=""
                                  2)= K ^FH(116.1,DA(1),"RE","B",$E(X,1,30),DA)
                                  This is the normal B cross-reference of the RECIPE field.  



116.11,1        PRODUCTION DIETS       0;2 FREE TEXT (Required)

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<2) X I $D(X) D EN2^FHPRC1
                LAST EDITED:      DEC 17, 1985 
                DESCRIPTION:      This is a list of the production diets which will receive the recipe. It is a syntactically
                                  complex field containing the production diet code and any specialized tray and cafeteria %'s 
                                  associated with that production diet.  

                EXECUTABLE HELP:  D EN3^FHPRC1
                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


116.11,2        POPULARITY             D;0 POINTER Multiple #116.112

                DESCRIPTION:      This mutiple contains popularity (or selection percentages) for tray and cafeteria for each
                                  Service Point.  


116.112,.01       SERVICE POINT          0;1 POINTER TO SERVICE POINT FILE (#119.72) (Multiply asked)

                  INPUT TRANSFORM:  I $D(X) S DINUM=X
                  LAST EDITED:      DEC 04, 1991 
                  DESCRIPTION:
                                    This is the Service Point for which popularity values are applicable.  

                  NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                  CROSS-REFERENCE:  116.112^B 
                                    1)= S ^FH(116.1,DA(2),"RE",DA(1),"D","B",$E(X,1,30),DA)=""
                                    2)= K ^FH(116.1,DA(2),"RE",DA(1),"D","B",$E(X,1,30),DA)
                                    This is the normal B cross-reference of the SERVICE POINT field.  



116.112,1         POPULARITY %           0;2 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>200)!(X<0)!(X?.E1"."2N.N) X
                  LAST EDITED:      DEC 03, 1991 
                  HELP-PROMPT:      Type a Number between 0 and 200, 1 Decimal Digit 
                  DESCRIPTION:      This is the percentage of orders for this Service Point which will select, or have selected,
                                    this recipe.  




116.11,3        CATEGORY                 0;3 POINTER TO RECIPE CATEGORY FILE (#114.1) (Required)

                  LAST EDITED:      JAN 20, 1994 
                  DESCRIPTION:
                                    This is the Recipe Category (File 114.1) for this recipe in this meal.  


116.11,10       RECIPE CATEGORY          R;0 POINTER Multiple #116.12 (Add New Entry without Asking)

                  DESCRIPTION:      This is a list of different recipe categories which may characterize this recipe.  The multiple
                                    also contains the production diets to which this category applies.  


116.12,.01        RECIPE CATEGORY          0;1 POINTER TO RECIPE CATEGORY FILE (#114.1) (Required) (Multiply asked)

                    LAST EDITED:      MAR 29, 1995 
                    DESCRIPTION:
                                      This is the Recipe Category (File 114.1) for the associated Production Diets in this meal.  

                    CROSS-REFERENCE:  116.12^B 
                                      1)= S ^FH(116.1,DA(2),"RE",DA(1),"R","B",$E(X,1,30),DA)=""
                                      2)= K ^FH(116.1,DA(2),"RE",DA(1),"R","B",$E(X,1,30),DA)


116.12,1          PRODUCTION DIETS         0;2 FREE TEXT (Required)

                    INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X I $D(X) D EN2^FHPRC1
                    LAST EDITED:      MAR 30, 1995 
                    DESCRIPTION:      This is a list of the production diets which will receive the recipe. It is a syntactically
                                      complex field containing the production diet code and any specialized tray and cafeteria %'s 
                                      associated with that production diet.  

                    EXECUTABLE HELP:  D EN3^FHPRC1
                    NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER






116.1,99      INACTIVE?              I;1 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      FEB 23, 2000 
              DESCRIPTION:
                                This field, if answered YES, will prohibit further selection of this entry.  

              CROSS-REFERENCE:  116.1^AC^MUMPS 
                                1)= K:X'="Y" ^FH(116.1,DA,"I")
                                2)= K ^FH(116.1,DA,"I")
                                This cross-reference is used to create an 'I' node for inactive entries.  




      FILES POINTED TO                      FIELDS

RECIPE (#114)                     RECIPE:RECIPE (#.01)

RECIPE CATEGORY (#114.1)          RECIPE:CATEGORY (#3)
                                  RECIPE CATEGORY:RECIPE CATEGORY (#.01)

SERVICE POINT (#119.72)           POPULARITY:SERVICE POINT (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):