Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  Found Entries |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Global: ^PS(51

Package: Pharmacy Data Management

Global: ^PS(51


Information

FileMan FileNo FileMan Filename Package
51 MEDICATION INSTRUCTION Pharmacy Data Management

Description

Directly Accessed By Routines, Total: 45

Package Total Routines
Pharmacy Data Management 20 ^PS(51    DRUG(S) FOR DOSING CHK FREQ    OLD MED INSTRUCTION NAME(S)    PSS51    PSSDDUT2    PSSDDUT3    PSSDSAPI    PSSDSUTL
PSSFILED    PSSMIRPT    PSSMONT    PSSOUTSC    PSSP170    PSSSCHMS    PSSUTIL1    PSSUTLA1
PSSUTLA2    PSSUTLAZ    PSSUTLPR    PSSUTLPZ    
Outpatient Pharmacy 16 PSOBPOST    PSOERXU6    PSOHELP    PSOHLDS2    PSOHLSG2    PSOLBL2    PSOMHV1    PSONVNEW
PSOORRL1    PSOQUTIL    PSORLLLI    PSOSIG    PSOSIGNO    PSOSPSIG    PSOTALK1    PSOUTLA1
Inpatient Medications 5 PSGSICHK    PSJBCMA    PSJDDUT    PSJHL11    PSJUTL    
Health Summary 2 GMTSPST1    GMTSPSTN    
CMOP 1 PSXBLD    
Patient Data Exchange 1 VAQDBIP8    

Accessed By FileMan Db Calls, Total: 11

Package Total Routines
Pharmacy Data Management 7 PSS51    PSSFILED    PSSMIRPT    PSSMONT    PSSP110    PSSUTLPR    PSSUTLPZ    
Outpatient Pharmacy 3 PSOBPOST    PSOORED5    PSOSIG    
Inpatient Medications 1 PSGFILED    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
National Drug File 1 MEDICATION ROUTES(#51.2)[2]    
Pharmacy Data Management 1 DRUG(#50)[#51.321(.01)]    
Registration 1 WARD LOCATION(#42)[#51.01(.01)]    

Fields, Total: 16

Field # Name Loc Type Details
.01 NAME 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • 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)
.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)
1 EXPANSION 0;2 FREE TEXT
************************REQUIRED FIELD************************

  • 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))
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
2 MED ROUTE 0;5 POINTER TO MEDICATION ROUTES FILE (#51.2) MEDICATION ROUTES(#51.2)

  • LAST EDITED:  JAN 31, 1995
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
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.
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.
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))
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
20 WARD 2;0 POINTER Multiple #51.01 51.01

  • DESCRIPTION:  
    This sub file is used to indicate any wards associated with a medication instruction.
  • GROUP:  PS
30 INTENDED USE 0;4 SET
************************REQUIRED FIELD************************
  • '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))
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).
32 DOSING CHECK FREQUENCY 0;9 FREE TEXT

  • INPUT TRANSFORM:  D DFCHK^PSSJSV
  • LAST EDITED:  OCT 22, 2014
  • 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, which always places the numeric value in the middle position of the medication instruction.  In some
    cases an 'X' (symbol for 'times') must be entered as the first character, although it is still translated as the number of times per designated period.
    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 (# represents a whole number):
    Q#H [every # hour(s), such as every 5 hours]
    Q#D [every # day(s), such as every 3 days]
    Q#W [every # week(s), such as every 5 weeks]
    Q#L [every # month(s), such as every 3 months]
    X#D [times per day, such as 17 times per day]
    X#W [times per week, such as 3 times per week]
    X#L [times per month, such as 4 times per month]
    Numeric value can be 1-2 characters.
  • EXECUTABLE HELP:  D HPDCHK^PSSJSV
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
32.1 DRUG(S) FOR DOSING CHK FREQ 5;0 POINTER Multiple #51.321 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.
33 OLD MED INSTRUCTION NAME(S) 6;0 Multiple #51.33 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.

ICR, Total: 4

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #823
  • Patient Data Exchange
  • ICR #1980
  • CMOP
  • Health Summary
  • This cross reference is used to look up the expanded SIGfor a prescription.
    ICR #2176
  • Inpatient Medications
  • ICR #2224
  • Outpatient Pharmacy
  • NAME (.01).
    Access: Direct Global Read & w/Fileman

    EXPANSION (1).
    Access: Direct Global Read & w/Fileman

    MED ROUTE (2).
    Access: Direct Global Read & w/Fileman

    SCHEDULE (3).
    Access: Direct Global Read & w/Fileman

    PLURAL (9).
    Access: Direct Global Read & w/Fileman

    INTENDED USE (30).
    Access: Direct Global Read & w/Fileman

    FREQUENCY (IN MINUTES) (31).
    Access: Direct Global Read & w/Fileman

    OTHER LANGUAGE EXPANSION (1.1).
    Access: Direct Global Read & w/Fileman

    This file holds the abbreviations which are often usedwhen entering the prescription's SIG. Each record holds an expansion of theabbreviation.This cross reference is used to get the drug's expandedname and plural.This cross reference is used to obtain the expanded SIG.

    External References

    Name Field # of Occurrence
    ENSH^PSSDDUT 3(HELP )
    CHKNSY^PSSFILED .01+1, .5+1
    ENOMIX^PSSFILED IXAFSL+1
    EXEHLP^PSSFILED .01(HELP ), .5(HELP )
    DFCHK^PSSJSV 32+1
    HPDCHK^PSSJSV 32(HELP )

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(51 - [#51] .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K), .01(XREF 3S), .01(XREF 3K), .5(XREF 1S), .5(XREF 1K), .5(XREF 2S), .5(XREF 2K)
    1(XREF 1S), 1(XREF 1K), 9(XREF 1S), 9(XREF 1K), 30(XREF 1S), 30(XREF 1K)

    Naked Globals

    Name Field # of Occurrence
    ^( .5(XREF 1S), .5(XREF 1K)
    ^("0" ID1+1
    ^(9 .01(XREF 3S), .5(XREF 2S), 1(XREF 1S), 9(XREF 1S)

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> % .01(XREF 3S), 1(XREF 1S), 1(XREF 1K), 9(XREF 1S), 9(XREF 1K)
    >> DA IXAFSL+1, .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K), .01(XREF 3S), .5(XREF 1S), .5(XREF 1K), .5(XREF 2S), 1(XREF 1S)
    1(XREF 1K), 9(XREF 1S), 9(XREF 1K), 30(XREF 1S), 30(XREF 1K)
    >> I 10+1*
    U ID1+1
    X .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K), .01(XREF 3K), .5(XREF 1S), .5(XREF 1K), .5(XREF 2S), .5(XREF 2K), 1+1!
    , 1.1+1!, 3+1!, 4+1!, 5+1!, 9+1!, 10+1!, 30(XREF 1S), 30(XREF 1K), 31+1!
    >> X1 IXAFSL+1, .01(XREF 3S), .5(XREF 2S), 1(XREF 1S), 1(XREF 1K), 9(XREF 1S), 9(XREF 1K)
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  Found Entries |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All