Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: PSSMIRPT

Package: Pharmacy Data Management

Routine: PSSMIRPT


Information

PSSMIRPT ;BIR/RTR-Medication Instruction Report ;07/03/07

Source Information

Source file <PSSMIRPT.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA Fileman 4 GETS^DIQ  ^DIR  ^DIWP  ^DIWW  
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Pharmacy Data Management 1 PSS MED INSTRUCTION REPORT  

Entry Points

Name Comments DBIA/ICR reference
MESS ;
START ;Print Medication Instruction File report
EN ;Prompts for Medication Instruction File Report
END ;
HD ;Report Header

External References

Name Field # of Occurrence
^%ZIS EN+17
^%ZISC END+7
^%ZTLOAD EN+18
GETS^DIQ START+10
^DIR EN+9, EN+10, EN+14, EN+15, EN+17, EN+19, END+3, HD+1
^DIWP START+21, START+23, START+29, START+31
^DIWW START+21, START+23, START+29, START+31

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report displays entries from the MEDICATION INSTRUCTION (#51) File. It"
  • Line Location: EN+1
Function Call: WRITE
  • Prompt: !,"can be run for all Medication Instructions or only Medication Instructions"
  • Line Location: EN+2
Function Call: WRITE
  • Prompt: !,"without a FREQUENCY (IN MINUTES). If a FREQUENCY (IN MINUTES) cannot be"
  • Line Location: EN+3
Function Call: WRITE
  • Prompt: !,"determined for an order, the daily dosage check cannot occur for that order."
  • Line Location: EN+4
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+9
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+14
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+16
Function Call: WRITE
  • Prompt: !!,"Report queued to print.",!
  • Line Location: EN+18
Function Call: WRITE
  • Prompt: PSSMXREP,!
  • Line Location: START+20
Function Call: WRITE
  • Prompt: PSSMXREP,!
  • Line Location: START+22
Function Call: WRITE
  • Prompt: !
  • Line Location: START+24
Function Call: WRITE
  • Prompt: PSSMXROO,!
  • Line Location: START+28
Function Call: WRITE
  • Prompt: PSSMXROO,!
  • Line Location: START+30
Function Call: WRITE
  • Prompt: !
  • Line Location: START+32
Function Call: WRITE
  • Prompt: !!,"No Medication Instructions found without frequencies.",!
  • Line Location: END+1
Function Call: WRITE
  • Prompt: !!,"End of Report.",!
  • Line Location: END+2
Function Call: WRITE
  • Prompt: !!,"End of Report."
  • Line Location: END+3
Function Call: WRITE
  • Prompt: !
  • Line Location: END+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: END+5
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HD+2
Function Call: WRITE
  • Prompt: !,"MEDICATION INSTRUCTION FILE REPORT (All)"
  • Line Location: HD+3
Function Call: WRITE
  • Prompt: !,"MEDICATION INSTRUCTIONS WITHOUT FREQUENCY REPORT"
  • Line Location: HD+4
Function Call: WRITE
  • Prompt: ?$S(PSSMXLNG=80:68,1:120),"PAGE: "_PSSMXCT,!,PSSMXLIN,!
  • Line Location: HD+5
Function Call: WRITE
  • Prompt: !!,"Nothing queued to print.",!
  • Line Location: MESS+1
Routine Call
  • DIR
  • Line Location:
    • EN+9
    • EN+10
    • EN+14
    • EN+15
    • EN+17
    • EN+19
    • END+3
    • HD+1
Routine Call
  • %ZIS
  • Line Location:
    • EN+17

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(51 - [#51] GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(51 - [#51] START+6, START+7
^UTILITY($J START+21!, START+23!, START+29!, START+31!

Label References

Name Line Occurrences
HD START+5, START+14, START+16, START+24, START+32, START+34, START+36, START+38
MESS EN+9, EN+10, EN+14, EN+15, EN+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS EN+5~, EN+17!*, EN+18!
DIR EN+5~, EN+6!, EN+9!, EN+10!, EN+12!, EN+14!, EN+15!, EN+17!, EN+19!, END+3!
, HD+1!
DIR("?" EN+7*, EN+8*, EN+13*
DIR("A" EN+6*, EN+9*, EN+10*, EN+12*, EN+14*, EN+15*, EN+17*, EN+19*, END+3*, HD+1*
DIR("B" EN+6*, EN+12*
DIR(0 EN+6*, EN+9*, EN+10*, EN+12*, EN+14*, EN+15*, EN+17*, EN+19*, END+3*, HD+1*
DIROUT EN+5~
DIRUT EN+5~
DIWF START+21~*, START+23~*, START+29~*, START+31~*
DIWL START+21~*, START+23~*, START+29~*, START+31~*
DIWR START+21~*, START+23~*, START+29~*, START+31~*
DTOUT EN+5~, EN+9, EN+14
DUOUT EN+5~, EN+9, EN+14
IO START+1
IO("Q" EN+18
IOF END+5, HD+2
IOP EN+5~, EN+17!
IOSL START+14, START+16, START+24, START+32, START+34, START+36, START+38
IOST START+3
POP EN+5~, EN+17!
PSSMXCT START+2~, START+3*, HD+1, HD+5*
PSSMXDEV START+2~, START+3*, END+2, END+3, END+4, HD+1
PSSMXLIN START+2~, START+4!*, HD+5
PSSMXLNG EN+5~, EN+16*, START+4, START+19, START+27, END+6!, HD+5
PSSMXNOF START+2~, START+3*, START+12*, END+1
PSSMXOUT START+2~, START+3*, START+6, START+7, START+14, START+16, START+24, START+32, START+34, START+36
, START+38, END+1, END+3, HD+1*
PSSMXQ START+2~, START+6*, START+7
PSSMXQEN START+2~, START+7*, START+9
PSSMXRA START+2~, START+8!, START+9*, START+10, START+11, START+13, START+15, START+18, START+26, START+33
, START+35, START+37
PSSMXRAA START+2~, START+8!
PSSMXRAA(51 START+11, START+13, START+15, START+18, START+26, START+33, START+35, START+37
PSSMXREP START+2~, START+8!, START+18*, START+20, START+21, START+22, START+23
PSSMXROO START+2~, START+8!, START+26*, START+28, START+29, START+30, START+31
PSSMXRP EN+5~, EN+11*, START+11, END+1, END+6!, HD+3, HD+4
X EN+5~, START+21~*, START+23~*, START+29~*, START+31~*
Y EN+5~, EN+6!, EN+9!, EN+10!, EN+11, EN+12!, EN+14!, EN+15!, EN+16, EN+17!
, EN+19!, HD+1!
ZTDESC EN+5~, EN+18*
>> ZTQUEUED END+7
>> ZTREQ END+7*
ZTRTN EN+5~, EN+18*
ZTSAVE EN+5~
ZTSAVE("PSSMXLNG" EN+18*
ZTSAVE("PSSMXRP" EN+18*
ZTSK EN+5~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All