STANDARD DATA DICTIONARY #111 -- DIETS FILE                                                                       3/24/25    PAGE 1
STORED IN ^FH(111,  (1 ENTRY)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                           (VERSION 5.5)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains a list of all of the diet modifications allowed by the using facility. Associated with each diet are
characteristics such as alternate names, an abbreviated name, whether a clinician is to be bulletined when ordered, and a diet
precedence which is used to prevent diet conflicts and as a printing sequence order.  


FILE SCREEN (SCR-node) : I '$D(^FH(111,+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: DIET1 field (#1) of the DIET PATTERNS File (#111.1) 
               DIET2 field (#2) of the DIET PATTERNS File (#111.1) 
               DIET3 field (#3) of the DIET PATTERNS File (#111.1) 
               DIET4 field (#4) of the DIET PATTERNS File (#111.1) 
               DIET5 field (#5) of the DIET PATTERNS File (#111.1) 
               DIET field (#1) of the RECURRING MEALS sub-field (#115.016) of the NUTRITION PERSON File (#115) 
               DIET1 field (#6) of the RECURRING MEALS sub-field (#115.016) of the NUTRITION PERSON File (#115) 
               DIET2 field (#7) of the RECURRING MEALS sub-field (#115.016) of the NUTRITION PERSON File (#115) 
               DIET3 field (#8) of the RECURRING MEALS sub-field (#115.016) of the NUTRITION PERSON File (#115) 
               DIET4 field (#9) of the RECURRING MEALS sub-field (#115.016) of the NUTRITION PERSON File (#115) 
               DIET5 field (#10) of the RECURRING MEALS sub-field (#115.016) of the NUTRITION PERSON File (#115) 
               DIET field (#3) of the SPECIAL MEALS sub-field (#115.017) of the NUTRITION PERSON File (#115) 
               DIET field (#5) of the GUEST MEALS sub-field (#115.018) of the NUTRITION PERSON File (#115) 
               DIET1 field (#1) of the DIET sub-field (#115.02) of the ADMISSION sub-field (#115.01) of the NUTRITION PERSON File 
                   (#115) 
               DIET2 field (#2) of the DIET sub-field (#115.02) of the ADMISSION sub-field (#115.01) of the NUTRITION PERSON File 
                   (#115) 
               DIET3 field (#3) of the DIET sub-field (#115.02) of the ADMISSION sub-field (#115.01) of the NUTRITION PERSON File 
                   (#115) 
               DIET4 field (#4) of the DIET sub-field (#115.02) of the ADMISSION sub-field (#115.01) of the NUTRITION PERSON File 
                   (#115) 
               DIET5 field (#5) of the DIET sub-field (#115.02) of the ADMISSION sub-field (#115.01) of the NUTRITION PERSON File 
                   (#115) 
               DEFAULT ADMISSION DIET field (#15) of the NUTRITION LOCATION File (#119.6) 
               OUTPATIENT MEALS DIET1 field (#4) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET2 field (#5) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET3 field (#6) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET4 field (#7) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET5 field (#8) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET6 field (#40) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET7 field (#41) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET8 field (#42) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET9 field (#43) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET10 field (#44) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET11 field (#45) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET12 field (#46) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET13 field (#47) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET14 field (#48) of the FH SITE PARAMETERS File (#119.9) 
               OUTPATIENT MEALS DIET15 field (#49) of the FH SITE PARAMETERS File (#119.9) 
               

CROSS
REFERENCED BY: INACTIVE?(AC), NAME(B), SYNONYM(C), ALTERNATE NAME(D)



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

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
              LAST EDITED:      JAN 08, 1988 
              HELP-PROMPT:      ANSWER MUST BE 3-30 CHARACTERS IN LENGTH 
              DESCRIPTION:      This field contains the name of a diet or diet modification as it would normally be known to
                                ward/medical personnel.  

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

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



111,1         SYNONYM                0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>12!($L(X)<1) X
              LAST EDITED:      FEB 02, 1985 
              HELP-PROMPT:      ANSWER MUST BE 1-12 CHARACTERS IN LENGTH 
              DESCRIPTION:      This field may contain a synonym for the diet name; the synonym is generally terminology known and
                                used by ward/medical personnel.  

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


111,2         ASK EXPIRATION DATE?   0;3 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      JUN 08, 1985 
              DESCRIPTION:      This field, when answered YES, will result in the user being prompted for a diet expiration date
                                (as well as the start date) whenever this diet is contained in a total diet order.  


111,3         DIET PRECEDENCE        0;4 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      JAN 29, 1985 
              HELP-PROMPT:      TYPE A WHOLE NUMBER BETWEEN 1 AND 99 
              DESCRIPTION:      This is a numerical value which performs two functions: no two diet modifications with the same
                                precedence may be selected. The same number can therefore be assigned to mutually-exclusive diet
                                modifications. Secondly, the diet modifications will be listed in precedence order, from low to
                                high.  


111,4         PRODUCTION DIET        0;5 POINTER TO PRODUCTION DIET FILE (#116.2) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),""^"",4)'=""Y""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      JUL 13, 1987 
              DESCRIPTION:      This field contains the Production Diet entry (file 116.2) which would be prepared for this diet
                                modification were it to stand alone from other diet modifications.  

              SCREEN:           S DIC("S")="I $P(^(0),""^"",4)'=""Y"""
              EXPLANATION:      Include only non-combo production diets.

111,5         BULLETIN CLINICIAN?    0;6 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      JUN 08, 1985 
              DESCRIPTION:      This field, if answered YES, will result in a bulletin being sent to the clinician(s) responsible
                                for the ward on which the patient resides any time this diet modification is ordered.  


111,6         ABBREVIATED LABEL      0;7 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>12!($L(X)<1) X
              LAST EDITED:      FEB 02, 1985 
              HELP-PROMPT:      ANSWER MUST BE 1-12 CHARACTERS IN LENGTH 
              DESCRIPTION:      This is an abbreviated label title used on diet cards; the terminology and abbreviations will
                                normally be those used by dietetic personnel.  


111,10        ALTERNATE NAME         AN;0 Multiple #111.01

              DESCRIPTION:      This field may be used for any number of alternate names for the diet modification. These
                                alternative names will normally be those used by ward/medical personnel.  


111.01,.01      ALTERNATE NAME         0;1 FREE TEXT (Multiply asked)

                INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1) X
                LAST EDITED:      MAY 10, 1990 
                HELP-PROMPT:      ANSWER MUST BE 1-30 CHARACTERS IN LENGTH 
                DESCRIPTION:
                                  This field contains an alternate name for the diet.  

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





111,99        INACTIVE?              I;1 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      AUG 13, 1986 
              DESCRIPTION:      This field, if answered YES, will prohibit further selection of this diet modification by ward
                                personnel.  

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




      FILES POINTED TO                      FIELDS

PRODUCTION DIET (#116.2)          PRODUCTION DIET (#4)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
FHDIETL                       JAN 20, 1987        USER #0                                                                DIETS LIST
     This template is used to print a basic diet list.

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):