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: PSDOPTZ

Package: Controlled Substances

Routine: PSDOPTZ


Information

PSDOPTZ ;BIR/LTL-Review OP Transactions by Rx # ; 29 Aug 94

Source Information

Source file <PSDOPTZ.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 2 ^%ZISC  $$S^%ZTLOAD  
Registration 2 KVAR^VADPT  PID^VADPT6  
VA Fileman 2 Y^DIQ  ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSDOPTX  

Entry Points

Name Comments DBIA/ICR reference
HEADER ;prints header info
END
LOOP

External References

Name Field # of Occurrence
^%ZISC END+2
$$S^%ZTLOAD HEADER+2
Y^DIQ LOOP+8
^DIR END+1, HEADER+1
KVAR^VADPT END+3
PID^VADPT6 LOOP+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,Y,?19
  • Line Location: LOOP+6
Function Call: WRITE
  • Prompt: " ("_VA("BID")_")",?60
  • Line Location: LOOP+10
Function Call: WRITE
  • Prompt: Y
  • Line Location: LOOP+11
Function Call: WRITE
  • Prompt: Y
  • Line Location: LOOP+12
Function Call: WRITE
  • Prompt: Y
  • Line Location: LOOP+13
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: !,"Outpatient Activity from Rx # ",PSDRX(1)," to Rx # ",PSDRX(3),?70,"PAGE: ",PG,!,LN,!,"Date Posted",?19,"Rx#",?28,"Patient",?60,"Date Released",!,LN
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !,PSDU," (continued)",!
  • Condition for execution: $G(PSDT(1))
  • Line Location: HEADER+3
Routine Call
  • DIR
  • Line Location:
    • END+1
    • HEADER+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" LOOP+6, LOOP+11, LOOP+12, LOOP+13
^DD(58.81 LOOP+8
^PSD(58.81 - [#58.81] LOOP, LOOP+1, LOOP+3
^PSRX - [#52] LOOP+7, LOOP+11, LOOP+12, LOOP+13
^TMP("PSD" PSDOPTZ+3, END+3!
^VA(200 - [#200] LOOP+14, HEADER+2

Label References

Name Line Occurrences
END PSDOPTZ+3
HEADER LOOP+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
C LOOP+8~*
>> DFN LOOP+7*, LOOP+8
DIR HEADER+1!
DIR("A" END+1*
DIR(0 END+1*, HEADER+1*
DUZ HEADER+2
IO("Q" END+3!
IOF END, HEADER+3
IOSL LOOP+4
IOST LOOP, END, END+1, HEADER+1
>> LN LOOP+16, HEADER+3*
>> PG HEADER+1, HEADER+3*
>> PSD PSDOPTZ+2*, PSDOPTZ+3*, LOOP+5
>> PSDLOC LOOP+2
>> PSDOUT PSDOPTZ+3, LOOP, LOOP+4, END+1, HEADER+1*, HEADER+2*
>> PSDR(2 LOOP+1*, LOOP+2, LOOP+6, LOOP+14
>> PSDR(4 LOOP+3*, LOOP+7, LOOP+9, LOOP+11, LOOP+12, LOOP+13, LOOP+15
>> PSDRX PSDOPTZ+2*, PSDOPTZ+3*, LOOP*
>> PSDRX(1 HEADER+3
>> PSDRX(2 LOOP
>> PSDRX(3 HEADER+3
>> PSDRX(4 PSDOPTZ+2, PSDOPTZ+3
>> PSDRX(5 LOOP*, LOOP+1, LOOP+3
>> PSDT(1 PSDOPTZ+3*, LOOP+5*, HEADER+3
>> PSDU PSDOPTZ+2*, PSDOPTZ+3*, LOOP+5, HEADER+3
>> PSDU(1 PSDOPTZ+3*, LOOP+2
U LOOP+2, LOOP+6, LOOP+7, LOOP+8, LOOP+9, LOOP+11, LOOP+12, LOOP+13, LOOP+14, LOOP+15
, HEADER+2
>> VA("BID" LOOP+10, END+3!
>> VA("PID" END+3!
>> Y LOOP+6*, LOOP+8*, LOOP+9, LOOP+11*, LOOP+12*, LOOP+13*, 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