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 |  Pointed To By FileMan Files |  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: 90

Package Total Routines
Outpatient Pharmacy 19 PSOFSIG    PSOHELP    PSOHLDS2    PSOHLPIS    PSOHLSG2    PSOHLSIG    PSOLBL2    PSOMHV1
PSONVNEW    PSOORRL1    PSOQUTIL    PSOSIG    PSOSIGCX    PSOSIGDS    PSOSIGNO    PSOSIGTX
PSOSPSIG    PSOTALK1    PSOUTLA1    
Patient Care Component 19 APCHAAP2    APCHPMH3    APCHS7    APCHS71    APCHS72    APCHS73    APCHS74    APCHS77
APCHS78    APCHS7C    APCHS7N    APCHS7R    APCHS9M1    APCHS9M2    APCHS9M3    APCHS9M4
APCHS9M5    APCHSACG    APCHSAS1    
Health Summary Components 16 BHSAAP2    BHSACG    BHSAPRO    BHSAST1    BHSMBN    BHSMED    BHSMEDAL    BHSMEDCS
BHSMEDG    BHSMEDH    BHSMEDI    BHSMEDR    BHSMEDSF    BHSMSUP    BHSMSUP1    BHSPMH1A
Pharmacy Data Management 14 PSS51    PSSDDUT2    PSSDDUT3    PSSMIRPT    PSSMONT    PSSOUTSC    PSSUTIL1    PSSUTLA1
PSSUTLA2    PSSUTLAZ    ^PS(51    ^PSDRUG    PSSUTLPR    PSSUTLPZ    
IHS Changes To Pharmacy 4 APSPCP    APSPLBL2    APSPOST7    APSPSIG    
IHS Mods To Text Integration Utilities 4 BTIULO    BTIULO1    BTIULO15    BTIULO5    
Inpatient Medications 4 PSGSICHK    PSJBCMA    PSJDDUT    PSJHL11    
Asthma Tracking System 2 BATSUM    BATVSUM    
CMOP 1 PSXBLD    
Clinical Scheduling for Windows 1 BSDX41G    
Mental Health Social Services 1 AMHLEMD    
Patient Chart 1 BPCRXSIG    

Accessed By FileMan Db Calls, Total: 10

Package Total Routines
Pharmacy Data Management 7 PSS51    PSSFILED    PSSMIRPT    PSSMONT    PSSP110    PSSUTLPR    PSSUTLPZ    
IHS Changes To Pharmacy 2 APSPOST3    APSPOST7    
Inpatient Medications 1 PSGFILED    

Pointed To By FileMan Files, Total: 1

Package Total FileMan Files
Pharmacy Data Management 1 DRUG(#50)[200.8]    

Pointer To FileMan Files, Total: 2

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

Fields, Total: 13

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

  • INPUT TRANSFORM:  S X=$$UP^XLFSTR(X) K:$L(X)>9!($L(X)<1)!'(X?.ANP) X
  • LAST EDITED:  APR 03, 2006
  • HELP-PROMPT:  Answer must be 1-9 characters in length.
  • 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.
  • 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))
.5 SYNONYM 0;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>9!($L(X)<1)!($D(^PS(51,"B",X))) X
  • LAST EDITED:  APR 10, 1995
  • HELP-PROMPT:  ANSWER MUST BE 1-9 CHARACTERS IN LENGTH
  • DESCRIPTION:  
    This field is used to indicate the synonym if applicable.
  • TECHNICAL DESCR:  
    free text
  • 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," ")>3!($L(X)>20)!($L(X)<2) X
  • LAST EDITED:  MAY 01, 2001
  • 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>129600)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  MAY 13, 2000
  • HELP-PROMPT:  Type a Number between 0 and 129600, 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).

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 ), 3(HELP )
    $$UP^XLFSTR .01+1, .01+1

    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+1, .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), .01(XREF 1S), .01(XREF 1K), .01(XREF 2S)
    .01(XREF 2K), .01(XREF 3S), .01(XREF 3K), .5+1, .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), .5(XREF 1S), .5(XREF 1K)
    ^("0" ID1+1, ID1+1
    ^(9 .01(XREF 3S), .5(XREF 2S), 1(XREF 1S), 9(XREF 1S), .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), .01(XREF 3S), 1(XREF 1S), 1(XREF 1K), 9(XREF 1S), 9(XREF 1K)
    >> DA .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), .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*, 10+1*
    U ID1+1, ID1+1
    X .01+1*!, .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K), .01(XREF 3K), .5+1!, .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!, .01+1*!, .01(XREF 1S), .01(XREF 1K), .01(XREF 2S), .01(XREF 2K), .01(XREF 3K), .5+1!, .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 .01(XREF 3S), .5(XREF 2S), 1(XREF 1S), 1(XREF 1K), 9(XREF 1S), 9(XREF 1K), .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 |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  ICR |  Found Entries |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All