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 |  Local Variables  | All
Print Page as PDF
Routine: ECUTL

Package: Event Capture

Routine: ECUTL


Information

ECUTL ;ALB/GTS/JAM - Event Capture Utilities ;23 Jul 2008

Source Information

Source file <ECUTL.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA FileMan 5 ^DIC  DQ^DICQ  ^DIE  GETS^DIQ  ^DIR  
CPT HCPCS Codes 2 $$CODM^ICPTCOD  ($$MOD,$$MODP)^ICPTMOD  

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

Package Total Caller Graph
Event Capture 18 ECBEN2A  ECBEN2U  ECBEP1B  ECED1  ECED3  ECEDF  ECEFPAT  ECMUTL  
ECOSSUM  ECPAT  ECPCEU  ECPROV3  ECPRSUM1  ECRDSSU  ECRDSSU2  ECRPROC  
ECRPRSN  ECUTL2  

Entry Points

Name Comments DBIA/ICR reference
FNDVST(ECVST,ECRECNUM,EC2PCE) ; Search EC Patient records for associated Visits
FNDVSTQ
RSEND(ECIEN,ECPCE) ; Prepare EC Patient record for resending to PCE
RSENDQ
MODSCN() ;Screen CPT Procedure Modifier
ASKMOD(PROC,MOD,PRDT,ECMOD,ECERR) ; Ask CPT modifiers for CPT procedure
; Input PROC = CPT Procedure
; MOD = Default modifier
; PRDT = Date/Time of procedure. Checks modifier status
AGAIN
ASKMODQ
VALMOD(PROC,X,PRDT) ;Validate modifiers
MODHLP ;Help for CPT modifiers
MOD(ECIEN,MFT,OUTARR) ;Returns modifiers associated with an EC Patient IEN
; Input: ECIEN - IEN entry in file 721/^ECH(
; MFT - format to provide modifier
; "I" - ien format
; "E" - .01 format (default)

External References

Name Field # of Occurrence
^DIC ASKMOD+14, VALMOD+5
DQ^DICQ MODHLP+9
^DIE RSEND+19
GETS^DIQ MOD+16
^DIR AGAIN+3
$$CODM^ICPTCOD ASKMOD+16
$$MOD^ICPTMOD MOD+22
$$MODP^ICPTMOD MODSCN+6, ASKMOD+20

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?2,"Modifier: ",SUB," Invalid - ",$P(DATA,U,2)
  • Line Location: ASKMOD+21
Function Call: WRITE
  • Prompt: !?2,"Modifier: ",SUB," ",$P(ECMOD(PROC,SUB),U)
  • Line Location: ASKMOD+25
Function Call: WRITE
  • Prompt: " ...deleted"
  • Line Location: AGAIN+6
Function Call: WRITE
  • Prompt: !?2,"Answer with CPT MODIFIER",!?1,"Choose from:"
  • Line Location: MODHLP+3
Function Call: WRITE
  • Prompt: !,?4,MOD
  • Line Location: MODHLP+4
Function Call: WRITE
  • Prompt: !?6,"You may enter a new CPT MODIFIER, if you wish"
  • Line Location: MODHLP+5
Function Call: WRITE
  • Prompt: !?6,"Enter a modifier that is valid for the CPT procedure code."
  • Line Location: MODHLP+6
Routine Call
  • DIC
  • Line Location:
    • ASKMOD+14
    • VALMOD+5
Routine Call
  • DIE
  • Line Location:
    • RSEND+19
Routine Call
  • DIR
  • Line Location:
    • AGAIN+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ECH - [#721] GETS^DIQ
^ICPT - [#81] Classic Fileman Calls
^DIC(81.3 - [#81.3] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^EC(725 - [#725] MODSCN+3
^ECH - [#721] RSEND+12, RSEND+14, MODSCN+4, MODSCN+5, MOD+11, MOD+12, MOD+15
^ECH("C" FNDVST+18

Label References

Name Line Occurrences
$$RSEND FNDVST+19
AGAIN AGAIN+5
ASKMODQ ASKMOD+10, ASKMOD+14, ASKMOD+17, AGAIN+3, AGAIN+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
D MODHLP+1~, MODHLP+7*
DA RSEND+10~, RSEND+18*, MODSCN+4, MODSCN+5
DATA ASKMOD+8~, ASKMOD+16*, ASKMOD+20*, ASKMOD+21, ASKMOD+22
DEF ASKMOD+8~, ASKMOD+9*, ASKMOD+22*, ASKMOD+26, AGAIN+6, AGAIN+8*, AGAIN+9*
DEFX AGAIN~, AGAIN+2*, AGAIN+8, VALMOD+6*
DIC ASKMOD+8~, ASKMOD+12*, VALMOD+1~, VALMOD+2*, MODHLP+1~, MODHLP+7*
DIC("S" ASKMOD+13*, VALMOD+4*, MODHLP+8*
DIC("W" VALMOD+3*, MODHLP+7*
DIC(0 ASKMOD+12*, VALMOD+2*, MODHLP+8*
DIE RSEND+10~, RSEND+18*
DIR ASKMOD+8~, AGAIN+3!
DIR("?" AGAIN+1*
DIR("A" AGAIN+1*
DIR("B" ASKMOD+26*, AGAIN+8*, AGAIN+9!
DIR(0 AGAIN+2*
DIROUT ASKMOD+8~, AGAIN+4, VALMOD+1~
DR RSEND+10~, RSEND+18*
DSC ASKMOD+8~, ASKMOD+22*
DTOUT ASKMOD+8~, AGAIN+4, VALMOD+1~
DUOUT ASKMOD+8~, AGAIN+4, VALMOD+1~
EC2PCE FNDVST~, FNDVST+19
ECCPT MODSCN+1~, MODSCN+2*, MODSCN+3*, MODSCN+5
ECDT MODSCN+4, MOD+13~, MOD+15*, MOD+22
ECERR FNDVST+12~, FNDVST+14*, FNDVST+15*, FNDVST+16, FNDVST+20*, FNDVSTQ, RSEND+10~, RSEND+11*, RSEND+12*, RSEND+13
RSENDQ, ASKMOD~, ASKMOD+9*, ASKMOD+10*, ASKMOD+14*, AGAIN+4*, ASKMODQ
ECIEN FNDVST+12~, FNDVST+17*, FNDVST+18*, FNDVST+19, RSEND~, RSEND+12, RSEND+14, RSEND+18, RSEND+20, MOD~
, MOD+10, MOD+11, MOD+12, MOD+15, MOD+16
ECMERR MOD+13~, MOD+17
ECMOD ASKMOD~
ECMOD( ASKMOD+22*, ASKMOD+24, ASKMOD+25, AGAIN+4!, AGAIN+6!, AGAIN+8, AGAIN+9*, MODHLP+2, MODHLP+4
>> ECP MODSCN+2, MODSCN+3
ECPCE RSEND~
ECPCE( RSEND+20*
ECPDT MODSCN+1~, MODSCN+4*, MODSCN+6
ECPROCDT RSEND+10~, RSEND+14*, RSEND+20
ECPT MODSCN+1~, MODSCN+5*, MODSCN+6
ECRECNUM FNDVST~, FNDVST+13*, FNDVST+19
ECVAR FNDVST+12~, FNDVST+14*, FNDVST+19*, FNDVST+20
ECVST FNDVST~, FNDVST+15, FNDVST+18
ECY AGAIN~, AGAIN+7, AGAIN+9, VALMOD+6*
ECY(0 AGAIN+9
I ASKMOD+8~, ASKMOD+19*, ASKMOD+24*
IEN ASKMOD+8~, ASKMOD+22*, MOD+13~, MOD+20*, MOD+24
MFT MOD~, MOD+14*, MOD+19
MOD ASKMOD~, ASKMOD+19, MODHLP+1~, MODHLP+4*, MOD+13~, MOD+21*, MOD+22, MOD+24
MODAR ASKMOD+8~, ASKMOD+17!
MODAR("" ASKMOD+17
MODARY MOD+13~
MODARY( MOD+18, MOD+19, MOD+20, MOD+21
MODESC MOD+13~, MOD+22*, MOD+23*, MOD+24
OUTARR MOD~, MOD+25
OUTARR( MOD+24*
PRDT ASKMOD~, ASKMOD+11*, ASKMOD+16, ASKMOD+20, VALMOD~
PROC ASKMOD~, ASKMOD+10, ASKMOD+12, ASKMOD+16, ASKMOD+20, ASKMOD+22, ASKMOD+24, ASKMOD+25, AGAIN+4, AGAIN+6
AGAIN+8, AGAIN+9, VALMOD~, MODHLP+2, MODHLP+4
SEQ MOD+13~, MOD+18*, MOD+19, MOD+20, MOD+21
SUB ASKMOD+8~, ASKMOD+19*, ASKMOD+20, ASKMOD+21, ASKMOD+22, ASKMOD+24*, ASKMOD+25, MOD+13~, MOD+19*, MOD+24
U MODSCN+4, MODSCN+5, ASKMOD+21, ASKMOD+22, ASKMOD+25, AGAIN+9, VALMOD+6, MOD+15, MOD+22, MOD+24
X ASKMOD+12*, AGAIN~, AGAIN+3, AGAIN+6, VALMOD~, VALMOD+5!
Y MODSCN+6, ASKMOD+14, AGAIN~, VALMOD+5, VALMOD+6
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 |  Local Variables  | All