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 |  Marked Items  | All
Print Page as PDF
Routine: GMRAPST2

Package: Adverse Reaction Tracking

Routine: GMRAPST2


Information

GMRAPST2 ;HIRMFO/WAA- PRINT SUM LISTING OF OUT COMES ;3/5/97 14:50

Source Information

Source file <GMRAPST2.m>

Call Graph

Call Graph

Call Graph Total: 9

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  

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 SUM OF OUTCOME  

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
TEXT ;;these are the labels that will denote the field data

External References

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

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Select an Observed date range for this report."
  • Line Location: EN1+3
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: !,?30," ---------------------------------------"
  • Line Location: PRINT+34
Function Call: WRITE
  • Prompt: !,?32,"Totals: ",?42,GMRAY,?53,"| ",GMRAN,?63,"| ",GMRANU
  • Line Location: PRINT+35
Function Call: WRITE
  • Prompt: !!,?22,"Total number of records processed ",GMRATOT
  • Line Location: PRINT+36
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: !,?30,"Summary of Outcomes"
  • 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: !,?42,"Yes",?55,"No",?65,"No Response"
  • 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+8
^GMR(120.85 - [#120.85] PRINT+5, PRINT+6, PRINT+7

Label References

Name Line Occurrences
EXIT EN1+4
HEAD PRINT+20
PRINT PRINTER+7
PRINTER EN1+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DIR HEAD+5~
DIR(0 HEAD+5*
>> GMAEN PRINT+5, HEAD+13
>> GMAST PRINT+3, HEAD+13
>> GMRADATE PRINT+3*, PRINT+5*, PRINT+6
>> GMRADPDT PRINT+2*, HEAD+11
>> GMRALAB PRINT+11*, PRINT+22*
>> GMRALINE PRINT+11*, PRINT+12, PRINT+22*, PRINT+24, PRINT+25, PRINT+26
>> GMRAN PRINT+21*, PRINT+30*, PRINT+35
>> GMRANU PRINT+21*, PRINT+32*, PRINT+35
>> GMRAOUT EN1+2*, EN1+4, PRINTER+1*, PRINT+19, HEAD+2, HEAD+4, HEAD+5*, HEAD+9, HEAD+17*
GMRAP PRINT+12*, PRINT+13, PRINT+14, PRINT+15, PRINT+23~, PRINT+24*, PRINT+27, PRINT+28, PRINT+29, PRINT+30
PRINT+31, PRINT+32
>> GMRAPA1 PRINT+6*, PRINT+7
>> GMRAPA1(0 PRINT+7*, PRINT+8, PRINT+9, PRINT+13, PRINT+14, PRINT+15
>> GMRAPG PRINT+3*, HEAD+1, HEAD+3, HEAD+4, HEAD+10, HEAD+11, HEAD+16*
>> GMRARRAY("NO" PRINT+4*, PRINT+14*, PRINT+29, PRINT+30
>> GMRARRAY("NULL" PRINT+4*, PRINT+15*, PRINT+31, PRINT+32
>> GMRARRAY("YES" PRINT+4*, PRINT+13*, PRINT+27, PRINT+28
GMRATAB PRINT+23~, PRINT+25*, PRINT+26
>> GMRATOT PRINT+4*, PRINT+10*, PRINT+36
>> GMRAY PRINT+21*, PRINT+28*, PRINT+35
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+8, PRINT+9, PRINT+13, PRINT+14, PRINT+15, PRINT+27, PRINT+28, PRINT+29, PRINT+30, PRINT+31
PRINT+32
>> 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

Marked Items

Name Field # of Occurrence
$T(TEXT+GMRALAB PRINT+11, PRINT+22
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All