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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: DVBASPD2

Package: Automated Medical Information Exchange

Routine: DVBASPD2


Information

DVBASPD2 ;ALB/GTS-557/THM,SBW-AMIE SPECIAL REPORT ; 3/MAY/2011

Source Information

Source file <DVBASPD2.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  (,KILL)^%ZTLOAD  
Automated Medical Information Exchange 2 (DATE,FINAL,KILL)^DVBAUTIL  (ADM,ELIG,RCV)^DVBAVDPT  
RPC Broker 1 $$BROKER^XWBLIB  

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

Package Total Caller Graph
Automated Medical Information Exchange 2 DVBAB REPORT SPECIAL  DVBASPDC  

Entry Points

Name Comments DBIA/ICR reference
SET
PRINTB
RAA()
PEN()
DIS()
SP(N,M)
PRINTC
PRINTD ;print delimited special report
PRINT
PRINT1
SETUP
TERM
EN1
QUEUE
GO
KILL
INIT ;add header info to report
BROKER
SPECRPT(ZMSG,DCTYPES,BDATE,EDATE,RONUM,REP,DVBADLMTR)
DEQUE
COLHDR ;Column header for delimited report

External References

Name Field # of Occurrence
^%ZIS EN1+3
HOME^%ZIS TERM
^%ZISC KILL
^%ZTLOAD QUEUE+1
KILL^%ZTLOAD GO+5, KILL
DATE^DVBAUTIL EN1+1
FINAL^DVBAUTIL KILLBROKER+2, SPECRPT+15
KILL^DVBAUTIL EN1+3, GO+5
ADM^DVBAVDPT PRINT1+4
ELIG^DVBAVDPT PRINTB+5, PRINTC+13
RCV^DVBAVDPT SET
$$BROKER^XWBLIB PRINTD+2, PRINT1+7, GO+2, COLHDR+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!!,?(80-$L(HEAD)\2),HEAD,!,?(80-$L(HEAD1)\2),HEAD1,!!
  • Line Location: PRINTB+1
Function Call: WRITE
  • Prompt: ?10,REP(0),?26,PNAM,!!,?14,REP(1),?26,CNUM,!,?6,REP(2),?26,XCFLOC,!,?9,REP(3),?26,SSN,!,?8,REP(4),?26,ADMDT,!,?3,REP(5),?26,DIAG,!
  • Line Location: PRINTB+2
Function Call: WRITE
  • Prompt: ?8,REP(6),?26,DCHGDT,!
  • Line Location: PRINTB+3
Function Call: WRITE
  • Prompt: ?5,REP(7),?26,$$DIS,!
  • Condition for execution: DCHGDT]""
  • Line Location: PRINTB+3
Function Call: WRITE
  • Prompt: ?11,REP(8),?26,BEDSEC,!,?13,REP(9),?26,$$RAA,!
  • Line Location: PRINTB+4
Function Call: WRITE
  • Prompt: ?14,REP(10),?26,$$PEN,!
  • Line Location: PRINTB+5
Function Call: READ
  • Variable: ANS
  • Timeout: DTIME
  • Line Location: PRINTB+6
Function Call: WRITE
  • Prompt: @IOF,!,RPT,!,HEAD1
  • Line Location: TERM+1
Function Call: WRITE
  • Prompt: !!,"Please enter dates for search, oldest date first, most recent date last.",!!,REP("LRUN"),!!
  • Line Location: EN1+0
Function Call: WRITE
  • Prompt: !!,*7,ER,!!
  • Line Location: GO+3
Routine Call
  • %ZIS
  • Line Location:
    • EN1+3
Routine Call
  • %ZIS
  • Line Location:
    • TERM

Used in RPC

RPC Name Call Tags
DVBAB REPORT SPECIAL SPECRPT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" SETUP+2
^DG(405.2 - [#405.2] SET+3
^DGPM - [#405] SET+1
^DGPM("AMV1" GO
^DIC(4 - [#4] DIS
^DPT - [#2] SETPRINTD+5
^DVB(396.1 - [#396.1] SETUP
^TMP("DVBA" SET+2, SPECRPT+19*
^TMP("DVBSPCRP" PRINTC*, PRINTC+1*, PRINTD+24*, INIT+5*, BROKER!, SPECRPT+6, SPECRPT+15!, COLHDR+8*
^TMP($J DVBASPD2+4!, SET+4*, PRINT+1, PRINT1PRINT1+1, GO+1, DEQUE!

Label References

Name Line Occurrences
$$DIS PRINTB+3, PRINTC+9, PRINTD+10
$$PEN PRINTB+5, PRINTC+12, PRINTD+11
$$RAA PRINTB+4, PRINTC+11, PRINTD+11
$$SP PRINTC+1, PRINTC+2, PRINTC+3, PRINTC+4, PRINTC+5, PRINTC+6, PRINTC+7, PRINTC+9, PRINTC+10, PRINTC+11
PRINTC+12, INIT+4
@( PRINT1+7, PRINT1+8
BROKER GO+2
COLHDR PRINTD+7
GO DEQUE
INIT BROKER+1
KILL EN1+2, QUEUE+1, GO+3
PRINT GO+4, BROKER+1
PRINT1 PRINT+1
SET GO
SETUP TERM, SPECRPT+20
TERM DVBASPD2+4

Naked Globals

Name Field # of Occurrence
^( PRINTC+2*, PRINTC+3*, PRINTC+4*, PRINTC+5*, PRINTC+6*, PRINTC+7*, PRINTC+9*, PRINTC+10*, PRINTC+11*, PRINTC+12*
PRINTD+5, PRINT1+2
^($J BROKER*, SPECRPT+15*
^(0 SET+1, SET+3, DIS
^(2 INIT+5*
^(3 INIT+5*
^(4 INIT+5*
^(5 INIT+5*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS EN1+3*!
>> ADM PRINT1*, PRINT1+1
>> ADMDT PRINTB+2, PRINTC+5, PRINTD+9, PRINT1+5*
>> ANS PRINTB+6*
BDATE GO, SPECRPT~, SPECRPT+8, SPECRPT+10
>> BDT SPECRPT+7*, SPECRPT+8, SPECRPT+10
>> BEDSEC PRINTB+4, PRINTC+10, PRINTD+10
>> CFLOC SETSET+4
>> CNUM SET+4, PRINTB+2, PRINTC+2, PRINTD+8, PRINT1+3*
>> DA SETSET+4, PRINTD+5, PRINT1+1*, PRINT1+2, PRINT1+3, GO*
>> DATA PRINT1+2*, PRINT1+3
>> DCHGDT PRINTB+3, PRINTC+7, PRINTC+8, PRINTD+9, PRINTD+10, PRINT1+6*
>> DCHPTR SET+1*
DCTYPES SPECRPT~
DCTYPES( SPECRPT+19
>> DFN SET*, PRINT1+3*
>> DIAG PRINTB+2, PRINTC+6, PRINTD+9
DT SETUP
>> DTAR SETUP*, SETUP+1, SETUP+2
DTIME PRINTB+6
DVBABRKER PRINTD+1~, PRINTD+2*, PRINTD+23, PRINTD+25, COLHDR+1~, COLHDR+3*, COLHDR+8, COLHDR+9
DVBACEPT SPECRPT+1~, SPECRPT+18*
DVBACHDR COLHDR+1~, COLHDR+4*, COLHDR+5*, COLHDR+6*, COLHDR+7*, COLHDR+8, COLHDR+10
DVBADATA PRINTD+1~, PRINTD+8*, PRINTD+9*, PRINTD+10*, PRINTD+11*, PRINTD+13, PRINTD+16*, PRINTD+17, PRINTD+19*, PRINTD+20*
PRINTD+21*, PRINTD+24, PRINTD+26
DVBADHDR PRINTD+7, SPECRPT+1~, SPECRPT+2*, COLHDR+11*
DVBADLMTR PRINTD+8, PRINTD+9, PRINTD+10, PRINTD+11, PRINTD+13, PRINTD+16, PRINTD+17, PRINTD+19, PRINTD+20, PRINTD+21
PRINT1+7, PRINT1+8, INIT+1, SPECRPT~, SPECRPT+2*, COLHDR+1~, COLHDR+2*, COLHDR+4, COLHDR+5, COLHDR+6
COLHDR+7
>> DVBAELIG PRINTD+3
>> DVBAELST PRINTD+4
DVBAON2 PRINTBPRINTB+7*, GO+5!, KILL!
>> DVBAQUIT PRINTB+6*, GO+5
DVBC PRINTCPRINTC+1*, PRINTC+2, PRINTC+3, PRINTC+4, PRINTC+5, PRINTC+6, PRINTC+7*, PRINTC+9*, PRINTC+10
PRINTC+11, PRINTC+12*, PRINTD+24*, INIT+2*, INIT+5*, SPECRPT+1~, COLHDR+8*
DVBS SPECRPT+1~
DVBS( PRINTCINIT+3*
DVBS(1 INIT+4*
DVBS(3 INIT+4*
DVBS(4 INIT+4*
EDATE GO, SPECRPT~, SPECRPT+9, SPECRPT+10
>> EDT SPECRPT+7*, SPECRPT+9, SPECRPT+10
ELIG PRINTD+1~, PRINTD+3*, PRINTD+4*, PRINTD+6*, PRINTD+11
ER GO+1*, GO+3, GO+5!, KILL!, BROKER, SPECRPT+1~, SPECRPT+8*, SPECRPT+9*, SPECRPT+10*, SPECRPT+11*
, SPECRPT+12*, SPECRPT+14*, SPECRPT+15
>> FDT(0 SETUP*, SETUP+1
>> HEAD PRINTB+1, SETUP+1*, INIT+4
>> HEAD1 PRINTB+1, SETUP+1*, TERM+1, INIT+4, INIT+5
I PRINTD+20*, QUEUE*, SPECRPT+1~
INCMP PRINTD+1~, PRINTD+3*, PRINTD+5*, PRINTD+6
IO GO+3
IO("Q" QUEUEQUEUE+1
IOF PRINTBTERM+1
ION QUEUE
IOST PRINTBPRINTB+6
J PRINTC*, INIT+3*, INIT+6*, SPECRPT+1~, SPECRPT+19*
M SP~*
>> MA SET+4, PRINT1+2*, GO*
>> MB SET+1, SET+4, GO*, SPECRPT+7*, SPECRPT+10, SPECRPT+12, SPECRPT+14
N SP~
NOASK TERM!, QUEUE*, GO, SPECRPT+18*
>> PNAM PRINTB+2, PRINTC+1, PRINTD+8
>> POP EN1+3
>> QUIT PRINTB+6*, PRINT*, PRINT+1, PRINT1PRINT1+1
>> QUIT1 PRINT1+3*
>> RCVAA SETSET+4, RAA, PRINT1+2*
>> RCVPEN SETSET+4, PEN, PRINT1+2*
REP SETSETUPSETUP+1, SPECRPT~, SPECRPT+11, SPECRPT+12
REP( INIT+6*
REP("LRUN" SETUP+2*, EN1INIT+5
REP(0 PRINTB+2, PRINTC+1, SETUP+3*
REP(1 PRINTB+2, PRINTC+2, SETUP+3*
REP(10 PRINTB+5, PRINTC+12, SETUP+7*
REP(2 PRINTB+2, PRINTC+3, SETUP+4*
REP(3 PRINTB+2, PRINTC+4, SETUP+4*
REP(4 PRINTB+2, PRINTC+5, SETUP+5*
REP(5 PRINTB+2, PRINTC+6, SETUP+5*
REP(6 PRINTB+3, PRINTC+7, SETUP+6*
REP(7 PRINTB+3, PRINTC+9, SETUP+6*
REP(8 PRINTB+4, PRINTC+10, SETUP+7*
REP(9 PRINTB+4, PRINTC+11, SETUP+7*
REQ SPECRPT+1~, SPECRPT+6*, SPECRPT+8, SPECRPT+9, SPECRPT+11
>> RO SET, SPECRPT+18*
RONUM SET, SPECRPT~, SPECRPT+5*, SPECRPT+14, SPECRPT+18
>> RPT SETUP*, TERM+1, INIT+5
>> SSN PRINTB+2, PRINTC+4, PRINTD+9
>> TDIS SET+1*, SET+2, SET+3*, SET+4, DIS, PRINT1+3*
>> TO DIS, PRINT1+3*
>> TYPE SPECRPT+7*, SPECRPT+11, SPECRPT+12
U SET+1, SET+3, SET+4, PRINTB+6, DIS, PRINTD+5, PRINT1+2, PRINT1+3, SETUP+1, SETUP+2
X PRINTD+1~, PRINTD+13*, PRINTD+14*, PRINTD+15*, PRINTD+16, PRINTD+17*, PRINTD+18*, PRINTD+19, EN1+2, KILL*
BROKER+2*, SPECRPT+15*
X1 PRINTD+1~, PRINTD+14*, PRINTD+15*
X2 PRINTD+1~, PRINTD+14*, PRINTD+15*
X3 PRINTD+1~, PRINTD+14*, PRINTD+15*
>> XCFLOC PRINTB+2, PRINTC+3, PRINTD+8, PRINT+1*, PRINT1PRINT1+1
>> XCN SET+4, PRINT*, PRINT+1*, PRINT1PRINT1+1
>> Y SETUP+2*, EN1+2
ZMSG SPECRPT~, SPECRPT+6*
>> ZTDESC QUEUE*
>> ZTIO QUEUE*
>> ZTQUEUED GO+5, KILL
>> ZTRTN QUEUE*
>> ZTSAVE( QUEUE*
>> ZTSK QUEUE+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All