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

Package: Adverse Reaction Tracking

Routine: GMRAPST4


Information

GMRAPST4 ;HIRMFO/WAA- PRINT FREQUENCY OF DIST OVR DT BY DC ;6/17/08 09:28

Source Information

Source file <GMRAPST4.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Kernel 4 ^%ZTLOAD  $$FMTE^XLFDT  $$REPEAT^XLFSTR  KILL^XUSCLEAN  
Adverse Reaction Tracking 3 DT^GMRAPL  (CLOSE,DEV)^GMRAUTL  ($$PRDTST,$$STPCK)^GMRAUTL1  
VA FileMan 2 NOW^%DTC  ^DIR  
National Drug File 1 C^PSN50P65  

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
Adverse Reaction Tracking 1 GMRA PRINT FREQUENCY DR CL  

Entry Points

Name Comments DBIA/ICR reference
EN1 ; This routine will loop through the ADT entry point to get all
; the entries in that date range.
EXIT ; Exit of program kill cleanup
PRINTER ;Select printer
PRINT ;Queue point for report
HEAD ; Print header information

External References

Name Field # of Occurrence
NOW^%DTC PRINT+2
^%ZTLOAD PRINTER+4
^DIR HEAD+5
DT^GMRAPL EN1+5
CLOSE^GMRAUTL PRINT+43
DEV^GMRAUTL PRINTER+1
$$PRDTST^GMRAUTL1 PRINT+10
$$STPCK^GMRAUTL1 HEAD+17
C^PSN50P65 PRINT+35
$$FMTE^XLFDT HEAD+11, HEAD+13
$$REPEAT^XLFSTR HEAD+15
KILL^XUSCLEAN EXIT+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Select an Observed date range for this report."
  • Line Location: EN1+4
Function Call: WRITE
  • Prompt: !
  • Line Location: PRINTER+1
Function Call: WRITE
  • Prompt: !,"PLEASE TRY LATER"
  • Line Location: PRINTER+1
Function Call: WRITE
  • Prompt: !!,$S($D(ZTSK):"Request queued...",1:"Request NOT queued please try Later.")
  • Line Location: PRINTER+5
Function Call: WRITE
  • Prompt: !!,?22,"Total number of records processed ",GMRATOT
  • Line Location: PRINT+42
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HEAD+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HEAD+10
Function Call: WRITE
  • Prompt: "Report Date: ",$P($$FMTE^XLFDT(GMRADPDT),"@"),?70,"Page: ",GMRAPG
  • Line Location: HEAD+11
Function Call: WRITE
  • Prompt: !,?20,"Frequency Distribution of Drug Classes"
  • Line Location: HEAD+12
Function Call: WRITE
  • Prompt: !,?25,"From: ",$$FMTE^XLFDT(GMAST,"2D")," To: ",$$FMTE^XLFDT(GMAEN,"2D")
  • Line Location: HEAD+13
Function Call: WRITE
  • Prompt: !,"Drug Class",?43,"Number"
  • Line Location: HEAD+14
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",79)
  • Line Location: HEAD+15
Routine Call
  • DIR
  • Line Location:
    • HEAD+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(120.8 - [#120.8] PRINT+9, PRINT+12, PRINT+14, PRINT+16
^GMR(120.85 - [#120.85] PRINT+6, PRINT+7, PRINT+8
^TMP($J EXIT+1!, PRINT+4!, PRINT+17*, PRINT+22, PRINT+25, PRINT+26, PRINT+27*, PRINT+31, PRINT+33, PRINT+36

Label References

Name Line Occurrences
EXIT EN1+5
HEAD PRINT+29, PRINT+39
PRINT PRINTER+7
PRINTER EN1+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DIR HEAD+5~
DIR(0 HEAD+5*
GMAEN EN1+2~, PRINT+6, HEAD+13
GMAST EN1+2~, PRINT+3, HEAD+13
GMRADATE EN1+2~, PRINT+3*, PRINT+6*, PRINT+7
>> GMRADC PRINT+13*, PRINT+14*, PRINT+16, PRINT+26*, PRINT+27, PRINT+30*, PRINT+31*, PRINT+33, PRINT+38
GMRADC0 EN1+2~, PRINT+32*, PRINT+36*, PRINT+37, PRINT+38
GMRADCN EN1+2~, PRINT+16*, PRINT+17, PRINT+23*, PRINT+25*, PRINT+26, PRINT+27, PRINT+32*, PRINT+33*, PRINT+35
PRINT+36
GMRADPDT EN1+2~, PRINT+2*, HEAD+11
>> GMRAOUT EN1+3*, EN1+5, PRINTER+1*, PRINT+21, PRINT+31, PRINT+33, PRINT+39, HEAD+2, HEAD+4, HEAD+5*
HEAD+9, HEAD+17*
>> GMRAPA PRINT+11*, PRINT+12, PRINT+14, PRINT+16
>> GMRAPA(0 PRINT+12*
>> GMRAPA1 PRINT+7*, PRINT+8
>> GMRAPA1(0 PRINT+8*, PRINT+9, PRINT+10, PRINT+11
>> GMRAPG PRINT+3*, HEAD+1, HEAD+3, HEAD+4, HEAD+10, HEAD+11, HEAD+16*
>> GMRATAB PRINT+32*, PRINT+37*, PRINT+38
GMRATOT EN1+2~, PRINT+5*, PRINT+15*, PRINT+42
GMRAZIS PRINTER+1!
IO PRINTER+7
IO("Q" PRINTER+2
IO(0 PRINTER+7
IOF HEAD+3, HEAD+10
IOSL HEAD+1
IOST HEAD+2
>> POP PRINTER+1
U PRINT+9, PRINT+10, PRINT+11, PRINT+16, PRINT+37, PRINT+38
>> X PRINT+2
Y HEAD+5, HEAD+6!
>> ZTDESC PRINTER+4*
>> ZTQUEUED HEAD+17
>> ZTRTN PRINTER+3*
>> ZTSAVE("GMAEN" PRINTER+3*
>> ZTSAVE("GMAST" PRINTER+3*
>> ZTSAVE("GMRAOUT" PRINTER+3*
>> ZTSK PRINTER+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All