STANDARD DATA DICTIONARY #115.2 -- FOOD PREFERENCES FILE 9/29/25 PAGE 1
STORED IN ^FH(115.2, *** 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 items which can be selected as patient preference items. It contains both items which can be selected, such
as coffee or tea, as well as food preferences (such as no liver) which will result in certain recipes being excluded for the
patient.
FILE SCREEN (SCR-node) : I '$D(^FH(115.2,+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: DIET RESTRICTION field (#.01) of the DIET RESTRICTION sub-field (#111.119) of the DIET PATTERNS File (#111.1)
FOOD PREFERENCES field (#.01) of the FOOD PREFERENCES sub-field (#115.09) of the NUTRITION PERSON File (#115)
CROSS
REFERENCED BY: INACTIVE?(AC), LIKE OR DISLIKE(AD), NAME(B), GMR ALLERGIES(C), SYNONYM(D)
115.2,.01 NAME 0;1 FREE TEXT (Required)
INPUT TRANSFORM: K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
HELP-PROMPT: NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
DESCRIPTION: This field contains the name of a selectable food preference, such as coffee or tea, or a generic
preference, such as 'no liver'.
DELETE TEST: 1,0)= I 1 D EN^DDIOL("Cannot delete. Inactivate instead.","","?3")
CROSS-REFERENCE: 115.2^B
1)= S ^FH(115.2,"B",$E(X,1,30),DA)=""
2)= K ^FH(115.2,"B",$E(X,1,30),DA)
This is the normal B cross-reference of the NAME field.
115.2,1 LIKE OR DISLIKE 0;2 SET (Required)
'L' FOR LIKE;
'D' FOR DISLIKE;
LAST EDITED: SEP 13, 1988
DESCRIPTION:
This field indicates whether the item is a selectable item or a food preference.
CROSS-REFERENCE: 115.2^AD^MUMPS
1)= K:X="L" ^FH(115.2,DA,"X") S:X="D" $P(^FH(115.2,DA,0),"^",4,6)="^^"
2)= Q
115.2,3 RECIPE 0;4 POINTER TO RECIPE FILE (#114)
DESCRIPTION:
In the case of a selectable item, this field points to the selection in the Recipe file (114).
115.2,10 EXCLUDED RECIPES X;0 POINTER Multiple #115.21
DESCRIPTION: In the case of a food preference, this multiple is the list of excluded recipes contained in the
Recipe file (114) which should NOT be served to the patient.
115.21,.01 EXCLUDED RECIPES 0;1 POINTER TO RECIPE FILE (#114) (Multiply asked)
DESCRIPTION: This field is a pointer to the Recipe file (114) and is a recipe which should NOT be served to
patients expressing this food preference.
CROSS-REFERENCE: 115.21^B
1)= S ^FH(115.2,DA(1),"X","B",$E(X,1,30),DA)=""
2)= K ^FH(115.2,DA(1),"X","B",$E(X,1,30),DA)
This is the normal B cross-reference of the EXCLUDED RECIPES field.
115.2,20 BREAD/BEVERAGE DEFAULT? 0;5 SET
'1' FOR YES;
'0' FOR NO;
LAST EDITED: APR 19, 1994
DESCRIPTION: This field, if answered Yes, means this food preference is the standard default bread/beverage for
the patients on the tray tickets else if answered No, means it is not.
115.2,21 MEALS 0;6 FREE TEXT
INPUT TRANSFORM: S:$P("ALL",X,1)="" X="BNE" S %=X,X="" S:%["B" X="B" S:%["N" X=X_"N" S:%["E" X=X_"E" K:$L(%)'=$L(X)
X K %
LAST EDITED: FEB 25, 1994
HELP-PROMPT: Answer should be a string of meals (e.g., B or BN or BNE) or A for all meals.
DESCRIPTION: This field contains the meals (B N and E) for which this standard default food preference is
applicable.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
115.2,25 GMR ALLERGIES ALG;0 POINTER Multiple #115.225
115.225,.01 GMR ALLERGIES 0;1 POINTER TO GMR ALLERGIES FILE (#120.82) (Multiply asked)
INPUT TRANSFORM: S DIC("S")="I $P(^(0),U,2)[""F""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
LAST EDITED: FEB 21, 2007
DESCRIPTION: This field stores the pointer to the applicable GMRA ALLERGIES entry for Food Preferences that
are based on actual ALLERGIES.
SCREEN: S DIC("S")="I $P(^(0),U,2)[""F"""
EXPLANATION: FOOD TYPE ALLERGIES ONLY
CROSS-REFERENCE: 115.225^B
1)= S ^FH(115.2,DA(1),"ALG","B",$E(X,1,30),DA)=""
2)= K ^FH(115.2,DA(1),"ALG","B",$E(X,1,30),DA)
CROSS-REFERENCE: 115.2^C
1)= S ^FH(115.2,"C",$E(X,1,30),DA(1),DA)=""
2)= K ^FH(115.2,"C",$E(X,1,30),DA(1),DA)
Cross reference the entire file by the GMR Allergies multiple.
115.2,26 SYNONYM 0;3 FREE TEXT
INPUT TRANSFORM: K:$L(X)>25!($L(X)<1) X
LAST EDITED: APR 05, 2007
HELP-PROMPT: Answer must be 1-25 characters in length.
DESCRIPTION: This field may contain a synonym for the food preference name. The synonym is generally
terminology known and used by ward/medical personnel.
CROSS-REFERENCE: 115.2^D
1)= S ^FH(115.2,"D",$E(X,1,30),DA)=""
2)= K ^FH(115.2,"D",$E(X,1,30),DA)
Cross reference to look-up food preferences by SYNONYM field.
115.2,27 EXCLUDE EMBEDDED RECIPES? 0;7 SET
'Y' FOR YES;
'N' FOR NO;
LAST EDITED: JUL 12, 2007
DESCRIPTION: Set this field to YES if recipes embedded in the excluded recipes for this food preference should
be removed from tray tickets.
115.2,99 INACTIVE? I;1 SET
'Y' FOR YES;
'N' FOR NO;
LAST EDITED: SEP 18, 1990
DESCRIPTION: This field, if answered YES, will prohibit further selection of this preference unless the FHMGR
key is held.
CROSS-REFERENCE: 115.2^AC^MUMPS
1)= K:X'="Y" ^FH(115.2,DA,"I")
2)= K ^FH(115.2,DA,"I")
This cross-reference is used to create an 'I' node for inactive entries.
FILES POINTED TO FIELDS
GMR ALLERGIES (#120.82) GMR ALLERGIES:GMR ALLERGIES (#.01)
RECIPE (#114) RECIPE (#3)
EXCLUDED RECIPES:EXCLUDED RECIPES (#.01)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
FHSELIST JUL 26, 1994@12:18 USER #0 PATIENT PREFERENCES LIST
This template is used to list the patient preference items
contained in the Patient Preferences file (115.2).
FHSELST2 JUL 25, 2007@14:28 USER #0 FOOD PREFERENCES LIST
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):