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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ECXUD

Package: DSS Extracts

Routine: ECXUD


Information

ECXUD ;ALB/JAP,BIR/DMA,PTD-Extract from UNIT DOSE EXTRACT DATA File (#728.904) ;6/26/19 10:46

Source Information

Source file <ECXUD.m>

Call Graph

Call Graph

Call Graph Total: 17

Package Total Call Graph
DSS Extracts 9 $$GETDIV^ECXDEPT  ^ECXKILL  QUE^ECXTAUTO  ^ECXTRAC  ($$ECXDATE,$$ECXTIME,$$PATCAT,$$PRVCLASS)^ECXUTL  ($$ENROLLM,$$INP,$$PRIMARY,ECXDEF)^ECXUTL2  $$PAT^ECXUTL3  ($$CNHSTAT,$$ENCNUM,$$HNCI,$$OBSPAT,$$SHAD)^ECXUTL4  
($$DOUDO,$$PHAAPI,NPRF)^ECXUTL5  
Kernel 4 $$S^%ZTLOAD  ($$DT,$$FMADD,$$FMTE)^XLFDT  $$RJ^XLFSTR  $$NPI^XUSNPI  
VA FileMan 2 IX1^DIK  $$GET1^DIQ  
National Drug File 1 $$DSS^PSNAPIS  
Registration 1 $$TSDATA^DGACT  

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
DSS Extracts 1 ECXUD  
Event Capture 1 ECXUD  

Entry Points

Name Comments DBIA/ICR reference
BEG ;entry point from option
START ;start package specific extract
STUFF ;get data
PAT(ECXDFN,ECXDATE,ECXERR) ;get demographics from patient file
FILE ;file record
NEW() ;149 Function added to determine if script had pharmacist involvement
CLEAN(START,END) ;149 Section added to delete old log entries
SETUP ;Set required input for ECXTRAC
QUE ; entry point for the background requeuing handled by ECXTAUTO

External References

Name Field # of Occurrence
$$S^%ZTLOAD FILE+63
$$TSDATA^DGACT FILE+30
IX1^DIK FILE+62
$$GET1^DIQ STUFF+18, STUFF+19, STUFF+20, NEW+4, NEW+6
$$GETDIV^ECXDEPT STUFF+21, STUFF+41
^ECXKILL BEG+3, QUE+1
QUE^ECXTAUTO QUE+1
^ECXTRAC BEG+3
$$ECXDATE^ECXUTL STUFF+22, FILE+40
$$ECXTIME^ECXUTL FILE+41
$$PATCAT^ECXUTL PAT+46
$$PRVCLASS^ECXUTL STUFF+50
$$ENROLLM^ECXUTL2 PAT+17, PAT+40
$$INP^ECXUTL2 PAT+59
$$PRIMARY^ECXUTL2 PAT+63
ECXDEF^ECXUTL2 SETUP+2
$$PAT^ECXUTL3 PAT+20
$$CNHSTAT^ECXUTL4 PAT+38
$$ENCNUM^ECXUTL4 STUFF+57
$$HNCI^ECXUTL4 PAT+42
$$OBSPAT^ECXUTL4 STUFF+43
$$SHAD^ECXUTL4 PAT+44
$$DOUDO^ECXUTL5 STUFF+48
$$PHAAPI^ECXUTL5 STUFF+26
NPRF^ECXUTL5 STUFF+53
$$DSS^PSNAPIS STUFF+36
$$DT^XLFDT CLEAN+3
$$FMADD^XLFDT START+11, CLEAN+3
$$FMTE^XLFDT STUFF+45
$$RJ^XLFSTR STUFF+33, STUFF+37
$$NPI^XUSNPI STUFF+11

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: X
  • Timeout: 5
  • Line Location: BEG+1
Function Call: WRITE
  • Prompt: !,"There are no unit dose orders to extract",!!
  • Line Location: BEG+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(4 - [#4] GET1^DIQ
^SC - [#44] GET1^DIQ
55.06 GET1^DIQ
55.09 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TEST" STUFF+36
^DG(40.8 - [#40.8] STUFF+20
^DIC(42 - [#42] STUFF+14, STUFF+16
^ECX( FILE+34, FILE+60*, FILE+61*
^ECX(728 - [#728] START+3, STUFF+20
^ECX(728.904 - [#728.904] BEG+1, START+7, START+8, START+9*
^PS(55 - [#55] NEW+3
^TMP($J START+10!, PAT+4, PAT+5, PAT+15, PAT+19, PAT+54*, PAT+55*, PAT+56*
^XTMP("ECXSCRIPT" NEW+8, NEW+9*, CLEAN+2!, CLEAN+3*

Label References

Name Line Occurrences
$$NEW STUFF+55
CLEAN START+11
FILE STUFF+59
PAT STUFF+7
SETUP BEG+2, QUE+1
STUFF START+9

Naked Globals

Name Field # of Occurrence
^(1 START+9*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADATE NEW+1~, NEW+4*, NEW+5, NEW+6
ALIEN NEW+1~, NEW+3*
DA FILE+33~, FILE+62*!
>> DATA START+9*, STUFF+4, STUFF+10, STUFF+13, STUFF+15, STUFF+22, STUFF+23, STUFF+24, STUFF+45, STUFF+50
STUFF+57
DATE CLEAN+1~, CLEAN+2*
DIK FILE+33~, FILE+62*!
DONE NEW+1~, NEW+2*, NEW+3, NEW+5*
>> EC23 START+9, FILE+37
>> EC7 FILE+34*, FILE+37, FILE+60, FILE+61, FILE+62
>> ECASNPI PAT+65*, FILE+35*, FILE+53
>> ECASPR PAT+65*, FILE+35*, FILE+48
>> ECCAT STUFF+27*, FILE+38
>> ECCLAS PAT+64*, FILE+35*, FILE+48
>> ECCLAS2 PAT+65*, FILE+35*, FILE+48
>> ECD START+7*, START+8, STUFF+7, STUFF+11, NEW+5
ECDRG STUFF+1~, STUFF+4*, STUFF+26
>> ECED START+6*, START+7
>> ECFILE BEG+2, FILE+34, FILE+60, FILE+61, FILE+62, SETUP+2
>> ECGRP SETUP+2
>> ECHEAD STUFF+57, SETUP+1*, SETUP+2
>> ECINV STUFF+27*, STUFF+29*, STUFF+31*, FILE+39
>> ECNDC STUFF+32*, STUFF+33, STUFF+34*, FILE+39
>> ECNFC STUFF+33*, STUFF+36*, STUFF+37*, FILE+39
>> ECNODE START+3
>> ECODE FILE+37*, FILE+38*, FILE+39*, FILE+40*, FILE+41*, FILE+60
>> ECODE1 FILE+42*, FILE+43*, FILE+44*, FILE+45*, FILE+46*, FILE+47*, FILE+48*, FILE+60
>> ECODE2 FILE+49*, FILE+50*, FILE+51*, FILE+52*, FILE+53*, FILE+54*, FILE+55*, FILE+56*, FILE+57*, FILE+58*
FILE+61
>> ECODE3 FILE+59*, FILE+61
>> ECPACK SETUP+2
>> ECPIECE START+3, SETUP+2
ECPROIEN STUFF+1~, STUFF+10*, STUFF+11
>> ECPTNPI PAT+64*, FILE+35*, FILE+53
>> ECPTPR PAT+64*, FILE+35*, FILE+47
>> ECPTTM PAT+64*, FILE+35*, FILE+47
>> ECRN FILE+61*
>> ECRTN SETUP+2
>> ECSD START+4, START+11
>> ECSD1 START+7
>> ECVER SETUP+2
>> ECXA STUFF+43, STUFF+46, STUFF+57, STUFF+58*, PAT+59*, FILE+37
>> ECXADM STUFF+14, STUFF+57, PAT+60*, FILE+40, FILE+41
>> ECXAOL PAT+11*, PAT+28*, PAT+55, FILE+46
ECXASIH STUFF+2~, STUFF+58, PAT+60*
>> ECXAST PAT+10*, PAT+28*, PAT+54, FILE+45
>> ECXBCDD STUFF+51*, FILE+50
>> ECXBCDG STUFF+51*, FILE+50
>> ECXBCIF STUFF+51*, FILE+50
>> ECXBCUA STUFF+51*, FILE+50
>> ECXCAT PAT+2*, PAT+12*, PAT+55, FILE+47
ECXCLIN STUFF+2~, STUFF+18*, STUFF+19
ECXCLST STUFF+1~, STUFF+3*, PAT+16*, PAT+31*, PAT+56, FILE+56
>> ECXCNHU PAT+12*, PAT+38*, PAT+55, FILE+46
>> ECXCNTRY PAT+15*, PAT+25*, PAT+56, FILE+54
>> ECXCNTY PAT+8*, PAT+24*, PAT+54, FILE+44
>> ECXCOST STUFF+24*, FILE+38
>> ECXCVE FILE+51
>> ECXCVEDT FILE+51
>> ECXCVENC FILE+51
ECXDATA FILE+29~, FILE+30*
ECXDATA(7 FILE+31
ECXDATE PAT~, PAT+20, PAT+59, PAT+63
ECXDEA STUFF+2~, STUFF+27*, FILE+59
ECXDFN STUFF+4*, STUFF+7, STUFF+18, STUFF+48, PAT~, PAT+4, PAT+5, PAT+15, PAT+17, PAT+19
, PAT+20, PAT+38, PAT+40, PAT+42, PAT+44, PAT+46, PAT+54, PAT+55, PAT+56, PAT+59
, PAT+63, FILE+37, NEW+3, NEW+8, NEW+9
>> ECXDIV STUFF+16*, STUFF+19*, STUFF+20*, STUFF+21, STUFF+41, FILE+37
>> ECXDOB PAT+6*, PAT+23*, PAT+54, FILE+43
>> ECXDOM PAT+60*, FILE+42
>> ECXDSSD STUFF+40*, FILE+42
ECXECL STUFF+1~, STUFF+3*, FILE+56
>> ECXELIG PAT+7*, PAT+23*, PAT+54, FILE+43
>> ECXENC STUFF+57*, STUFF+59, FILE+42
>> ECXENRL PAT+12*, PAT+30*, PAT+55, FILE+46
>> ECXERI PAT+15*, PAT+51*, PAT+56, FILE+52
ECXERR STUFF+7*, STUFF+8, PAT~, PAT+21*
ECXESC STUFF+1~, STUFF+3*, FILE+56
>> ECXEST PAT+15*, PAT+52*, PAT+56, FILE+52
>> ECXETH PAT+14*, PAT+48*, PAT+55, FILE+35*, FILE+49
>> ECXHNCI PAT+13*, PAT+42*, PAT+55, FILE+49
>> ECXJ START+8*, START+9, NEW+8, NEW+9
ECXLDT START+1~, START+3*, START+4
>> ECXLOGIC STUFF+28, STUFF+30, FILE+35, FILE+36, FILE+47, FILE+50, FILE+51, FILE+52, FILE+53, FILE+54
FILE+55, FILE+56, FILE+57, FILE+58, FILE+59, FILE+61
>> ECXMN PAT+59*, FILE+39
>> ECXMPI PAT+6*, PAT+22*, PAT+54, FILE+42
>> ECXMST PAT+11*, PAT+29*, PAT+55, FILE+46
>> ECXMTST PAT+14*, PAT+30*, PAT+55, FILE+36*, FILE+43
ECXNEW STUFF+1~, STUFF+55*, FILE+57
>> ECXNPRFI FILE+51
>> ECXOBS STUFF+43*, STUFF+57, FILE+42
>> ECXOEF PAT+2*, PAT+15*, PAT+35*, PAT+56, FILE+53
>> ECXOEFDT PAT+2*, PAT+15*, PAT+36*, PAT+56, FILE+53
>> ECXOPPC STUFF+50*, FILE+50
>> ECXORDDT STUFF+45*, FILE+49
>> ECXORDST STUFF+46*, STUFF+48*, FILE+49
ECXPAT PAT+20!, PAT+21!
ECXPAT("AO ST AT" , PAT+28
ECXPAT("AOL" PAT+28
ECXPAT("CL ST AT" , PAT+31
ECXPAT("COMBSVCI" PAT+32
ECXPAT("COMBSVCL" PAT+33
ECXPAT("COUNTRY" PAT+25
ECXPAT("COUNTY" PAT+24
ECXPAT("DOB" PAT+23
ECXPAT("EC ST AT" , PAT+52
ECXPAT("ECXOEF" PAT+35
ECXPAT("ECXOEFDT" PAT+36
ECXPAT("ELIG" PAT+23
ECXPAT("ENROL L LOC" , PAT+30
ECXPAT("ERI" PAT+51
ECXPAT("ETHNIC" PAT+48
ECXPAT("IR ST AT" , PAT+27
ECXPAT("MEANS" PAT+30
ECXPAT("MPI" PAT+22
ECXPAT("MST S TAT" , PAT+29
ECXPAT("NAME" PAT+22
ECXPAT("PHI" PAT+29
ECXPAT("POS" PAT+26
ECXPAT("POW L OC" , PAT+27
ECXPAT("POW S TAT" , PAT+26
ECXPAT("RACE1" PAT+49
ECXPAT("SEX" PAT+23
ECXPAT("SSN" PAT+22
ECXPAT("STATE" PAT+24
ECXPAT("VET" PAT+25
ECXPAT("ZIP" PAT+25
>> ECXPATCAT PAT+16*, PAT+46*, PAT+56, FILE+55
>> ECXPDIV STUFF+41*, FILE+43
ECXPHA STUFF+1~, STUFF+26*, STUFF+27, STUFF+32, STUFF+35
>> ECXPHI PAT+11*, PAT+29*, PAT+55, FILE+46
>> ECXPLOC PAT+10*, PAT+27*, PAT+54, FILE+45
>> ECXPNM PAT+5*, PAT+22*, PAT+54, FILE+37
>> ECXPOS PAT+9*, PAT+26*, PAT+54, FILE+44
>> ECXPRIOR PAT+2*, PAT+13*, PAT+55, FILE+47, FILE+51
>> ECXPRNPI STUFF+11*, STUFF+12*, FILE+53
>> ECXPRO STUFF+10*, STUFF+50, FILE+38
>> ECXPST PAT+9*, PAT+26*, PAT+54, FILE+45
>> ECXPTYPE FILE+51
>> ECXQTY STUFF+24*, FILE+38
>> ECXRC1 PAT+14*, PAT+49*, PAT+55, FILE+35*, FILE+49
>> ECXRST PAT+10*, PAT+27*, PAT+54, FILE+45
>> ECXSBGRP PAT+2*, FILE+51
>> ECXSEX PAT+7*, PAT+23*, PAT+54, FILE+43
>> ECXSHADI PAT+16*, PAT+44*, PAT+56, FILE+47
>> ECXSSN STUFF+57, PAT+5*, PAT+22*, PAT+54, FILE+37
ECXSTANO STUFF+2~, STUFF+21*, FILE+58
>> ECXSTAT PAT+2*, PAT+13*, PAT+55, FILE+47
>> ECXSTATE PAT+8*, PAT+24*, PAT+54, FILE+44
>> ECXSVCI PAT+32*, PAT+56, FILE+57
>> ECXSVCL PAT+33*, PAT+56, FILE+57
>> ECXTS STUFF+43, STUFF+57, PAT+60*, FILE+30, FILE+31*, FILE+39
ECXUDDT STUFF+1~, STUFF+22*, FILE+38
ECXUDTM STUFF+1~, STUFF+23*, FILE+39
>> ECXUESTA FILE+51
>> ECXVET PAT+9*, PAT+25*, PAT+54, FILE+44
>> ECXW STUFF+14*, STUFF+16, STUFF+17, FILE+38
>> ECXYM STUFF+22, STUFF+36, FILE+40
>> ECXZIP PAT+8*, PAT+25*, PAT+54, FILE+44
END CLEAN~, CLEAN+2
IENS NEW+1~, NEW+3*, NEW+4, NEW+6
OK STUFF+1~, PAT+19, PAT+20*, PAT+21
ON STUFF+1~, STUFF+15*, STUFF+18, STUFF+48, NEW+3, NEW+8, NEW+9, CLEAN+1~, CLEAN+2*
P1 STUFF+1~, STUFF+35*, STUFF+36, STUFF+37
P3 STUFF+1~, STUFF+35*, STUFF+36, STUFF+37
PAT CLEAN+1~, CLEAN+2*
PSTAT STUFF+1~
PT STUFF+1~, PAT+5*, PAT+6, PAT+7, PAT+8, PAT+9, PAT+10, PAT+11, PAT+12, PAT+13
, PAT+14
>> PT1 PAT+15*, PAT+16
>> QFLG START+5*, START+7, START+8, FILE+63*
RERUN START+1~, START+2*, START+4*, START+11
SCRIPT NEW+1~, NEW+2*, NEW+8*, NEW+10
START CLEAN~, CLEAN+2
U START+3, START+9, STUFF+4, STUFF+10, STUFF+12, STUFF+13, STUFF+14, STUFF+15, STUFF+16, STUFF+20
STUFF+22, STUFF+23, STUFF+24, STUFF+27, STUFF+32, STUFF+35, STUFF+45, STUFF+50, STUFF+57, PAT+5
, PAT+6, PAT+7, PAT+8, PAT+9, PAT+10, PAT+11, PAT+12, PAT+13, PAT+14, PAT+15
, PAT+16, PAT+54, PAT+55, PAT+56, PAT+59, PAT+60, PAT+64, PAT+65, FILE+37, FILE+38
FILE+39, FILE+40, FILE+41, FILE+42, FILE+43, FILE+44, FILE+45, FILE+46, FILE+47, FILE+48
FILE+49, FILE+50, FILE+51, FILE+52, FILE+53, FILE+54, FILE+55, FILE+56, FILE+57, FILE+58
VDATE NEW+1~, NEW+2*, NEW+6*, NEW+7, NEW+8, NEW+9
W STUFF+1~, STUFF+13*, STUFF+14, STUFF+16
X BEG+1*!, STUFF+1~, STUFF+35*, PAT+59*, PAT+60, PAT+63*, PAT+64, PAT+65
>> ZTQUEUED FILE+63
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All