STANDARD DATA DICTIONARY #51.7 -- DRUG TEXT FILE 9/29/25 PAGE 1
STORED IN ^PS(51.7, (28 ENTRIES) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 1.0)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file stores rapidly changing drug restrictions, guidelines, and protocols to help assure medications are being used according
to formulary specifications.
DD ACCESS: @
RD ACCESS: @
WR ACCESS: @
DEL ACCESS: @
LAYGO ACCESS: @
AUDIT ACCESS: @
IDENTIFIED BY: INACTIVATION DATE (#2)
POINTED TO BY: DRUG TEXT ENTRY field (#.01) of the DRUG TEXT ENTRY sub-field (#50.037) of the DRUG File (#50)
OI-DRUG TEXT ENTRY field (#.01) of the OI-DRUG TEXT ENTRY sub-field (#50.76) of the PHARMACY ORDERABLE ITEM File
(#50.7)
CROSS
REFERENCED BY: SYNONYM(C)
INDEXED BY: NAME (B)
LAST MODIFIED: MAY 25,2025@09:34:28
51.7,.01 NAME 0;1 FREE TEXT (Required)
INPUT TRANSFORM: S X=$$UP^XLFSTR(X) K:$L(X)>40!($L(X)<1)!'(X'?1P.E) X
LAST EDITED: MAY 25, 2025
HELP-PROMPT: Answer must be 1-40 characters in length.
DESCRIPTION:
This field will hold a short description of the text entry.
DELETE TEST: .01,0)= I 1 D EN^DDIOL("DELETIONS ARE NOT ALLOWED!","","!?10")
LAYGO TEST: .01,0)= N ZZZ S ZZZ=$D(PSSNFI) D:'ZZZ EN^DDIOL("ADDITIONS MUST BE MADE THROUGH THE PDM 'Drug Text E
nter/Edit' option") I ZZZ
GROUP: PS
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
FIELD INDEX: B (#1323) REGULAR IR LOOKUP & SORTING
Short Descr: This is an index for the drug text entry.
Description: This field will hold the short description of the text entry. This will be used on lookup, displays
and reports in backdoor pharmacy.
Set Logic: S ^PS(51.7,"B",$E(X,1,40),DA)=""
Kill Logic: K ^PS(51.7,"B",$E(X,1,40),DA)
Whole Kill: K ^PS(51.7,"B")
X(1): NAME (51.7,.01) (Subscr 1) (Len 40) (forwards)
51.7,1 SYNONYM 1;0 Multiple #51.71
51.71,.01 SYNONYM 0;1 FREE TEXT (Multiply asked)
INPUT TRANSFORM: K:$L(X)>40!($L(X)<1) X
LAST EDITED: JAN 27, 2000
HELP-PROMPT: Answer must be 1-40 characters in length.
DESCRIPTION:
This field will be used to allow quick lookup for the drug text defined.
CROSS-REFERENCE: 51.71^B
1)= S ^PS(51.7,DA(1),1,"B",$E(X,1,30),DA)=""
2)= K ^PS(51.7,DA(1),1,"B",$E(X,1,30),DA)
CROSS-REFERENCE: 51.7^C
1)= S ^PS(51.7,"C",$E(X,1,30),DA(1),DA)=""
2)= K ^PS(51.7,"C",$E(X,1,30),DA(1),DA)
3)= DO NOT DELETE
This cross-reference on the synonym is used for looking up entries in the DRUG TEXT file (#51.7).
51.7,2 INACTIVATION DATE 0;2 DATE
INPUT TRANSFORM: S %DT="E" D ^%DT S X=Y K:Y<1 X
LAST EDITED: NOV 17, 2017
HELP-PROMPT: Enter the date the drug text entry became inactive.
DESCRIPTION: This field will hold an inactivation date of the drug text entry. If an inactivation date is
present, this drug text entry will not be selectable for a pharmacy orderable item or a drug file
entry. It will be used as a screen for any lookups, displays, or reports.
51.7,3 TEXT 2;0 WORD-PROCESSING #51.73
LAST EDITED: SEP 06, 1999
HELP-PROMPT: Enter text which should contain drug information, restrictions, guidelines, or any other data
that may apply to the drug.
DESCRIPTION: This field will hold drug information, restrictions, guidelines and other data that may apply to
the drug. This will be used on displays and reports in backdoor pharmacy (OP & IPM), PDM, and
NDF.
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):