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

Package: DSS Extracts

Routine: ECXUTL5


Information

ECXUTL5 ;ALB/JRC - Utilities for DSS Extracts ;5/30/18 09:31

Source Information

Source file <ECXUTL5.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Kernel 2 $$FMTHL7^XLFDT  $$RJ^XLFSTR  
Registration 2 $$CVEDT^DGCV  $$GETACT^DGPFAPI  
Inpatient Medications 1 ALL^PSJ59P5  
Outpatient Pharmacy 1 DIQ^PSODI  
Pharmacy Data Management 1 DATA^PSS50  
VA FileMan 1 EN^DIQ1  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 22

Package Total Caller Graph
DSS Extracts 22 ECXADM  ECXAPHA2  ECXAPHP2  ECXBCM  ECXDRUG2  ECXEC  ECXLABN  ECXMTL  
ECXNUT  ECXOPRX  ECXPHAA  ECXPIVDN  ECXPRO  ECXQSR  ECXSCX2  ECXSCXN  
ECXSURG  ECXTPR  ECXUD  ECXUTL  ECXUTL2  ECXUTL3  

Entry Points

Name Comments DBIA/ICR reference
REPEAT(CHAR,TIMES) ;REPEAT A STRING
PHAAPI(DRUG) ;Call Pharmacy drug file API dbia 4483
; Input: drug file (#50) ien
SSN(SSN,FILE) ; extended validation of ssn
; input: ssn - social security number to validate
; file - optional "", 2 or 67, the only check is for
; reference lab file (#67) in which case ssn
; "000123456" is considered a valid ssn.
; output: 0 - test patient or invalid ssn
; 1 - valid ssn
INSERT(INSTR,OUTSTR,COLUMN,LENGTH) ;INSERT A STRING INTO ANOTHER
TYPE(DFN) ;Determine patient type DBIA #2511
; input
; DFN = patient ien
SCRX(IEN) ;Service connected prescription
PSJ59P5(X) ;Get iv room division
; Input X - iv room ien
DOIVPO(K,L) ;Add destination for outpatient ivp orders
; Input K - DFN
; L - Order # from Pharmacy Patient File (#55)
NPRF ;National patient record flags DBIA #3860
DOUDO(K,L) ;Add destination for outpatient udp orders
; Input K - DFN
; L - Order # from Pharmacy Patient File (#55)
RXPTST(K) ;Rx patient status DBIA #2511
NONVAP(K) ;Non-va prescriber DBIA #10060
TSSC(X) ;Check treating specialty (ts) and if ts equals any of the following
CVEDT(DFN,DATE) ;Determine patient CV status DBIA #4156
; input
; DFN = patient ien

External References

Name Field # of Occurrence
$$CVEDT^DGCV CVEDT+14
$$GETACT^DGPFAPI NPRF+2
EN^DIQ1 RXPTST+6, NONVAP+5, DOIVPO+14, DOIVPO+18, DOIVPO+21, DOUDO+13, DOUDO+17, DOUDO+20
ALL^PSJ59P5 PSJ59P5+8
DIQ^PSODI SCRX+6
DATA^PSS50 PHAAPI+12
$$FMTHL7^XLFDT CVEDT+20
$$RJ^XLFSTR PHAAPI+17

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls
^DIC(40.7 - [#40.7] Classic Fileman Calls
^SC - [#44] Classic Fileman Calls
^PS(53 - [#53] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(391 - [#391] TYPE+20
^DPT - [#2] TYPE+18
^TMP($J PSJ59P5+9, PSJ59P5+10!

Label References

Name Line Occurrences
$$TSSC DOIVPO+11, DOUDO+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY PHAAPI+8~, PHAAPI+9*, PHAAPI+10*, PHAAPI+11, PHAAPI+13, PHAAPI+14, PHAAPI+15, PHAAPI+19
CHAR REPEAT~, REPEAT+7, REPEAT+10
CLASS PHAAPI+8~, PHAAPI+9*, PHAAPI+14*, PHAAPI+20
CLINIC DOIVPO+6~, DOIVPO+7*, DOIVPO+15*, DOIVPO+16, DOIVPO+18, DOIVPO+19, DOUDO+6~, DOUDO+7*, DOUDO+14*, DOUDO+15
, DOUDO+17, DOUDO+18
>> CNT NPRF+2*, NPRF+3, NPRF+4
>> CODE TSSC+6*, TSSC+7
COLUMN INSERT~, INSERT+15*, INSERT+19, INSERT+20
CVSTAT CVEDT+9~, CVEDT+10*, CVEDT+14*, CVEDT+15, CVEDT+17, CVEDT+19, CVEDT+22
DA RXPTST+5*, NONVAP+4*, DOIVPO+6~, DOIVPO+13*, DOIVPO+18*, DOIVPO+21*, DOUDO+6~, DOUDO+12*, DOUDO+17*, DOUDO+20*
, SCRX+2~, SCRX+5*, SCRX+6, SCRX+7
DA( DOIVPO+13*, DOUDO+12*
DATA PHAAPI+8~, PHAAPI+9*
DATE CVEDT~, CVEDT+14
DFN TYPE~, TYPE+16, TYPE+18, CVEDT~, CVEDT+12, CVEDT+14
DIC RXPTST+5*, NONVAP+4*, DOIVPO+6~, DOIVPO+13*, DOIVPO+18*, DOIVPO+21*, DOUDO+6~, DOUDO+12*, DOUDO+17*, DOUDO+20*
, SCRX+2~, SCRX+5*, SCRX+6
DIQ RXPTST+5*, NONVAP+4*, DOIVPO+6~, DOIVPO+13*, DOIVPO+18*, DOIVPO+21*, DOUDO+6~, DOUDO+12*, DOUDO+17*, DOUDO+20*
, SCRX+5*, SCRX+6
DIQ(0 RXPTST+5*, NONVAP+4*, DOIVPO+13*, DOIVPO+18*, DOIVPO+21*, DOUDO+12*, DOUDO+17*, DOUDO+20*
DIV PSJ59P5+5~*, PSJ59P5+7, PSJ59P5+9*, PSJ59P5+11
DOIVPO DOIVPO+6~, DOIVPO+7*, DOUDO+6~, DOUDO+7*
DR RXPTST+5*, NONVAP+4*, DOIVPO+6~, DOIVPO+13*, DOIVPO+18*, DOIVPO+21*, DOUDO+6~, DOUDO+12*, DOUDO+17*, DOUDO+20*
, SCRX+2~, SCRX+5*, SCRX+6
DR( DOIVPO+13*, DOUDO+12*
DRUG PHAAPI~, PHAAPI+12, PHAAPI+14, PHAAPI+15, PHAAPI+17
ECXARR NPRF+1~
ECXARR( NPRF+5
>> ECXCVE CVEDT+10*, CVEDT+17*
>> ECXCVEDT CVEDT+10*, CVEDT+19*, CVEDT+20*
>> ECXCVENC CVEDT+10*, CVEDT+22*
>> ECXDFN NPRF+2
ECXDIC RXPTST+1~, RXPTST+2*, NONVAP+1~, NONVAP+2*, DOIVPO+6~, DOIVPO+7*, DOUDO+6~, DOUDO+7*
ECXDIC( DOIVPO+15, DOUDO+14
ECXDIC(200 NONVAP+6
ECXDIC(53 RXPTST+7
ECXDICA DOIVPO+6~, DOIVPO+7*, DOUDO+6~, DOUDO+7*
ECXDICA(44 DOIVPO+19, DOUDO+18
ECXDICB DOIVPO+6~, DOIVPO+7*, DOUDO+6~, DOUDO+7*
ECXDICB( DOIVPO+22, DOUDO+21
ECXDIQ SCRX+2~
ECXDIQ(52 SCRX+7
>> ECXNPRFI NPRF+2*, NPRF+5*
ECXPTYPE TYPE+14~, TYPE+17*, TYPE+19, TYPE+20*, TYPE+21*, TYPE+22
>> ECXRPT PHAAPI+16
>> ECXTS DOIVPO+11, DOUDO+9
END INSERT+18~, INSERT+20*, INSERT+22
FILE SSN~, SSN+10*, SSN+11
FLG NPRF+1~, NPRF+2*, NPRF+4, NPRF+5*
FRONT INSERT+18~, INSERT+19*, INSERT+22
>> I NPRF+4*, NPRF+5
IEN SCRX~, SCRX+4, SCRX+5
INSTR INSERT~, INSERT+13, INSERT+16, INSERT+22
INV PHAAPI+8~, PHAAPI+9*, PHAAPI+15*, PHAAPI+16, PHAAPI+20
K RXPTST~, RXPTST+4, RXPTST+5, RXPTST+7, NONVAP~, NONVAP+3, NONVAP+4, NONVAP+6, DOIVPO~, DOIVPO+9
, DOIVPO+13, DOUDO~, DOUDO+11, DOUDO+12
L DOIVPO~, DOIVPO+9, DOIVPO+13, DOIVPO+15, DOUDO~, DOUDO+11, DOUDO+12, DOUDO+14
LENGTH INSERT~, INSERT+16*, INSERT+20, INSERT+22
NAME PHAAPI+8~, PHAAPI+9*, PHAAPI+14*, PHAAPI+20
NDC PHAAPI+8~, PHAAPI+9*, PHAAPI+14*, PHAAPI+16, PHAAPI+17*, PHAAPI+18*, PHAAPI+20
NDF PHAAPI+8~, PHAAPI+9*
NONVAP NONVAP+1~, NONVAP+2*, NONVAP+3, NONVAP+6*, NONVAP+7*, NONVAP+8
OUTSTR INSERT~, INSERT+14, INSERT+15, INSERT+19, INSERT+20
P1 PHAAPI+8~, PHAAPI+9*, PHAAPI+15*, PHAAPI+20
P3 PHAAPI+8~, PHAAPI+9*, PHAAPI+15*, PHAAPI+20
PPDU PHAAPI+8~, PHAAPI+9*, PHAAPI+15*, PHAAPI+20
SCODE DOIVPO+6~, DOIVPO+7*, DOIVPO+9, DOIVPO+11*, DOIVPO+16, DOIVPO+19*, DOIVPO+21, DOIVPO+22*, DOIVPO+23, DOUDO+6~
, DOUDO+7*, DOUDO+9*, DOUDO+11, DOUDO+15, DOUDO+18*, DOUDO+20, DOUDO+21*, DOUDO+22
SSN SSN~, SSN+9, SSN+11, SSN+12, SSN+13, SSN+14, SSN+15, SSN+16
STAT RXPTST+1~, RXPTST+2*, RXPTST+4, RXPTST+7*, RXPTST+8*, RXPTST+9
TIMES REPEAT~, REPEAT+8, REPEAT+10
TYPE TYPE+14~, TYPE+17*, TYPE+18*, TYPE+19, TYPE+20
U TYPE+20, CVEDT+17, CVEDT+19, CVEDT+22, PHAAPI+15, PHAAPI+20, PSJ59P5+9
UNIT PHAAPI+8~, PHAAPI+15*, PHAAPI+20
X TSSC~, TSSC+6, PSJ59P5~, PSJ59P5+7, PSJ59P5+8, PSJ59P5+9
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All