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

Package: Adverse Reaction Tracking

Routine: GMRAPST6


Information

GMRAPST6 ;HIRMFO/WAA- ADR OUTCOME REPORT ;3/5/97 15:16

Source Information

Source file <GMRAPST6.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

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Adverse Reaction Tracking 1 GMRA PRINT ADR OUTCOME  

Entry Points

Name Comments DBIA/ICR reference
HEAD ; Print header information
PRINTER ;Select printer
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
SIGN(CNT,GMRAREC) ; Print Sign/Symptoms
PRINT ;Queue point for report

External References

Name Field # of Occurrence
NOW^%DTC PRINT+3
^%ZTLOAD PRINTER+4
^DIR HEAD+5
DT^GMRAPL EN1+4
CLOSE^GMRAUTL PRINT+45
DEV^GMRAUTL PRINTER+1
$$PRDTST^GMRAUTL1 PRINT+14
$$STPCK^GMRAUTL1 HEAD+19
$$FMTE^XLFDT PRINT+30, HEAD+11, HEAD+13
$$REPEAT^XLFSTR HEAD+14, HEAD+17
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: !,"NO DATA FOR THIS REPORT..."
  • Line Location: PRINT+19
Function Call: WRITE
  • Prompt: !,?8,"|",?38,"|",?58,"|",?63,"|",?68,"|",?73,"|"
  • Line Location: PRINT+41
Function Call: WRITE
  • Prompt: $E(NAM,1,19)
  • Line Location: SIGN+4
Function Call: WRITE
  • Prompt: !,?8,"|",?38,"|",$E(NAM,1,19),?58,"|",?63,"|",?68,"|",?73,"|"
  • Line Location: SIGN+5
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: !,?22,"P&T Committee ADR Outcome Report"
  • 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: !,$$REPEAT^XLFSTR("-",79)
  • Line Location: HEAD+14
Function Call: WRITE
  • Prompt: !,"Obsv.",?8,"|",?38,"|",?58,"|Req.",?63,"|Req.",?68,"|",?73,"|"
  • Line Location: HEAD+15
Function Call: WRITE
  • Prompt: !,"Date",?8,"|Causative agent-Pat. ID",?38,"|Sign/Symptoms",?58,"|Tx",?63,"|Hosp",?68,"|Dis.",?73,"|Death"
  • Line Location: HEAD+16
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",79)
  • Line Location: HEAD+17
Routine Call
  • DIR
  • Line Location:
    • HEAD+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] PRINT+13
^GMR(120.8 - [#120.8] PRINT+10, PRINT+11
^GMR(120.85 - [#120.85] PRINT+5, PRINT+6, PRINT+7, PRINT+27, PRINT+34, PRINT+39, SIGN+2
^GMRD(120.83 - [#120.83] PRINT+20, SIGN+3
^TMP($J EXIT+2!, PRINT+2!, PRINT+15*, PRINT+19, PRINT+22, PRINT+24, PRINT+26

Label References

Name Line Occurrences
EXIT EN1+4
HEAD PRINT+19, PRINT+29, PRINT+41, SIGN+5
PRINT PRINTER+7
PRINTER EN1+5
SIGN PRINT+34, PRINT+39

Naked Globals

Name Field # of Occurrence
^(0 PRINT+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT SIGN~, SIGN+4
>> DFN PRINT+13*, PRINT+14
DIR HEAD+5~
DIR(0 HEAD+5*
>> GMAEN PRINT+5, HEAD+13
>> GMAST PRINT+4, HEAD+13
>> GMRACA PRINT+12*, PRINT+13*, PRINT+15, PRINT+23*, PRINT+24*, PRINT+26, PRINT+31
>> GMRADATE PRINT+4*, PRINT+5*, PRINT+6
>> GMRADDT PRINT+8*, PRINT+15, PRINT+21*, PRINT+22*, PRINT+24, PRINT+26, PRINT+30
>> GMRADPDT PRINT+3*, HEAD+11
>> GMRAOTH PRINT+20*, SIGN+3
>> GMRAOUT EN1+2*, EN1+4, PRINTER+1*, PRINT+18, PRINT+22, PRINT+24, PRINT+26, PRINT+29, PRINT+39, PRINT+40
, PRINT+41, SIGN+5, HEAD+2, HEAD+4, HEAD+5*, HEAD+9, HEAD+19*
>> GMRAPA PRINT+9*, PRINT+10, PRINT+11
>> GMRAPA(0 PRINT+10*, PRINT+12, PRINT+13, PRINT+28
>> GMRAPA1 PRINT+6*, PRINT+7, PRINT+15, PRINT+25*, PRINT+26*, PRINT+27, PRINT+34, PRINT+39, SIGN+2
>> GMRAPA1(0 PRINT+7*, PRINT+8, PRINT+9, PRINT+27*, PRINT+35, PRINT+36, PRINT+37, PRINT+38
>> GMRAPG PRINT+4*, HEAD+1, HEAD+3, HEAD+4, HEAD+10, HEAD+11, HEAD+18*
GMRAREC PRINT+33*, PRINT+34*, PRINT+39*, SIGN~, SIGN+2
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
NAM SIGN+1~, SIGN+3*, SIGN+4, SIGN+5
>> POP PRINTER+1
U PRINT+8, PRINT+9, PRINT+12, PRINT+13, PRINT+35, PRINT+36, PRINT+37, PRINT+38, SIGN+3
>> X PRINT+3
Y SIGN+1~, SIGN+2*, SIGN+3, HEAD+5, HEAD+6!
>> ZTDESC PRINTER+4*
>> ZTQUEUED HEAD+19
>> 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 |  Naked Globals |  Local Variables |  All