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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSDRPGS

Package: Controlled Substances

Routine: PSDRPGS


Information

PSDRPGS ;BIR/JPW-Reprint Green Sheet (VA FORM 10-2638) ; 29 Aug 94

Source Information

Source file <PSDRPGS.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 3 ^DIC  Y^DIQ  ^DIR  
Controlled Substances 2 START^PSDRPGS2  ^PSDSET  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSD REPRINT 2638  

Entry Points

Name Comments DBIA/ICR reference
ASKD ;ask dispensing location
GS1 ;ask gs # range
DEV ;ask device and queue info
END
SAVE ;save var

External References

Name Field # of Occurrence
^%ZIS DEV+4
HOME^%ZIS DEV+5
^%ZISC END+2
^%ZTLOAD DEV+5
^DIC ASKD+4
Y^DIQ DEV+3
^DIR GS1+4
START^PSDRPGS2 DEV+6
^PSDSET PSDRPGS+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),!!,?9,"** Please contact your Pharmacy Coordinator for access to",!,?12,"reprint Green Sheets.",!!,"PSJ RPHARM or PSJ PHARM TECH or PSD TECH ADV security key required.",!
  • Line Location: PSDRPGS+6
Function Call: WRITE
  • Prompt: !
  • Line Location: ASKD+3
Function Call: WRITE
  • Prompt: !!,"You may enter a Green Sheet # list and/or a Green Sheet # range.",!
  • Line Location: GS1+1
Function Call: WRITE
  • Prompt: "NOTE: This response must be a list or range, e.g., 1,3,5 or 2-4,8.",!
  • Line Location: GS1+2
Function Call: WRITE
  • Prompt: $C(7),!!,"This report now prints on plain paper.",!,"Please check your printer before starting this report.",!!,"You may queue this report to print at a later time.",!!
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR REPORT PRINTED!"
  • Line Location: DEV+4
Routine Call
  • %ZIS
  • Line Location:
    • DEV+4
Routine Call
  • %ZIS
  • Line Location:
    • DEV+5
Routine Call
  • DIC
  • Line Location:
    • ASKD+4
Routine Call
  • DIR
  • Line Location:
    • GS1+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(58.8 DEV+3
^PSD(58.8 - [#58.8] ASKD+2, ASKD+5, DEV+3
^XUSEC("PSD TECH ADV" PSDRPGS+5
^XUSEC("PSJ PHARM TECH" PSDRPGS+5
^XUSEC("PSJ RPHARM" PSDRPGS+5

Label References

Name Line Occurrences
END ASKD+4, GS1+4, DEV+4, DEV+5
GS1 ASKD+2
SAVE DEV+5

Naked Globals

Name Field # of Occurrence
^(2.5 ASKD+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS DEV+4!*, END!
%ZIS("B" DEV+4*
ANS END!
ASK ASKD+2*, ASKD+5*, END!
C DEV+3*, END!
CNT END!
D END!
DA ASKD+3!, GS1+3!, END!
DIC ASKD+3!*, ASKD+4!, END!
DIC("A" ASKD+3*
DIC("B" ASKD+3*
DIC("S" ASKD+3*
DIC(0 ASKD+3*
DIE END!
DIR GS1+3!, GS1+4!, END!
DIR("A" GS1+3*
DIR(0 GS1+3*
DIROUT END!
DIRUT GS1+3!, GS1+4, END!
DR END!
DTOUT END!
DUOUT END!
DUZ PSDRPGS+5
EXP END!
EXPD END!
IO DEV+6
IO("Q" DEV+4!, DEV+5!
IOP DEV+4!
LINE END!
LOT END!
NAOU END!
NAOUN END!
NODE END!
NODE1 END!
OK PSDRPGS+5*, PSDRPGS+6!, END+1!
ORD END+1!
ORDN END+1!
POP DEV+4!, END+1!
PRT ASKD+2*, ASKD+5*, END+1!
PSD END+1!
PSD1 GS1+5*, END+1!
PSD1( GS1+5*
PSDA END+1!
PSDBY END+1!
PSDBYN END+1!
PSDCNT END+1!
PSDCPI DEV+2*, END+1!
PSDDT END+1!
PSDEV DEV+3*, DEV+4, END+1!
PSDOUT END+1!
PSDPN END+1!
PSDR END+1!
PSDRN END+1!
PSDS ASKD+1*, ASKD+2, ASKD+5*, DEV+3, END+1!
>> PSDSITE PSDRPGS+4, ASKD+1, ASKD+2, ASKD+3, ASKD+5*
PSDSN ASKD+1*, ASKD+5*, END+1!
PSDT END+1!
PSDTR END+1!
PSDTRN END+1!
PSDW END!
QTY END+1!
REPRINT END+1!, SAVE+1
SITE END+1!
STAT END+1!
TRANS END+1!
U ASKD+1, ASKD+2, ASKD+3, ASKD+5
Y ASKD+4, ASKD+5, DEV+3*, END+1!
Y( GS1+5!
ZTDESC DEV+5*, END+1!
ZTDTH DEV+5!, END+1!
ZTIO DEV+5!
>> ZTQUEUED END+2
>> ZTREQ END+2*
ZTRTN DEV+5*, END+1!
ZTSAVE DEV+5!, END+1!
ZTSAVE("ASK" SAVE+1*
ZTSAVE("PSD1(" SAVE+2*
ZTSAVE("PSDCPI" SAVE+1*
ZTSAVE("PSDS" SAVE+1*
ZTSAVE("PSDSN" SAVE+1*
ZTSAVE("REPRINT" SAVE+1*
ZTSK DEV+5!, END+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All