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

Package: Controlled Substances

Routine: PSDCORP2


Information

PSDCORP2 ;BIR/JPW-CS Correction Log Deleted Green Sheets ; 2 Aug 94

Source Information

Source file <PSDCORP2.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
VA FileMan 2 NOW^%DTC  ^DIR  
Kernel 1 ^%ZISC  

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 PSDCORP  

Entry Points

Name Comments DBIA/ICR reference
START ;
PRINT ;prints log
DONE
END
HDR ;header for log

External References

Name Field # of Occurrence
NOW^%DTC PRINT+1
^%ZISC END+2, END+3
^DIR DONE+1, HDR+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?20,"** NO GREEN SHEET DELETIONS REPORTED FROM ",$P(PSDATE,"^")," TO ",$P(PSDATE,"^",2)," **",!!
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !,?5,"=> ",PSD,!
  • Line Location: PRINT+3
Function Call: WRITE
  • Prompt: !,?5,"=> ",PSD,!!
  • Line Location: PRINT+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DONE+0
Function Call: WRITE
  • Prompt: !
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?25,"CS CORRECTION LOG - DELETED GREEN SHEETS",?115,"Page: ",PG,!,?25,"Report Range ",$P(PSDATE,"^")," to ",$P(PSDATE,"^",2),!,?25,"Report Printed: ",RPDT,!
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !!,?5,"=> NAOU",!,?57,"DATE",?74,"CORRECTED BY"
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,"DISP #",?12,"DRUG",?54,"CORRECTED",?75,"PHARMACIST",?100,"ENTERED BY PHARMACIST",!,LN,!
  • Line Location: HDR+4
Routine Call
  • DIR
  • Line Location:
    • DONE+1
    • HDR+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" START+8, PRINT+1
^PSD(58.8 - [#58.8] START+5
^PSD(58.87 - [#58.87] START+2, START+3
^PSDRUG - [#50] START+4
^TMP("PSDCOR2" START+1!, START+9*, PRINT+2, PRINT+3, PRINT+4, PRINT+5, END+2!
^VA(200 - [#200] START+6, START+7

Label References

Name Line Occurrences
DONE PRINT+2
HDR PRINT+2, PRINT+3, PRINT+6

Naked Globals

Name Field # of Occurrence
^(0 START+4, START+5, START+6, START+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% PRINT+1, END!
%DT END!
%H END!
%I END!
C END!
DA END!, HDR+1!
DIC END!
DIE END!
DIR DONE+1!, END!, HDR+1!
DIR("A" DONE+1*
DIR(0 DONE+1*, HDR+1*
DIROUT END!
DIRUT DONE+1!, END!
DR END!
DRUG START+4*, END!
DRUGN START+4*, START+9, END!
DTOUT END!
DUOUT END!
IO("Q" END!
IOF DONEHDR+2
IOSL PRINT+6
IOST DONEDONE+1, HDR+1
JJ PRINT+4*, PRINT+5, END!
LN PRINT+1!*, END!, HDR+4
NAOU START+5*, END+1!
NAOUN START+5*, START+9, END+1!
NODE START+3*, START+4, START+5, START+6, START+7, PRINT+5*, PRINT+7, END+1!
NUM PRINT+4*, PRINT+5, PRINT+7, END+1!
PG PRINT+1*, END+1!, HDR+1, HDR+2*
PHARM START+7*, END+1!
PHARMN START+7*, START+9, END+1!
POP END+1!
PSD START+2*, START+8, PRINT+3*, PRINT+4, PRINT+5, PRINT+6, END+1!
PSDA START+2*, START+3, START+9, END+1!
PSDATE PRINT+2, END+1!, HDR+2
PSDED START+2, END+1!
PSDEV END+1!
PSDOUT PRINT+1*, PRINT+3, PRINT+4, PRINT+6, DONE+1, END+1!, HDR+1*
PSDPN START+3*, START+9, END+1!
PSDS START+2, END+1!
PSDSD START+2, END+1!
PSDSN END+1!
PSDT START+8*, START+9, END+1!
RPDT PRINT+1*, END+1!, HDR+2
TECH START+6*, END+1!
TECHN START+6*, START+9, END+1!
TYPE START+2, END+1!
X END+1!
Y START+8*, PRINT+1*, END+1!, HDR+1
ZTDESC END+2!
ZTIO END+2!
>> ZTQUEUED END+3
>> ZTREQ END+3*
ZTRTN END+2!
ZTSAVE END+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All