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

Package: Automated Medical Information Exchange

Routine: DVBAB56


Information

DVBAB56 ;ALB/SPH - CAPRI READMISSION REPORT ; 3/22/12 8:34am

Source Information

Source file <DVBAB56.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Automated Medical Information Exchange 3 ^DVBAB98  KILL^DVBAUTIL  (ADM,RCV)^DVBAVDPT  
Kernel 2 (,KILL)^%ZTLOAD  $$FMTE^XLFDT  
VA FileMan 1 ^%DTC  

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
Automated Medical Information Exchange 1 DVBAB REPORT READMIT  

Entry Points

Name Comments DBIA/ICR reference
STRT(ZMSG,BDATE,EDATE,DVBAH,DVBADLMTR)
SORT
DCHGDT
CAL
TDIS
SET
TERM ;D HOME^%ZIS
SETUP ;W @IOF,!,"VARO RE-ADMISSION REPORT"
EN1 ;W !!,"Please enter admission dates for search, oldest date first,",!,"most recent date last.",!!,"Last report was run on " S Y=$P(DTAR,U,7) X ^DD("DD") W Y,!!
ASK ;W !!,"Do you want (H)ospital or Hospital-(D)om H// " R DVBAH:DTIME G:'$T!(DVBAH=U) KILL^DVBAUTIL
GO
DQ

External References

Name Field # of Occurrence
^%DTC SETSET+1
^%ZTLOAD ASK+9
KILL^%ZTLOAD GO+5
^DVBAB98 GO+8
KILL^DVBAUTIL ASK+9, GO+5
ADM^DVBAVDPT SET+4, SET+9, SET+14
RCV^DVBAVDPT SORT
$$FMTE^XLFDT SETUP+1, EN1+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: Y,!!
  • Line Location: EN1+0
Function Call: READ
  • Variable: DVBAH
  • Timeout: DTIME
  • Line Location: ASK+0
Function Call: WRITE
  • Prompt: DVBAH
  • Line Location: ASK+1
Function Call: WRITE
  • Prompt: *7,!!,"Must be H for HOSPITAL or D for HOSPITAL-DOM",!!
  • Line Location: ASK+4
Function Call: WRITE
  • Prompt: $P("Dom^Hospital",U,Z),!!
  • Line Location: ASK+6
Function Call: WRITE
  • Prompt: !!,"Looking for Pension and A&A cases ...",!!
  • Line Location: GO+0
Function Call: WRITE
  • Prompt: !!,"Examining cases found for re-admissions within 185 days ...",!!
  • Line Location: GO+2

Used in RPC

RPC Name Call Tags
DVBAB REPORT READMIT STRT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(405.2 - [#405.2] TDIS+1
^DGPM - [#405] DCHGDTCALCAL+1, TDIS
^DGPM("AMV1" GO+1
^DGPM("APID" CAL
^DVB(396.1 - [#396.1] SETUP+1
^TMP("DVBA" SORT+1*, SORT+2*, CAL*, CAL+1, CAL+2, SET+6*, SET+11*, SET+15*, TERM+1!, GO+3
GO+4!, GO+5, DQ!
^TMP("DVBAR" GO+7*

Label References

Name Line Occurrences
ASK ASK+4
CAL GO+3
DCHGDT CAL+2
GO DQ+1
SET CAL+2
SORT GO+1
TDIS SET+4, SET+9, SET+14
TERM STRT+5

Naked Globals

Name Field # of Occurrence
^( GO+3
^(0 DCHGDTCALTDISTDIS+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> ADM GO+1*
>> ADMDT SET+3*, SET+8*, SET+13*
BDATE STRT~, EN1+2, GO+1
>> BDATE1 EN1+2*
>> CFLOC SORTSET+6, SET+11, SET+15
>> CNUM SET+11
>> CURADMDT CAL+1*, CAL+2, SETSET+8, SET+11
>> DCHPTR DCHGDT*, TDIS
>> DFN SORT+1, SORT+2, CALCAL+1, CAL+2, SET+6, SET+11, SET+15, GO+1*, GO+3*
DT SETUP+1
>> DTAR SETUP+1*, SETUP+2
>> DVBABCNT STRT+4*, GO+7
DVBADLMTR STRT~, STRT+2, STRT+3*, GO+7
>> DVBADT SORT+1, SORT+2, GO+1*
DVBAERTXT GO+6~*, GO+7
DVBAFNLDTE STRT+1~, STRT+2*
DVBAH STRT~, ASK+1*, ASK+2*, ASK+3*, ASK+4, ASK+5, ASK+6, GO+3
>> DVBAI CAL*
DVBARADQ SET+16!
>> DVBAT SET+2, SET+6, SET+7, SET+11, SET+12, SET+15, GO+3*
EDATE STRT~, CALEN1+2, GO+1
>> FDT(0 SETUP+1*, SETUP+2
>> HEAD SETUP+2*, ASK+5*
>> HEAD1 SETUP+2*
>> HEADDT EN1+2*
>> HOSPDAYS SET+1, GO+3*
>> I CAL*, ASK+8*
IO("Q" ASK+8
ION ASK+9
>> J CAL*
>> LADMDT DCHGDT*, CAL+2, SET+1, SET+3, SET+6, SET+13, SET+15
>> LDCHGDT DCHGDT*, SETSET+1
>> LOS SET+1*
NOASK TERM+1!, ASK+9*, GOGO+1, GO+2, GO+3
>> RCVAA SORT+1, SET+11
>> RCVPEN SORT+2, SET+11
>> RO SORT
>> RONUM SORT
SORTDT STRT+1~, SET+6, SET+11, SET+15, GO+3*
>> TDIS TDIS*, TDIS+1*, SET+5, SET+6, SET+7, SET+11, SET+15
U DCHGDTCALCAL+1, TDISTDIS+1, SET+6, SET+11, SET+15, SETUP+2, ASK+6
>> VX CAL+1*, CAL+2*, SET+17*
>> VY DCHGDTCAL+2*, SET+6, SET+11, SET+15, SET+17*
>> X SETSET+1
>> X1 SET*, SET+1*
>> X2 SET*, SET+1*
>> XCN SET+6, SET+11, SET+15
>> Z ASK+6*
>> ZI CAL*
>> ZJ CAL*
ZMSG STRT~
>> ZTDESC ASK+9*
>> ZTIO ASK+9*
>> ZTQUEUED GO+5
>> ZTRTN ASK+9*
>> ZTSAVE( ASK+8*
>> ZTSK ASK+9
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