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 |  Local Variables  | All
Print Page as PDF
Routine: PSDADJW

Package: Controlled Substances

Routine: PSDADJW


Information

PSDADJW ;BIR/LTL-Review Adjustment Transactions for a Drug; 2 Nov 94 [ 11/02/94 12:19 PM ]

Source Information

Source file <PSDADJW.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 3 ^%ZISC  $$S^%ZTLOAD  $$FMTE^XLFDT  
VA FileMan 1 ^DIR  

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 PSDADJD  

Entry Points

Name Comments DBIA/ICR reference
START ;compiles and prints output
LOOP
END
HEADER ;prints header info

External References

Name Field # of Occurrence
^%ZISC END+2
$$S^%ZTLOAD HEADER+2
^DIR END+1, HEADER+1
$$FMTE^XLFDT LOOP+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Task #",$G(ZTSK),", ",$G(ZTDESC)," was stopped by ",$P($G(^VA(200,+$G(DUZ),0)),U),"."
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !,"Adjustments from ",PSDTB(2)," to ",PSDTB(3),?70,"PAGE: ",PG,!,LN,!?2,"Date",?18,"Drug",?64,"QTY",?69,"Reason",?116,"Pharmacist",!,LN,!
  • Line Location: HEADER+3
Routine Call
  • DIR
  • Line Location:
    • END+1
    • HEADER+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSD(58.81 - [#58.81] LOOPLOOP+1, LOOP+5
^VA(200 - [#200] LOOP+9, HEADER+2

Label References

Name Line Occurrences
END LOOP
HEADER START+1, LOOP+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DIR HEADER+1!
DIR("A" END+1*
DIR(0 END+1*, HEADER+1*
DUZ HEADER+2
IO("Q" END+2!
IOF ENDHEADER+3
IOSL LOOP+6
IOST ENDEND+1, HEADER+1
JJ START+1~, LOOP*, LOOP+1
KK START+1~, LOOP+1*, LOOP+2
LN START+1~, HEADER+3*
NN START+1~, LOOP+1*, LOOP+4, LOOP+5
PG START+1~*, HEADER+1, HEADER+3*
>> PSDA( LOOP+3, LOOP+7
>> PSDLOC LOOP
>> PSDOUT START+1*, LOOPLOOP+6, END+1, HEADER+1*, HEADER+2*
PSDR START+1~, LOOP+2*, LOOP+3, LOOP+7
PSDR(1 LOOP+4*
PSDR(2 LOOP+5*, LOOP+7, LOOP+8, LOOP+9
>> PSDT LOOP*, LOOP+1
>> PSDTB(1 LOOP
>> PSDTB(2 HEADER+3
>> PSDTB(3 HEADER+3
U LOOP+7, LOOP+8, LOOP+9, HEADER+2
>> Y HEADER+1
>> ZTDESC HEADER+2
>> ZTQUEUED END+2
>> ZTREQ END+2*
>> ZTSK HEADER+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All