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 Total: 3

Package Total Call Graph
Pharmacy Benefits Management 2 OPV^PSUDEM5  ($$VAL,$$VALI)^PSUTL  
Uncategorized 1 $$GETICN^MPIF001  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Pharmacy Benefits Management 1 PSUDEM4  

Entry Points

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

External References

Name Field # of Occurrence
$$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+8, POVS+10
^AUPNVCPT("AD" POVS+6
^AUPNVPOV - [#9000010.07] DAT2+3, POVS+12
^AUPNVPOV("AD" DAT2+1, POVS+4
^AUPNVSIT - [#9000010] DAT2+7, DAT2+12
^AUPNVSIT("B" DAT1+4, DAT1+5
^DPT - [#2] DAT2+8
^ICD9 - [#80] POVS+10, POVS+12
^ICPT - [#81] POVS+8
^XTMP( CONF+6*, CONF+7*
^XTMP("PSU" DAT2+5
^XTMP("PSU_" EN+1!, EN+6, EX!, EX+1!, EX+2!, EX+3!, SET+7*, 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+3!, SET+1, SET+5
ALLCPT( POVS+8*, SET+5
ALLICD9 POVS+3!, SET+1, SET+4
ALLICD9( POVS+10*, POVS+12*, SET+4
CPTDA EN+3~, POVS+8*
CPTNM EN+3~, POVS+8*, SET+5*
>> I SET+4*, XMD+12*, XMD+13, XMD+15
ICD9DA EN+3~, POVS+10*, POVS+12*
ICD9NM EN+3~, POVS+10*, POVS+12*, SET+4*
J EN+4~, SET+5*
NONE EN+2!, CONF+2, NODATA+2*
>> PSUAB XMD+1*, XMD+2*
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+3
>> PSUJOB EN+1, EN+6, EX, EX+1, EX+2, EX+3, DAT2+5, SET+7, 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+1~, POVS+4*, POVS+12
>> PSUPT DAT1+6*, DAT2+8, DAT2+9
>> PSUREC REC+2*
>> PSUSDT DAT1+2, DAT1+3
>> PSUSNDR SET+3
PSUSSN EN+3~, DAT2+8*, SET+3
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+4
, POVS+6, SET+7
PSUVSTDT EN+4~, DAT2+7*, SET+3
PSUX EN+4~, DAT1+2*
>> PSUXMYH NODATA+3*
>> PSUXMYS1 NODATA+3
PSUY EN+4~, DAT1+2*, DAT1+3*, DAT1+4*, DAT1+5
PTSTAT EN+4~, DAT2+12*, SET+3
SEG EN+4~, SET+3*, SET+4*, SET+5*, SET+6*, SET+7
U DAT2+3, DAT2+7, DAT2+8, DAT2+12, POVS+8, POVS+10, POVS+12, SET+3, SET+4, SET+5
, SET+6, CONF+4
VCPTDA EN+4~, POVS+6*, POVS+8, POVS+10
>> 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