STANDARD DATA DICTIONARY #51 -- MEDICATION INSTRUCTION FILE 9/29/25 PAGE 1
STORED IN ^PS(51, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 1.0)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file holds the abbreviations which are often used when entering the Rx sig. Each record holds an expansion of the
abbreviation which is used to complete the sig as it is printed on the Rx label. Care should be taken to not delete entries in
this file after going into production use of the pharmacy package. If an entry were deleted then any sigs that contain the
abbreviation would not find it when printed later and thus could confuse the patient.
The above description indicates that this file is not strictly 'pointed to' in the classical VA FileMan sense, but that logically
it is nearly the same thing.
DD ACCESS: @
APPLICATION GROUP(S): PS, PSO
IDENTIFIED BY: EXPANSION (#1)[R]
CROSS
REFERENCED BY: NAME(A), EXPANSION(AB), PLURAL(AC), SYNONYM(AD), SYNONYM(AE), INTENDED USE(AI), NAME(AIN), NAME(B),
OLD MED INSTRUCTION NAME(S)(D)
INDEXED BY: NAME (AF)
LAST MODIFIED: JUN 27,2025@16:19:37
51,.01 NAME 0;1 FREE TEXT (Required)
INPUT TRANSFORM: D CHKNSY^PSSFILED("NAME")
LAST EDITED: FEB 08, 2017
HELP-PROMPT: Answer must be 1 to 9 characters in length, and must be unique among all NAME(S), SYNONYM(S), and
OLD MED INSTRUCTION NAME(S).
DESCRIPTION: For inpatient pharmacy use, you may enter one of the following standard times or you may use a
non-standard schedule when appropriate. For example, Q36H or Q17H.
EXECUTABLE HELP: D EXEHLP^PSSFILED
GROUP: PS
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 51^B
1)= S ^PS(51,"B",X,DA)=""
2)= K ^PS(51,"B",X,DA)
CROSS-REFERENCE: 51^AIN^MUMPS
1)= I $P(^PS(51,DA,0),"^",4) S ^PS(51,"AI",X,DA)=""
2)= I $P(^PS(51,DA,0),"^",4) K ^PS(51,"AI",X,DA)
Sets intended use cross-ref. In the form of: ^PS(51,"AI",X,DA)
CROSS-REFERENCE: 51^A^MUMPS
1)= S X1=^PS(51,DA,0),%=$P(X1,"^",1) I %'="" S ^PS(51,"A",%)=$P(X1,"^",2)_"^"_$S($D(^PS(51,DA,9)):^
(9),1:"")
2)= K ^PS(51,"A",X)
This cross reference uses the drug name to obtain the drug's expanded name and plural. In the form
of: ^PS(51,"A",$P(^PS(51,DA,0),"^",1))
FIELD INDEX: AF (#1434) MUMPS IR ACTION
Short Descr: Updates the OLD MED INSTRUCTION NAME(S) multiple when NAME field is edited.
Set Logic: D ENOMIX^PSSFILED(X1,DA)
Kill Logic: Q
X(1): NAME (51,.01) (forwards)
51,.5 SYNONYM 0;3 FREE TEXT
INPUT TRANSFORM: D CHKNSY^PSSFILED("SYNONYM")
LAST EDITED: FEB 08, 2017
HELP-PROMPT: Answer must be 1 to 9 characters in length, and must be unique among all NAME(S), SYNONYM(S), and
OLD MED INSTRUCTION NAME(S).
DESCRIPTION:
This field is used to indicate the synonym if applicable.
TECHNICAL DESCR:
free text
EXECUTABLE HELP: D EXEHLP^PSSFILED
GROUP: PSO
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 51^AE^MUMPS
1)= S:'$D(^PS(51,"B",$E(X,1,9),DA)) ^(DA)=1
2)= I $D(^PS(51,"B",$E(X,1,9),DA)),^(DA) K ^(DA)
3)= Do not delete.
This xref is used to indicate synonyms In the form of: ^PS(51,"B",$E(X,1,9),DA)
CROSS-REFERENCE: 51^AD^MUMPS
1)= S X1=^PS(51,DA,0) I X'="" S ^PS(51,"A",X)=$P(X1,"^",2)_"^"_$S($D(^PS(51,DA,9)):^(9),1:"")
2)= K ^PS(51,"A",X)
This cross reference uses the drug synonym to obtain the drug expanded name and plural. In the
form of: ^PS(51,"A",X)
51,1 EXPANSION 0;2 FREE TEXT (Required)
INPUT TRANSFORM: K:$L(X)>50!($L(X)<2) X
LAST EDITED: JUL 26, 1986
HELP-PROMPT: Answer must be 2-50 characters in length.
DESCRIPTION:
This is the full explanation of the instruction and will print on some reports.
TECHNICAL DESCR:
free text
GROUP: PS
CROSS-REFERENCE: 51^AB^MUMPS
1)= S X1=^PS(51,DA,0),%=$P(X1,"^",1) I %'="" S ^PS(51,"A",%)=$P(X1,"^",2)_"^"_$S($D(^PS(51,DA,9)):^
(9),1:"")
2)= S X1=^PS(51,DA,0),%=$P(X1,"^",1) I %'="" K ^PS(51,"A",%)
This cross reference uses the drug name to obtain the drug expanded name and plural. In the form
of: ^PS(51,"A",$P(^PS(51,DA,0),"^",1))
51,1.1 OTHER LANGUAGE EXPANSION 4;1 FREE TEXT
INPUT TRANSFORM: K:$L(X)>100!($L(X)<2) X
LAST EDITED: SEP 16, 2002
HELP-PROMPT: Answer must be 2-100 characters in length.
DESCRIPTION:
This field is used to store the expansion in another language.
TECHNICAL DESCR:
Free text.
GROUP: PSO
51,2 MED ROUTE 0;5 POINTER TO MEDICATION ROUTES FILE (#51.2)
LAST EDITED: JAN 31, 1995
51,3 SCHEDULE 0;6 FREE TEXT
INPUT TRANSFORM: K:X[""""!($A(X)=45) X I $D(X) K:$L(X," ")>$S(X["PRN":4,1:3)!($L(X)>20)!($L(X)<2) X
LAST EDITED: FEB 20, 2015
HELP-PROMPT: Enter the appropriate schedule to associate with this Medication Instruction.
DESCRIPTION: This is the Schedule that is associated with the Medication Instruction. Prior to the Pharmacy
Ordering Enhancements project, this field was used to associate schedules with Outpatient
prescriptions, by running each word of the Sig through the Medication Instruction file to look for
an associated Schedule. The field is currently not being used by the Pharmacy software.
EXECUTABLE HELP: D ENSH^PSSDDUT
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
51,4 INSTRUCTIONS 0;7 FREE TEXT
INPUT TRANSFORM: K:$L(X)>75!($L(X)<10) X
LAST EDITED: JAN 31, 1995
HELP-PROMPT: Answer must be 10-75 characters in length.
51,5 ADDITIONAL INSTRUCTION 3;1 FREE TEXT
INPUT TRANSFORM: K:$L(X)>100!($L(X)<10) X
LAST EDITED: JAN 31, 1995
HELP-PROMPT: Answer must be 10-100 characters in length.
51,9 PLURAL 9;1 FREE TEXT
INPUT TRANSFORM: K:$L(X)>25!($L(X)<1)!'(X?.A) X
LAST EDITED: JUL 26, 1986
HELP-PROMPT: ANSWER MUST BE 1-25 CHARACTERS IN LENGTH
DESCRIPTION:
This field is used to indicate if there's a plural name for this instruction.
TECHNICAL DESCR:
free text
GROUP: PSO
CROSS-REFERENCE: 51^AC^MUMPS
1)= S X1=^PS(51,DA,0),%=$P(X1,"^",1) I %'="" S ^PS(51,"A",%)=$P(X1,"^",2)_"^"_$S($D(^PS(51,DA,9)):^
(9),1:"")
2)= S X1=^PS(51,DA,0),%=$P(X1,"^",1) I %'="" K ^PS(51,"A",%)
This cross reference uses the drug name to obtain the drug expanded name and plural. In the form
of: ^PS(51,"A",$P(^PS(51,DA,0),"^",1))
51,10 DEFAULT ADMIN TIMES 1;1 FREE TEXT
INPUT TRANSFORM: K:$L(X)>40!($L(X)<1) X I $D(X) F I=1:1:$L(X) I $E(X,I)'?1N&($E(X,I)'?1"-") K X Q
LAST EDITED: NOV 28, 1983
HELP-PROMPT: Enter up to 40 character in the form 3-9-15-21. Be sure to use a 24-hour clock.
DESCRIPTION:
This field is used to indicate a default admin time if applicable.
GROUP: PS
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
51,20 WARD 2;0 POINTER Multiple #51.01
DESCRIPTION:
This sub file is used to indicate any wards associated with a medication instruction.
GROUP: PS
51.01,.01 WARD 0;1 POINTER TO WARD LOCATION FILE (#42) (Multiply asked)
INPUT TRANSFORM: I $D(X) S DINUM=X
LAST EDITED: NOV 28, 1983
DESCRIPTION:
This field is ued to indicate any wards associated with a medication instruction.
GROUP: PS
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
51.01,.02 DEFAULT ADMIN TIMES 0;2 FREE TEXT
INPUT TRANSFORM: K:$L(X)>40!($L(X)<1) X I $D(X) F I=1:1:$L(X) I $E(X,1)'?1N&($E(X,1)'?1"-") K X Q
LAST EDITED: NOV 28, 1983
HELP-PROMPT: ANSWER MUST BE 1-40 CHARACTERS IN LENGTH, E.G., 0300-0900-1500-2100
DESCRIPTION:
This field is used to indicate a default admin time if applicable.
GROUP: PS
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
51,30 INTENDED USE 0;4 SET (Required)
'0' FOR OUTPATIENT ONLY;
'1' FOR IN & OUTPATIENT;
'2' FOR INPATIENT ONLY;
LAST EDITED: JUN 15, 1987
DESCRIPTION: This controls the users' view of this file. If the entry is marked as OUTPATIENT ONLY (0), then
only the Outpatient package will use it as a valid abbreviation. If marked INPATIENT ONLY (2),
then only the Inpatient package will use the entry as a valid abbreviation. The entry may be
marked as Inpatient and Outpatient (1).
GROUP: PS
CROSS-REFERENCE: 51^AI^MUMPS
1)= I X S ^PS(51,"AI",$P(^PS(51,DA,0),"^"),DA)=""
2)= I X K ^PS(51,"AI",$P(^PS(51,DA,0),"^"),DA)
Sets intended use cross-ref for this file. In the form of: ^PS(51,"AI",$P(^PS(51,DA,0),"^",1))
51,31 FREQUENCY (IN MINUTES) 0;8 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>525600)!(X<0)!(X?.E1"."1.N) X
LAST EDITED: MAR 18, 2015
HELP-PROMPT: Type a number between 0 and 525600, 0 decimal digits.
DESCRIPTION: This is the number of minutes between each time that the action should take place. This field will
be used to calculate defaults for Quantity and Days Supply in the Outpatient Pharmacy Package. It
will also be used to calculate defaults for the fields in the pharmacy dialog in Computerized
Patient Record System (CPRS).
51,32 DOSING CHECK FREQUENCY 0;9 FREE TEXT
INPUT TRANSFORM: K:($$FREQCHK^PSSJSV(X)="") X W:$D(X) " "_$$FREQCHK^PSSJSV(X)
MAXIMUM LENGTH: 30
LAST EDITED: AUG 21, 2023
HELP-PROMPT: Answer must be 3-4 characters in length.
DESCRIPTION: The DOSING CHECK FREQUENCY field takes priority over all other fields/values when determining
frequency.
PLEASE BE AWARE that the format of the frequency in this field must employ the format patterns of
the vendor database.
The text examples within the following brackets [] provide clarification of the literal medication
instruction translation for the possible formats. Enter the dosing check frequency in one of the
following specified formats shown below ('#' represents a whole number, which can be 1 or 2
digits):
Q#H [every # hour(s), values supported for '#': 1-12, 14-24,
30, 36, 48, 60, 72 and 96, example: Q6H - EVERY 6 HOURS]
Q#D [every # day(s), values supported for '#': 1-10, 14, 21, 28,
30, 56 and 90, example: Q2D - EVERY 2 DAYS]
Q#W [every # week(s), values supported for '#': 1-6, 8-10,
12, 16, 24 and 52, example: Q1W - EVERY WEEK]
Q#L [every # month(s), values supported for '#': 1-4, 6 and 12,
example: Q3L - EVERY 3 MONTHS]
#XD [times per day, values supported for '#': 1-99, example:
4XD - 4 TIMES PER DAY]
#XW [times per week, values supported for '#': 1-6, example:
2XW - 2 TIMES PER WEEK]
EXECUTABLE HELP: D HPDCHK^PSSJSV
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
51,32.1 DRUG(S) FOR DOSING CHK FREQ 5;0 POINTER Multiple #51.321
DESCRIPTION: This multiple field allows dispense drugs from the DRUG (#50) file to be associated with the
DOSING CHECK FREQUENCY (#32) field value within the MEDICATION INSTRUCTION (#51) file.
When a value is entered for "DOSING CHECK FREQUENCY:" and NO drug(s) is entered for "Select DRUG(S)
FOR DOSING CHK FREQ:", the dosing check will use the value for "DOSING CHECK FREQUENCY:" to derive
a frequency for all orders that have that medication instruction.
When a value is entered for "DOSING CHECK FREQUENCY:" and a drug(s) is entered for "Select DRUG(S)
FOR DOSING CHK FREQ:", the Daily Dose Order Check will ONLY use the value in "DOSING CHECK
FREQUENCY:" to derive frequency if the order that has that medication instruction also matches one
of the drug(s) entered. If the drug found in the order does not match a drug listed in the DRUG(S)
FOR DOSING CHK FREQ field, then the value of the DOSING CHECK FREQUENCY will not be used for the
Daily Dose Order Check.
51.321,.01 DRUG(S) FOR DOSING CHK FREQ 0;1 POINTER TO DRUG FILE (#50) (Multiply asked)
LAST EDITED: NOV 15, 2016
HELP-PROMPT: Select a dispense drug to be associated with the dosing check frequency.
DESCRIPTION: This field allows a dispense drug from the DRUG (#50) file to be associated with the DOSING
CHECK FREQUENCY (#32) field value within the MEDICATION INSTRUCTION (#51) file.
When a value is entered for "DOSING CHECK FREQUENCY:" and NO drug(s) is entered for "Select
DRUG(S) FOR DOSING CHK FREQ:", the dosing check will use the value for "DOSING CHECK FREQUENCY:"
to derive a frequency for all orders that have that medication instruction.
When a value is entered for "DOSING CHECK FREQUENCY:" and a drug(s) is entered for "Select
DRUG(S) FOR DOSING CHK FREQ:", the Daily Dose Order Check will ONLY use the value in "DOSING
CHECK FREQUENCY:" to derive a frequency if the order that has that medication instruction also
matches one of the drug(s) entered. If the drug found in the order does not match a drug listed
in the DRUG(S) FOR DOSING CHK FREQ field, then the value of the DOSING CHECK FREQUENCY will not
be used for the Daily Dose Order Check.
EXECUTABLE HELP: D ENMEDI^PSSDDUT
CROSS-REFERENCE: 51.321^B
1)= S ^PS(51,DA(1),5,"B",$E(X,1,30),DA)=""
2)= K ^PS(51,DA(1),5,"B",$E(X,1,30),DA)
51,33 OLD MED INSTRUCTION NAME(S) 6;0 Multiple #51.33
DESCRIPTION: This multiple stores the old values of the medication instruction when the NAME (#.01) field is
edited. Values can also be added to this field directly.
51.33,.01 OLD MED INSTRUCTION NAME(S) 0;1 FREE TEXT (Multiply asked)
INPUT TRANSFORM: D CHKOMI^PSSFILED("OMINAME")
LAST EDITED: FEB 08, 2017
HELP-PROMPT: Answer must be 1-9 characters in length, and must be unique among all NAME(S), SYNONYM(S), and
OLD MED INSTRUCTION NAME(S).
DESCRIPTION: This field stores the old value of the medication instruction when the NAME (#.01) field is
edited. Values can also be added to this field directly using the Pharmacy Data Management
Medication Instruction File Add/Edit [PSSJU MI] option. This field will be used to identify a
medication instruction when its old name is found in a medication order when deriving a frequency
for a Daily Dose Order Check.
EXECUTABLE HELP: D EXEHLP^PSSFILED
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 51.33^B
1)= S ^PS(51,DA(1),6,"B",$E(X,1,30),DA)=""
2)= K ^PS(51,DA(1),6,"B",$E(X,1,30),DA)
CROSS-REFERENCE: 51^D
1)= S ^PS(51,"D",$E(X,1,30),DA(1),DA)=""
2)= K ^PS(51,"D",$E(X,1,30),DA(1),DA)
Used to identify (lookup) a medication instruction entered for an order to derive a frequency for
the Max Daily Dose Order Check.
FILES POINTED TO FIELDS
DRUG (#50) DRUG(S) FOR DOSING CHK FREQ:DRUG(S) FOR DOSING CHK FREQ (#.01)
MEDICATION ROUTES (#51.2) MED ROUTE (#2)
WARD LOCATION (#42) WARD:WARD (#.01)
INPUT TEMPLATE(S):
PSS SIGED JUN 06, 1996@08:24 USER #0
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):