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

Package: Controlled Substances

Routine: PSDOPTN


Information

PSDOPTN ;BIR/LTL - Review OP Transactions for a Drug (cont.) ; 24 Jan 95

Source Information

Source file <PSDOPTN.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  (,$$S)^%ZTLOAD  
Registration 2 KVAR^VADPT  PID^VADPT6  
VA FileMan 2 Y^DIQ  ^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 PSDOPTS  

Entry Points

Name Comments DBIA/ICR reference
DEV ;device
START ;compiles
END
HEADER
SAVE ;

External References

Name Field # of Occurrence
^%ZIS DEV+1
HOME^%ZIS DEV+2
^%ZISC END+2
^%ZTLOAD DEV+2
$$S^%ZTLOAD HEADER+1
Y^DIQ PSDOPTN+15, START+24
^DIR PSDOPTN+8, PSDOPTN+13, END+1, HEADER
KVAR^VADPT END+3
PID^VADPT6 START+25

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PSDOPTN+8
Function Call: WRITE
  • Prompt: !
  • Line Location: PSDOPTN+13
Function Call: WRITE
  • Prompt: !
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR OUTPUT PRINTED!"
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !!,"Nothing to Report.",!!
  • Line Location: START+29
Function Call: WRITE
  • Prompt: !!,"Drug => ",PSDT
  • Line Location: START+31
Function Call: WRITE
  • Prompt: !!,PSDT," (continued)"
  • Line Location: START+35
Function Call: WRITE
  • Prompt: ?20,Y
  • Line Location: START+38
Function Call: WRITE
  • Prompt: !
  • Line Location: END+1
Function Call: WRITE
  • Prompt: !!,"Task #",$G(ZTSK),", ",$G(ZTDESC)," was stopped by ",$P($G(^VA(200,+$G(DUZ),0)),U),"."
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: !,"Outpatient Activity from ",PSDTB(2)," to ",PSDTB(3),?70,"PAGE: ",PG,!,LN,!,"Rx#",?10,"QTY",?20,"Fill Date",?40,"Patient",!,LN
  • Line Location: HEADER+2
Routine Call
  • %ZIS
  • Line Location:
    • DEV+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV+2
Routine Call
  • DIR
  • Line Location:
    • PSDOPTN+8
    • PSDOPTN+13
    • END+1
    • HEADER

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" START+38
^DD(58.8 PSDOPTN+15
^DD(58.81 START+24
^PSD(58.8 - [#58.8] PSDOPTN+15
^PSD(58.81 - [#58.81] START+16
^PSDRUG - [#50] START+6
^PSRX - [#52] START+5, START+10, START+11, START+13, START+21, START+23
^PSRX("AD" START+3, START+4, START+8
^TMP("PSD" START+7
^TMP("PSDO" START+27*, START+29, START+30, START+32, START+34, START+37, END+3!
^VA(200 - [#200] HEADER+1

Label References

Name Line Occurrences
END PSDOPTN+8, PSDOPTN+13, DEV+2, START+29
HEADER START+1, START+31, START+35
SAVE DEV+2

Naked Globals

Name Field # of Occurrence
^(6 START+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS DEV+1~*
%ZIS("B" DEV+1*
C PSDOPTN+15*, START+24~*
>> DFN START+24*
DIR PSDOPTN+13!, HEADER!
DIR("?" PSDOPTN+8*, PSDOPTN+12*
DIR("A" PSDOPTN+8*, PSDOPTN+11*, END+1*
DIR(0 PSDOPTN+7*, PSDOPTN+10*, END+1*, HEADER*
DT START+20
DUZ HEADER+1
IO START+1
IO("Q" DEV+1!, DEV+2, END+3!
IOF ENDHEADER+2
IOP DEV+1~
IOSL START+31, START+35
IOST START+3, ENDEND+1, HEADER
LN START+1!, HEADER+2*
PG START+1~*, HEADERHEADER+2*
POP DEV+1~
PSDCMOP START+9*, START+11*, START+26*, END+3!
PSDCMP START+10*, START+11, START+28!
>> PSDEV PSDOPTN+15*, DEV+1
>> PSDLOC PSDOPTN+15
>> PSDOUT DEV+2*, START+1*, START+30, START+31, START+32, START+34, START+35, END+1, HEADER*, HEADER+1*
PSDR START+1~
>> PSDT PSDOPTN+9*, PSDOPTN+10, START+1*, START+3*, START+4, START+8, START+20, START+27, START+30*, START+31
START+32, START+34, START+35, START+37
>> PSDT(1 START+3*, START+4*, START+5, START+8, START+10, START+11, START+13, START+16, START+21, START+23
START+31*, START+32*, START+34, START+36, START+37
>> PSDT(2 START+6*, START+7, START+27, START+33*, START+34*, START+36, START+37
>> PSDT(3 START+15*, START+16*, START+17, START+19*, START+21*, START+37*, START+38, START+39
>> PSDT(4 START+7*, START+8*, START+11, START+13, START+16, START+21, START+23, START+27
>> PSDT(5 START+5*, START+6, START+23, START+24, START+27
>> PSDT(6 START+23*, START+27
>> PSDT(7 START+25*, START+27
>> PSDT(8 START+19*, START+20, START+21*
>> PSDTB PSDOPTN+9*
>> PSDTB(1 PSDOPTN+13*, PSDOPTN+14*, START+3
>> PSDTB(2 PSDOPTN+9*, PSDOPTN+12, HEADER+2
>> PSDTB(3 PSDOPTN+13*, HEADER+2
U START+6, START+11, START+13, START+16, START+21, START+23, START+24, START+27, START+38, START+39
HEADER+1
>> VA("BID" START+25, END+3!
>> VA("PID" END+3!
>> Y PSDOPTN+8, PSDOPTN+9, PSDOPTN+13, PSDOPTN+15*, START+24*, START+25, START+38*, HEADER
>> Y(0 PSDOPTN+9, PSDOPTN+13
ZTDESC DEV+2~*, HEADER+1
ZTDTH DEV+2~
ZTIO DEV+2~
>> ZTQUEUED END+2
>> ZTREQ END+2*
ZTRTN DEV+2~*
ZTSAVE DEV+2~
ZTSAVE("PSDLOC" SAVE+2*
ZTSAVE("PSDT" SAVE+2*
ZTSAVE("PSDTB" SAVE+2*
ZTSAVE("PSDTB(" SAVE+2*
ZTSAVE("^TMP(""PSD"",$J," SAVE+1*
ZTSK DEV+2~, HEADER+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All