STANDARD DATA DICTIONARY #114 -- RECIPE FILE                                                                      6/27/25    PAGE 1
STORED IN ^FH(114,  (501 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                       (VERSION 5.5)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains all recipes necessary to build meals. Each recipe consists of basic data concerning the recipe, various 
ingredients, and may also contain 'embedded' recipes.  


FILE SCREEN (SCR-node) : I '$D(^FH(114,+Y,"Z"))!$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(^("Z")) D EN^DDIOL("(** Inactive **)","","?3")

POINTED TO BY: RECIPE field (#.01) of the RECIPE sub-field (#112.64) of the MEAL NUMBER sub-field (#112.62) of the DAY NUMBER 
                   sub-field (#112.61) of the USER MENU File (#112.6) 
               EMBEDDED RECIPE field (#.01) of the EMBEDDED RECIPE sub-field (#114.03) of the RECIPE File (#114) 
               RECIPE field (#3) of the FOOD PREFERENCES File (#115.2) 
               EXCLUDED RECIPES field (#.01) of the EXCLUDED RECIPES sub-field (#115.21) of the FOOD PREFERENCES File (#115.2) 
               RECIPE field (#.01) of the RECIPE sub-field (#116.11) of the MEAL File (#116.1) 
               CORRESPONDING RECIPE field (#11) of the SUPPLEMENTAL FEEDINGS File (#118) 
               CORRESPONDING RECIPE field (#11) of the TUBEFEEDING File (#118.2) 
               

CROSS
REFERENCED BY: EMBEDDED RECIPE(AB), INACTIVE?(AC), NAME(B), SYNONYM(C)



114,.01       NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
              LAST EDITED:      JAN 02, 1986 
              HELP-PROMPT:      ANSWER MUST BE 3-30 CHARACTERS IN LENGTH 
              DESCRIPTION:      This is the name of the recipe. A recipe is anything served and may consist of a single ingredient
                                which requires no preparation.  

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

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



114,1         INGREDIENT             I;0 POINTER Multiple #114.01 (Add New Entry without Asking)

              DESCRIPTION:
                                This multiple contains the ingredients used in the recipe.  


114.01,.01      INGREDIENT             0;1 POINTER TO INGREDIENT FILE (#113) (Multiply asked)

                INPUT TRANSFORM:  K:$D(^FHING(X,"I")) X Q
                LAST EDITED:      SEP 26, 2001 
                DESCRIPTION:
                                  This field contains the name of an ingredient used in the recipe.  

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


114.01,1        QUANTITY               0;2 NUMBER (Required)

                INPUT TRANSFORM:  S I9=+^FH(114,D0,"I",D1,0),UNT=$P(^FHING(I9,0),U,16) D EN1^FHREC1 I $D(X) K:X<.00001!(X>5000) X
                OUTPUT TRANSFORM: S I9=+^FH(114,D0,"I",D1,0),UNT=$P(^FHING(I9,0),U,16) D:Y'="" EN2^FHREC1
                LAST EDITED:      AUG 12, 1986 
                HELP-PROMPT:      Enter Quantity in proper units 
                DESCRIPTION:      This field contains the quantity of the ingredient required. The units are the 'Recipe Unit' as
                                  contained in the Ingredient file for this ingredient.  

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


114.01,2        ASSOCIATED NUTRIENT    0;3 POINTER TO FOOD NUTRIENTS FILE (#112)

                LAST EDITED:      NOV 11, 1992 
                DESCRIPTION:      This field is a pointer to the Nutrient file (112) and indicates the nutrient most closely
                                  associated with this ingredient after preparation.  


114.01,3        NUTRIENT AMOUNT IN LBS. 0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."6N.N) X
                LAST EDITED:      NOV 11, 1992 
                HELP-PROMPT:      Type a Number between 0 and 9999, 5 Decimal Digits 
                DESCRIPTION:      This value is the amount of the ingredient, in pounds, for Nutrient Analysis purposes after
                                  taking into account removal of non-edible amounts of the ingredient and any expansion or 
                                  shrinkage due to preparation.  




114,1.5       EMBEDDED RECIPE        R;0 POINTER Multiple #114.03 (Add New Entry without Asking)

              DESCRIPTION:      This field contains recipes which are 'embedded' in this recipe.  For example, a hot roast beef
                                sandwich might contain bread as an ingredient but roast beef as an embedded recipe and perhaps even
                                brown gravy as another embedded recipe.  


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

                INPUT TRANSFORM:  S DIC("S")="I +Y'=D0" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
                LAST EDITED:      AUG 16, 2007 
                DESCRIPTION:      This field contains the name of a recipe which is to be embedded in the present one. The embedded
                                  recipe cannot be the same as the present recipe.  

                SCREEN:           S DIC("S")="I +Y'=D0"
                EXPLANATION:      Don't allow selection of current recipe
                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:  114^AB 
                                  1)= S ^FH(114,"AB",$E(X,1,30),DA(1),DA)=""
                                  2)= K ^FH(114,"AB",$E(X,1,30),DA(1),DA)
                                  Cross-reference the file by embedded recipes so that embedded recipes can be excluded from
                                  patient trays that may have an allergy or food preference to a recipe.  



114.03,1        NO. OF PORTIONS        0;2 NUMBER (Required)

                INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."3N.N) X
                LAST EDITED:      DEC 22, 1985 
                HELP-PROMPT:      TYPE A NUMBER BETWEEN 0 AND 9999 
                DESCRIPTION:
                                  This is the number of portions of the embedded recipe required in the present recipe.  




114,2         NUMBER OF PORTIONS     0;2 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>1000)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 17, 1988 
              HELP-PROMPT:      Type a Number between 1 and 1000, 0 Decimal Digits 
              DESCRIPTION:      This is the yield, in terms of number of portions, of the recipe. It should be within a factor of
                                10 of the normal quantity needed and need not be 100.  


114,3         PORTION SIZE           0;3 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X I $D(X) D EN3^FHREC1
              LAST EDITED:      SEP 18, 1988 
              HELP-PROMPT:      ANSWER MUST BE A NUMBER FOLLOWED BY OZ, FLOZ OR EACH 
              DESCRIPTION:      This is a short description of the portion size, e.g., 3-oz. or 1 each. Size must be a number
                                followed by OZ, EACH or FLOZ.  

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


114,4         PREPARATION TIME       0;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              HELP-PROMPT:      ANSWER MUST BE 1-10 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field indicates the amount of preparation time this recipe will require.  


114,5         EQUIPMENT              E;0 POINTER Multiple #114.05

              LAST EDITED:      NOV 14, 1987 
              DESCRIPTION:
                                This multiple is used to indicate the various types of equipment necessary to produce this recipe.  


114.05,.01      EQUIPMENT              0;1 POINTER TO EQUIPMENT FILE (#114.4) (Multiply asked)

                LAST EDITED:      SEP 14, 1988 
                DESCRIPTION:      This field contains a pointer to the Equipment file (114.4) and indicates an item of equipment
                                  used in the production of this recipe.  

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





114,6         SERVING UTENSIL        0;6 POINTER TO SERVING UTENSIL FILE (#114.3)

              LAST EDITED:      NOV 14, 1987 
              DESCRIPTION:      This field indicates the primary serving utensil which will be required by tray line personnel or
                                cafeteria line personnel.  


114,7         DEFAULT CATEGORY       0;7 POINTER TO RECIPE CATEGORY FILE (#114.1) (Required)

              LAST EDITED:      JAN 20, 1994 
              DESCRIPTION:      This is the primary category of the recipe. Selection does not prohibit the use of the recipe in
                                other ways (e.g., a 'salad' being used for dessert) but does influence the printing order of the
                                recipe in various lists.  


114,8         SYNONYM                0;9 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>25!($L(X)<3) X
              LAST EDITED:      OCT 24, 1986 
              HELP-PROMPT:      ANSWER MUST BE 3-25 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field may contain a synonym, or alternate name, for the recipe.  

              CROSS-REFERENCE:  114^C 
                                1)= S ^FH(114,"C",$E(X,1,30),DA)=""
                                2)= K ^FH(114,"C",$E(X,1,30),DA)


114,9         # DAYS PRE-PREP        0;10 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>3)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      DEC 08, 1986 
              HELP-PROMPT:      TYPE A WHOLE NUMBER BETWEEN 0 AND 3 
              DESCRIPTION:      This field contains the number of days in advance that the recipe must be prepared. It need be
                                answered only when non-zero, that is, when the recipe is prepared in advance of the serving day.  


114,10        PRINT RECIPE           0;8 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              OUTPUT TRANSFORM: S:Y="" Y="Y"
              LAST EDITED:      OCT 24, 1986 
              DESCRIPTION:      This field, when answered NO, will inhibit the printing of the recipe even when such printing is
                                requested as part of the production summary. It is generally used to inhibit printing of
                                one-ingredient recipes or those which require no preparation.  


114,11        PRE-PREP STATE         0;11 SET

                                'M' FOR MIX; 
                                'D' FOR DEHYDRATED; 
                                'F' FOR FROZEN; 
                                'C' FOR CANNED; 
                                'X' FOR CONCENTRATED; 
                                'S' FOR SCRATCH; 
                                'I' FOR IND/R-T-S; 
                                'P' FOR PARTIALLY PREP; 
                                'R' FOR R-T-S; 
              LAST EDITED:      SEP 13, 1988 
              DESCRIPTION:      This field indicates the state of the recipe, i.e., whether a canned item, dehydrated, partially
                                prepared, ready-to-serve, etc.  


114,12        PREPARATION AREA       0;12 POINTER TO PREPARATION AREA FILE (#114.2)

              LAST EDITED:      OCT 17, 1987 
              DESCRIPTION:      This field indicates the preparation area of the kitchen where the recipe would normally be
                                prepared.  


114,20        DIRECTIONS             X;0   WORD-PROCESSING #114.02

              HELP-PROMPT:      ANSWER MUST BE 1-80 CHARACTERS IN LENGTH 
              DESCRIPTION:      This field contains the directions for the preparation of the recipe. References to absolute
                                quantities of an ingredient should not be made since the recipe will normally be printed in an
                                'adjusted' form -- that is, the number of portions will be adjusted and hence the individual
                                ingredient amounts will vary from those entered for the yield of the recipe.  


                LAST EDITED:      AUG 22, 1984 
                DESCRIPTION:
                                  This field contains the text of the recipe preparation instructions.  




114,99        INACTIVE?              Z;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:  114^AC^MUMPS 
                                1)= K:X'="Y" ^FH(114,DA,"Z")
                                2)= K ^FH(114,DA,"Z")
                                This cross-reference is used to create an 'Z' node for inactive entries.  



114,101       COST/PORTION           0;13 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>30)!(X<.001)!(X?.E1"."4N.N) X
              LAST EDITED:      OCT 18, 1987 
              HELP-PROMPT:      Type a Number between .001 and 30, 3 Decimal Digits 
              DESCRIPTION:      This field contains the cost per portion of the recipe based upon the current prices shown in the
                                Ingredient file (113).  


114,102       ASSOCIATED NUTRIENT ANALYSIS 0;14 POINTER TO FOOD NUTRIENTS FILE (#112)

              LAST EDITED:      NOV 11, 1992 
              DESCRIPTION:
                                This is a pointer to the Nutrient file (112) and contains the nutrient analysis of this recipe.  


114,103       DIABETIC EXCHANGE      DBX;0 POINTER Multiple #114.0103

              DESCRIPTION:      This multiple contains the Diabetic exchanges associated with this recipe.  It is use to handle the
                                Diabetic calculated diets.  


114.0103,.01    DIABETIC EXCHANGE      0;1 POINTER TO RECIPE CATEGORY FILE (#114.1) (Multiply asked)

                LAST EDITED:      APR 28, 1995 
                DESCRIPTION:
                                  This multiple contains the Diabetic exchanges associated with this recipe.  

                CROSS-REFERENCE:  114.0103^B 
                                  1)= S ^FH(114,DA(1),"DBX","B",$E(X,1,30),DA)=""
                                  2)= K ^FH(114,DA(1),"DBX","B",$E(X,1,30),DA)


114.0103,1      QUANTITY               0;2 NUMBER (Required)

                INPUT TRANSFORM:  K:+X'=X!(X>5)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      APR 28, 1995 
                HELP-PROMPT:      Type a Number between 1 and 5, 0 Decimal Digits 
                DESCRIPTION:      This is the quantity of the Diabetic exchange that needs to be omitted when the recipe is used in
                                  a meal for the Diabetic calculated diets.  





      FILES POINTED TO                      FIELDS

EQUIPMENT (#114.4)                EQUIPMENT:EQUIPMENT (#.01)

FOOD NUTRIENTS (#112)             ASSOCIATED NUTRIENT ANALYSIS (#102)
                                  INGREDIENT:ASSOCIATED NUTRIENT (#2)

INGREDIENT (#113)                 INGREDIENT:INGREDIENT (#.01)

PREPARATION AREA (#114.2)         PREPARATION AREA (#12)

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

RECIPE CATEGORY (#114.1)          DEFAULT CATEGORY (#7)
                                  DIABETIC EXCHANGE:DIABETIC EXCHANGE (#.01)

SERVING UTENSIL (#114.3)          SERVING UTENSIL (#6)



INPUT TEMPLATE(S):
FHINPR                        APR 28, 1995@09:03  USER #0    
     This template is used to enter recipes into the recipe file.

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):