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

Package: Pharmacy Benefits Management

Routine: PSUDEM2


Information

PSUDEM2 ;BIR/DAM - Outpatient Visits Extract ;1/23/09 3:10pm

Source Information

Source file <PSUDEM2.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Pharmacy Benefits Management 2 OPV^PSUDEM5  ($$VAL,$$VALI)^PSUTL  
DRG Grouper 1 $$ICDDX^ICDEX  
Master Patient Index VistA 1 $$GETICN^MPIF001  

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
Pharmacy Benefits Management 1 PSUDEM4  

Entry Points

Name Comments DBIA/ICR reference
EN ;EN Called from PSUCP
EX
DAT1 ;Find visits from V POV file that fall within the date range
DAT2 ;
POVS ;several POVs can have same visit, work all when the first is found
SET ; Set segment
XMD ;Format mailman message and send.
TLC ; Count Lines sent
CONF ;Construct globals for confirmation message
NODATA ;Generate a 'No data' message if there is no data in the extract
REC ;EN If "^" is contained in any record, replace it with "'"

External References

Name Field # of Occurrence
$$ICDDX^ICDEX POVS+11, POVS+14
$$GETICN^MPIF001 DAT2+9
OPV^PSUDEM5 TLC+4
$$VAL^PSUTL XMD+5
$$VALI^PSUTL DAT1+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVCPT - [#9000010.18] POVS+9, POVS+11
^AUPNVCPT("AD" POVS+7
^AUPNVPOV - [#9000010.07] DAT2+3, POVS+14
^AUPNVPOV("AD" DAT2+1, POVS+5
^AUPNVSIT - [#9000010] DAT2+7, DAT2+12
^AUPNVSIT("B" DAT1+4, DAT1+5
^DPT - [#2] DAT2+8
^ICPT - [#81] POVS+9
^XTMP( CONF+6*, CONF+7*
^XTMP("PSU" DAT2+5
^XTMP("PSU_" EN+1!, EN+6, EX!, EX+1!, EX+2!, EX+3!, SET+13*, XMD+2, XMD+3*, XMD+8
XMD+11*, XMD+13*, XMD+15*, TLC+2, CONF+4, NODATA+5*

Label References

Name Line Occurrences
CONF TLC+5
DAT1 EN+5
DAT2 DAT1+7
NODATA EN+6
POVS DAT2+6
SET DAT2+13
XMD EN+7

Naked Globals

Name Field # of Occurrence
^( XMD+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALLCPT POVS+4!, SET+6, SET+10
ALLCPT( POVS+9*, SET+10
ALLICD POVS+4!, SET+6, SET+9
ALLICD( SET+5*, SET+9
ALLICDX POVS+4!
ALLICDX( POVS+12*, POVS+15*, SET+5
ALLICDX("10" SET+2, SET+3, SET+4
ALLICDX("9" SET+2, SET+3, SET+4
CPTDA EN+3~, POVS+9*
CPTNM EN+3~, POVS+9*, SET+10*, SET+11*
>> I SET+5*, SET+9*, XMD+12*, XMD+13, XMD+15
ICDDATA POVS+2~, POVS+11*, POVS+12, POVS+14*, POVS+15
ICDXDA EN+3~
ICDXNM EN+3~, POVS+11*, POVS+12, POVS+14*, POVS+15, SET+9*, SET+11*
J EN+4~, SET+5*, SET+10*
NONE EN+2!, CONF+2, NODATA+2*
>> PSUAB XMD+1*, XMD+2*
PSUCSYS POVS+4!, SET+2*, SET+3*, SET+4*, SET+12
PSUDIVIS CONF+3~, CONF+4*, CONF+6, CONF+7
>> PSUDT DAT1+2*
PSUEDT DAT1+1, DAT1+2~
PSUICN EN+3~, DAT2+9*, DAT2+10*, SET+8
>> PSUJOB EN+1, EN+6, EXEX+1, EX+2, EX+3, DAT2+5, SET+13, XMD+2, XMD+3
XMD+8, XMD+11, XMD+13, XMD+15, TLC+2, CONF+4, CONF+5, NODATA+5
PSULC XMD+4~, XMD+8*, XMD+10*
>> PSUM TLC+2*, TLC+4*, NODATA+4*, NODATA+5
PSUMAX XMD+4~, XMD+5*, XMD+6*, XMD+10
PSUMC XMD+4~, XMD+7*, XMD+10*, XMD+11, XMD+13, XMD+15, TLC+2, TLC+4, CONF+6
>> PSUMLC XMD+7*, XMD+9*, XMD+10*, XMD+11, XMD+13, XMD+14*, XMD+15
>> PSUPL XMD+2*, XMD+3
PSUPOV DAT2+1*, DAT2+3, POVS+2~, POVS+5*, POVS+14
>> PSUPT DAT1+6*, DAT2+8, DAT2+9
>> PSUREC REC+2*
>> PSUSDT DAT1+2, DAT1+3
>> PSUSNDR SET+8
PSUSSN EN+3~, DAT2+8*, SET+8
PSUSUB EN+3~, CONF+5*, CONF+6, CONF+7
PSUTEDT EN+3~, DAT1+1*, DAT1+4
PSUTLC XMD+4~, TLC+1*, TLC+2*, CONF+2*, CONF+7
PSUTMC XMD+4~
PSUVIEN DAT1+5*, DAT1+6, DAT2+1, DAT2+2~, DAT2+3*, DAT2+4, DAT2+5, DAT2+7, DAT2+12, POVS+5
POVS+7, SET+13
PSUVSTDT EN+4~, DAT2+7*, SET+8
PSUX EN+4~, DAT1+2*
>> PSUXDA POVS+11*, POVS+14*
>> PSUXMYH NODATA+3*
>> PSUXMYS1 NODATA+3
PSUY EN+4~, DAT1+2*, DAT1+3*, DAT1+4*, DAT1+5
PTSTAT EN+4~, DAT2+12*, SET+8
SEG EN+4~, SET+8*, SET+9*, SET+10*, SET+11*, SET+12*, SET+13
U DAT2+3, DAT2+7, DAT2+8, DAT2+12, POVS+9, POVS+11, POVS+12, POVS+14, POVS+15, SET+8
SET+9, SET+10, SET+11, SET+12, CONF+4
VCPTDA EN+4~, POVS+7*, POVS+9, POVS+11
>> X XMD+8*, XMD+11, XMD+12, XMD+13, XMD+15, TLC+2*
XX EN+4~, XMD+2*, XMD+3
>> Z XMD+12*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All