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

Package: Electronic Dental Record

Routine: BADEVNT1


Information

BADEVNT1 ;IHS/MSC/MGH - Dentrix HL7 interface (cont) ;08-Jul-2009 16:38;PLS

Source Information

Source file <BADEVNT1.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
VA Fileman 4 ($$FIND1,IX)^DIC  ^DIE  $$GET1^DIQ  ^DIR  
Electronic Dental Record 3 ($$FINDTYP,NEWMSG)^BADEHL2  EDPROT^BADEUTIL  MFN^BADEVNT1  
Kernel 3 ENDR^%ZISS  ^%ZTLOAD  $$NPI^XUSNPI  
Toolkit 2 ($$GET,EN)^XPAR  EDITPAR^XPAREDIT  
Health Level Seven 1 ($$ADDSEG,SET)^HLOAPI  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Electronic Dental Record 1 BADEVNT1  

Entry Points

Name Comments DBIA/ICR reference
STATUS ;EP Display the status
TITLE(PKG,VER) ;EP
LOADPRV ;EP Load the dental providers
ISDENTST(USR) ;EP
COMPLETE ;Mark options out of order
INACTPRV(USR) ;EP
SENDMFN ;Send one MFN message
TRELPRV ;EP Taskman call to restart provider load
CHECK(FIL,VAL,ENT) ;
PAUSE ;EP
TPROV ;EP Taskman call to start provider load
MFN(INDA) ;EP Create and send one MFN message
SET(ARY,V,F,C,S,R) ;EP
RESTPRV ;EP Restart the provider load
MSA ;EP
EDITPAR(PARAM) ;EP

External References

Name Field # of Occurrence
ENDR^%ZISS STATUS+32, TITLE+5
^%ZTLOAD TPROV+14, TRELPRV+12
$$FINDTYP^BADEHL2 MFN+7
NEWMSG^BADEHL2 MFN+8
EDPROT^BADEUTIL COMPLETE+14
MFN^BADEVNT1 LOADPRV+11, RESTPRV+16, SENDMFN+8
$$FIND1^DIC CHECK+1
IX^DIC SENDMFN+4
^DIE COMPLETE+11
$$GET1^DIQ STATUS+4, STATUS+13, STATUS+21, STATUS+34, TITLE+7
^DIR STATUS+49, SENDMFN+11, PAUSE+2
$$ADDSEG^HLOAPI MSA+7
SET^HLOAPI SET+1
$$GET^XPAR TPROV+3, TPROV+7, LOADPRV+5, LOADPRV+18, TRELPRV+3, RESTPRV+3, RESTPRV+5, RESTPRV+23, STATUS+3, STATUS+5
, STATUS+7, STATUS+8, STATUS+9, STATUS+10, STATUS+12, STATUS+14, STATUS+16, STATUS+17, STATUS+20, STATUS+22
, STATUS+24, STATUS+25
EN^XPAR TPROV+16, LOADPRV+3, LOADPRV+13, LOADPRV+16, LOADPRV+22, LOADPRV+23, TRELPRV+14, RESTPRV+9, RESTPRV+18, RESTPRV+21
, RESTPRV+27, RESTPRV+28
EDITPAR^XPAREDIT EDITPAR+2
$$NPI^XUSNPI SENDMFN+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Process is already running",!!!
  • Line Location: TRELPRV+5
Function Call: WRITE
  • Prompt: @IOF,IORVON,$$GET1^DIQ(4,DUZ(2),.01),?(IOM-$L(PKG)\2),PKG,?(IOM-$L(VER)),VER,!,IORVOFF
  • Line Location: STATUS+34
Function Call: WRITE
  • Prompt: !!!!,"Patient Upload Data"
  • Line Location: STATUS+35
Function Call: WRITE
  • Prompt: !,?5,"Last Patient Processed: "_DATA
  • Line Location: STATUS+36
Function Call: WRITE
  • Prompt: !,?5,"Total Pts processed: "_TOTAL
  • Line Location: STATUS+37
Function Call: WRITE
  • Prompt: !,?5,"Throttle seconds: "_THROTTLE,?40,"Throttle Pt. Ct.: "_CNT
  • Line Location: STATUS+38
Function Call: WRITE
  • Prompt: !,?5,"Currently stopped: "_STOP,?40,"Task: "_TASK
  • Line Location: STATUS+39
Function Call: WRITE
  • Prompt: !,"Provider Upload Data"
  • Line Location: STATUS+40
Function Call: WRITE
  • Prompt: !,?5,"Last Provider Processed: "_PDATA
  • Line Location: STATUS+41
Function Call: WRITE
  • Prompt: !,?5,"Total Prov processed: "_PTOTAL
  • Line Location: STATUS+42
Function Call: WRITE
  • Prompt: !,?5,"Currently stopped: "_PSTOP,?40,"Task: "_PTASK
  • Line Location: STATUS+43
Function Call: WRITE
  • Prompt: !,"Merge Upload Data"
  • Line Location: STATUS+44
Function Call: WRITE
  • Prompt: !,?5,"Last Merged Patient Processed: "_MRGDATA
  • Line Location: STATUS+45
Function Call: WRITE
  • Prompt: !,?5,"Total Merged Patients processed: "_MRGTOTAL
  • Line Location: STATUS+46
Function Call: WRITE
  • Prompt: !,?5,"Currently stopped: "_MRGSTOP,?40,"Task: "_MRGTASK
  • Line Location: STATUS+47
Function Call: WRITE
  • Prompt: !!
  • Line Location: STATUS+48
Function Call: WRITE
  • Prompt: @IOF,IORVON,$$GET1^DIQ(4,DUZ(2),.01),?(IOM-$L(PKG)\2),PKG,?(IOM-$L(VER)),VER,!,IORVOFF,?(IOM-$L(MNU)\2-$X),MNU
  • Line Location: TITLE+7
Function Call: WRITE
  • Prompt: !,ENT," ",VAL," was not found.",!
  • Line Location: CHECK+2
Routine Call
  • DIE
  • Line Location:
    • COMPLETE+11
Routine Call
  • DIC
  • Line Location:
    • CHECK+1
Routine Call
  • DIR
  • Line Location:
    • STATUS+49
    • SENDMFN+11
    • PAUSE+2
Routine Call
  • DIC
  • Line Location:
    • SENDMFN+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(19 - [#19] Classic Fileman Calls
^DPT - [#2] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^DIC(4 - [#4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(19 - [#19] COMPLETE+8
^DIC(7 - [#7] MFN+6, ISDENTST+3
^VA(200 - [#200] LOADPRV+9, RESTPRV+13, MFN+3, MFN+4, MFN+5, ISDENTST+2, INACTPRV+2, INACTPRV+3

Label References

Name Line Occurrences
$$CHECK EDITPAR+2
$$INACTPRV LOADPRV+10, RESTPRV+14
COMPLETE LOADPRV+25, RESTPRV+29
PAUSE CHECK+3
SET MSA+2, MSA+3, MSA+4, MSA+5, MSA+6
TITLE EDITPAR+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS STATUS+29~, TITLE+2~
ARY MSA+2, MSA+3, MSA+4, MSA+5, MSA+6, MSA+7, SET~, SET+1
C SET~, SET+1
CNT LOADPRV+1~, LOADPRV+7*, STATUS+1~, STATUS+8*, STATUS+38
CODE ISDENTST+1~, ISDENTST+3*, ISDENTST+4
D SENDMFN+1~, SENDMFN+3*
DA LOADPRV+24~, COMPLETE+6~, COMPLETE+8*, COMPLETE+9
DATA LOADPRV+1~, RESTPRV+1~, STATUS+1~, STATUS+4*, STATUS+36
DENT MFN+2~, MFN+6*, MFN+8
DFN STATUS+1~, STATUS+3*, STATUS+4
DIC SENDMFN+1~, SENDMFN+2*
DIC("A" SENDMFN+2*
DIC("S" SENDMFN+3*
DIC(0 SENDMFN+2*
DIE LOADPRV+24~, COMPLETE+6~, COMPLETE+10*
DIR STATUS+49!, SENDMFN+11!, PAUSE+2!
DIR("?" STATUS+49*, SENDMFN+11*, PAUSE+2*
DIR("A" STATUS+49*, SENDMFN+11*, PAUSE+2*
DIR(0 STATUS+49*, SENDMFN+11*, PAUSE+2*
DR LOADPRV+24~, COMPLETE+6~, COMPLETE+10*
DUZ(2 STATUS+34, TITLE+7
ENT CHECK~, CHECK+2
ERR SENDMFN+1~, SENDMFN+9
F SET~, SET+1
FIL CHECK~, CHECK+1
HLST MSA+1~, MSA+7
I COMPLETE+1~, COMPLETE+5*, COMPLETE+8
IEN LOADPRV+1~, LOADPRV+5*, LOADPRV+7*, LOADPRV+9*, LOADPRV+10, LOADPRV+11, LOADPRV+13, RESTPRV+1~, RESTPRV+3*, RESTPRV+12*
, RESTPRV+13*, RESTPRV+14, RESTPRV+16, RESTPRV+18
INDA SENDMFN+1~, SENDMFN+5*, SENDMFN+6, SENDMFN+8, MFN~, MFN+3, MFN+4, MFN+5, MFN+7, MFN+8
IO STATUS+33, TITLE+6
IOF STATUS+34, TITLE+7
IOM STATUS+34, TITLE+7
IORVOFF STATUS+29~, STATUS+34, TITLE+2~, TITLE+7
IORVON STATUS+29~, STATUS+34, TITLE+2~, TITLE+7
IOST STATUS+28, TITLE+1
MENU COMPLETE+1~
MENU( COMPLETE+8
MENU(1 COMPLETE+2*
MENU(2 COMPLETE+3*
MENU(3 COMPLETE+4*
MFNTYP LOADPRV+1~, LOADPRV+8*, RESTPRV+1~, RESTPRV+15*, SENDMFN+1~, MFN+7*, MFN+8
MNU STATUS+29~, TITLE+2~, TITLE+3*, TITLE+7
>> MRGDATA STATUS+21*, STATUS+45
>> MRGDFN STATUS+20*, STATUS+21
>> MRGSTOP STATUS+24*, STATUS+47
>> MRGTASK STATUS+25*, STATUS+47
>> MRGTOTAL STATUS+22*, STATUS+46
MSA MSA+1~, MSA+7*
MSG COMPLETE+1~, COMPLETE+7*, SENDMFN+9, MFN+9*
PARAM EDITPAR~, EDITPAR+1*, EDITPAR+2
PC MFN+2~, MFN+5*, MFN+8
PCLS ISDENTST+1~, ISDENTST+2*, ISDENTST+3
PDATA STATUS+1~, STATUS+13*, STATUS+41
PKG STATUS+30*, STATUS+34, TITLE~, TITLE+3*, TITLE+7
PSTOP STATUS+1~, STATUS+16*, STATUS+43
PTASK STATUS+1~, STATUS+17*, STATUS+43
PTOTAL STATUS+1~, STATUS+14*, STATUS+42
R SET~, SET+1
S SET~, SET+1
STOP TPROV+1~, TPROV+3*, TPROV+5, LOADPRV+1~, LOADPRV+7*, LOADPRV+9, LOADPRV+18*, LOADPRV+19, LOADPRV+21, TRELPRV+1~
, TRELPRV+3*, TRELPRV+5, RESTPRV+1~, RESTPRV+11*, RESTPRV+13, RESTPRV+23*, RESTPRV+24, RESTPRV+26, STATUS+9*, STATUS+39
TASK STATUS+1~, STATUS+10*, STATUS+39
THROTTLE STATUS+1~, STATUS+7*, STATUS+38
TOTAL LOADPRV+1~, LOADPRV+7*, LOADPRV+15*, LOADPRV+16, RESTPRV+1~, RESTPRV+5*, RESTPRV+20*, RESTPRV+21, STATUS+1~, STATUS+5*
, STATUS+37
U MFN+4, MFN+5, EDITPAR+1, TITLE+3, ISDENTST+2, ISDENTST+3, INACTPRV+2, INACTPRV+3
USR STATUS+1~, STATUS+12*, STATUS+13, ISDENTST~, ISDENTST+2, INACTPRV~, INACTPRV+1, INACTPRV+2, INACTPRV+3
V SET~, SET+1
VAL CHECK~, CHECK+1, CHECK+2
VER STATUS+30*, STATUS+34, TITLE~, TITLE+3*, TITLE+7
X STATUS+29~, STATUS+31*, TITLE+2~, TITLE+4*, PAUSE+1~
>> XQY0 EDITPAR+1, TITLE+3
>> Y SENDMFN+4, SENDMFN+5
ZTDESC TPROV+1~, TPROV+10*, TRELPRV+1~, TRELPRV+9*
ZTDTH TPROV+1~, TRELPRV+1~
ZTIO TPROV+1~, TPROV+9*, TRELPRV+1~, TRELPRV+7*
ZTPRI TPROV+1~, TPROV+12*, TRELPRV+1~, TRELPRV+8*
ZTRTN TPROV+1~, TPROV+11*, TRELPRV+1~, TRELPRV+10*
ZTSAVE TPROV+1~, TRELPRV+1~
ZTSAVE("DUZ" TPROV+13*, TRELPRV+11*
ZTSK TPROV+1~, TPROV+15, TPROV+16, TPROV+17, TRELPRV+1~, TRELPRV+13, TRELPRV+14, TRELPRV+15
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