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

Package: Electronic Dental Record

Routine: BADEPROV


Information

BADEPROV ;IHS/SAIC/FJE /MSC/AMF - Dentrix HL7 interface ;31-Mar-2010 16:38;PLS

Source Information

Source file <BADEPROV.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Health Level Seven 2 $$STARTMSG^HLOPRS  DELETE^HLOPURGE  
Kernel 2 ENDR^%ZISS  $$NOW^XLFDT  
VA Fileman 2 $$GET1^DIQ  ^DIR  
Toolkit 1 $$GET^XPAR  

Entry Points

Name Comments DBIA/ICR reference
AC ;DELETE "AC" XREF FOR IEN
PURGEMAN ;EP - Entry point for manual PURGE from menu
PM1 ;
PM2 ;
PM3 ;
DISPPROV ; EP for BADE EDR DISP PROV
; consolidates FINDPRV and UPLDPROV
QUEUEI ;DELETE "QUEUE" XREF FOR IEN
TOTCNT
QUEUEO ;DELETE "QUEUE" XREF FOR IEN
ADO ;DELETE "AD" XREF FOR "OUT" IEN
PM4(MSGIEN) ;EP-
ADI ;DELETE "AD" XREF FOR "IN" IEN

External References

Name Field # of Occurrence
ENDR^%ZISS DISPPROV+14, TOTCNT+18
$$GET1^DIQ DISPPROV+16, TOTCNT+20
^DIR DISPPROV+8, DISPPROV+10, DISPPROV+38, PM1+2, PM2+2, PM3+11, TOTCNT+30
$$STARTMSG^HLOPRS PM4+2
DELETE^HLOPURGE PM3+9
$$NOW^XLFDT PM3+2
$$GET^XPAR PURGEMAN+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This option will display dentists in your RPMS system.",!,"You may include dentists who are inactive, or only active dentists.",!
  • Line Location: DISPPROV+6
Function Call: WRITE
  • Prompt: !,"Your terminal Type is not defined correctly for this report.",!
  • Line Location: DISPPROV+10
Function Call: WRITE
  • Prompt: @IOF,IORVON,$$GET1^DIQ(4,DUZ(2),.01),?(IOM-$L(PKG)\2),PKG,?(IOM-$L(VER)),VER,!,IORVOFF
  • Line Location: DISPPROV+16
Function Call: WRITE
  • Prompt: !!,"Provider",?32,"Terminated Inactivated",?56,"NPI",?70,"IEN",!,$E(DASH,1,80)
  • Line Location: DISPPROV+17
Function Call: WRITE
  • Prompt: !!,"Provider",?32,"NPI",?46,"IEN",!,$E(DASH,1,55)
  • Line Location: DISPPROV+18
Function Call: WRITE
  • Prompt: !,NAME,?32,TPX,?43,IPX,?56,NPI,?70,IEN
  • Line Location: DISPPROV+35
Function Call: WRITE
  • Prompt: !,NAME,?32,NPI,?46,IEN
  • Line Location: DISPPROV+36
Function Call: WRITE
  • Prompt: !!,"A total of ",COUNT," providers.",!!
  • Line Location: DISPPROV+37
Function Call: WRITE
  • Prompt: !!,"This option will purge all Dentrix messages which are older than a certain date."
  • Line Location: PURGEMAN+2
Function Call: WRITE
  • Prompt: !!,COUNT," messages have been purged. ",!
  • Line Location: PM3+10
Function Call: WRITE
  • Prompt: @IOF,IORVON,$$GET1^DIQ(4,DUZ(2),.01),?(IOM-$L(PKG)\2),PKG,?(IOM-$L(VER)),VER,!,IORVOFF
  • Line Location: TOTCNT+20
Function Call: WRITE
  • Prompt: !!,"Patient Counts"
  • Line Location: TOTCNT+21
Function Call: WRITE
  • Prompt: !,"----------------------------------------------------------------------"
  • Line Location: TOTCNT+22
Function Call: WRITE
  • Prompt: !,"VA PATIENT (DPT) COUNT: ",BADECNTD
  • Line Location: TOTCNT+23
Function Call: WRITE
  • Prompt: !,"PATIENT (AUPNPAT) COUNT: ",BADECNTA
  • Line Location: TOTCNT+24
Function Call: WRITE
  • Prompt: !,"AUPNPAT ENTRY MISSING DPT COUNT: ",BADEDPAT
  • Line Location: TOTCNT+25
Function Call: WRITE
  • Prompt: !,"DPT ENTRY MISSING AUPNPAT COUNT: ",BADEAPAT
  • Line Location: TOTCNT+26
Function Call: WRITE
  • Prompt: !,"AUPNPAT ENTRY MISSING A DIVISION/HRCN (A41) COUNT: ",BADEA41
  • Line Location: TOTCNT+27
Function Call: WRITE
  • Prompt: !,"DPT MISSING ""B"" XREF COUNT: ",BADEBPAT
  • Line Location: TOTCNT+28
Function Call: WRITE
  • Prompt: !!
  • Line Location: TOTCNT+29
Routine Call
  • DIR
  • Line Location:
    • DISPPROV+8
    • DISPPROV+10
    • DISPPROV+38
    • PM1+2
    • PM2+2
    • PM3+11
    • TOTCNT+30

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(4 - [#4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPAT - [#9000001] TOTCNT+6, TOTCNT+7, TOTCNT+11
^DIC(7 - [#7] DISPPROV+25
^DPT - [#2] TOTCNT+4, TOTCNT+8, TOTCNT+13
^DPT("B" TOTCNT+10
^HLB - [#778] PM3+4, PM3+5, AC+4, AC+5, AC+6!, ADI+4, ADI+5!, ADO+4, ADO+5, ADO+6!
, QUEUEI+4, QUEUEI+5, QUEUEI+6, QUEUEI+7, QUEUEI+8, QUEUEI+9, QUEUEI+10!, QUEUEO+4, QUEUEO+5, QUEUEO+6
, QUEUEO+7!
^VA(200 - [#200] DISPPROV+21, DISPPROV+22, DISPPROV+23, DISPPROV+24, DISPPROV+27, DISPPROV+28, DISPPROV+30, DISPPROV+32

Label References

Name Line Occurrences
$$PM4 PM3+7
PM1 PM2+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS DISPPROV+4~
>> BADE1 AC+2*, AC+3*, AC+4, AC+5, AC+6, ADI+2*, ADI+3*, ADI+4, ADI+5, ADO+2*
, ADO+3*, ADO+4, ADO+5, ADO+6, QUEUEI+2*, QUEUEI+3*, QUEUEI+4, QUEUEI+5, QUEUEI+6, QUEUEI+7
, QUEUEI+8, QUEUEI+9, QUEUEI+10, QUEUEO+2*, QUEUEO+3*, QUEUEO+4, QUEUEO+5, QUEUEO+6, QUEUEO+7
>> BADE2 AC+2*, AC+4*, AC+5, AC+6, ADI+2*, ADI+3*, ADI+4, ADI+5, ADO+2*, ADO+3*
, ADO+4, ADO+5, ADO+6, QUEUEI+2*, QUEUEI+4*, QUEUEI+5, QUEUEI+6, QUEUEI+7, QUEUEI+8, QUEUEI+9
, QUEUEI+10, QUEUEO+2*, QUEUEO+3*, QUEUEO+4, QUEUEO+5, QUEUEO+6, QUEUEO+7
>> BADE3 AC+2*, AC+5*, AC+6, ADI+2*, ADI+4*, ADI+5, ADO+2*, ADO+4*, ADO+5, ADO+6
, QUEUEI+2*, QUEUEI+5*, QUEUEI+6, QUEUEI+7, QUEUEI+8, QUEUEI+9, QUEUEI+10, QUEUEO+2*, QUEUEO+4*, QUEUEO+5
, QUEUEO+6, QUEUEO+7
>> BADE4 ADO+2*, ADO+5*, ADO+6, QUEUEI+2*, QUEUEI+6*, QUEUEI+7, QUEUEI+8, QUEUEI+9, QUEUEI+10, QUEUEO+2*
, QUEUEO+5*, QUEUEO+6, QUEUEO+7
>> BADE5 QUEUEI+2*, QUEUEI+7*, QUEUEI+8, QUEUEI+9, QUEUEI+10, QUEUEO+2*, QUEUEO+6*, QUEUEO+7
>> BADE6 QUEUEI+2*, QUEUEI+8*, QUEUEI+9, QUEUEI+10, QUEUEO+2*
>> BADE7 QUEUEI+2*, QUEUEI+9*, QUEUEI+10, QUEUEO+2*
BADEA41 TOTCNT+2~, TOTCNT+3*, TOTCNT+7*, TOTCNT+27
BADEAPAT TOTCNT+2~, TOTCNT+3*, TOTCNT+6*, TOTCNT+26
BADEBPAT TOTCNT+2~, TOTCNT+3*, TOTCNT+10*, TOTCNT+28
BADECNTA TOTCNT+2~, TOTCNT+3*, TOTCNT+12*, TOTCNT+24
BADECNTD TOTCNT+2~, TOTCNT+3*, TOTCNT+5*, TOTCNT+23
BADEDFN TOTCNT+2~, TOTCNT+3*, TOTCNT+4*, TOTCNT+6, TOTCNT+7, TOTCNT+8, TOTCNT+10, TOTCNT+11*, TOTCNT+13
BADEDPAT TOTCNT+2~, TOTCNT+3*, TOTCNT+13*, TOTCNT+25
>> BADEIEN AC+6, ADI+5, ADO+6, QUEUEI+10, QUEUEO+7
>> BADENAME TOTCNT+8*, TOTCNT+9, TOTCNT+10
CODE DISPPROV+3~, DISPPROV+25*, DISPPROV+26
COUNT DISPPROV+3~, DISPPROV+20*, DISPPROV+34*, DISPPROV+37, PURGEMAN+1~, PM3+1*, PM3+8*, PM3+10
DASH DISPPROV+4~, DISPPROV+5*, DISPPROV+17, DISPPROV+18
DIR DISPPROV+8!, DISPPROV+10!, DISPPROV+38!, PURGEMAN+1~, PM1+2!, PM2+2!, PM3+11!, TOTCNT+30!
DIR("?" DISPPROV+8*, DISPPROV+10*, DISPPROV+38*, PM1+2*, PM3+11*, TOTCNT+30*
DIR("A" DISPPROV+7*, DISPPROV+10*, DISPPROV+38*, PM1+1*, PM2+1*, PM3+11*, TOTCNT+30*
DIR("B" DISPPROV+7*, PM1+1*, PM2+1*
DIR(0 DISPPROV+7*, DISPPROV+10*, DISPPROV+38*, PM1+1*, PM2+1*, PM3+11*, TOTCNT+30*
DUZ(2 DISPPROV+16, TOTCNT+20
HMDAYS PURGEMAN+1~, PURGEMAN+4*, PURGEMAN+5*, PM1+1, PM1+3*, PM3+3
IEN DISPPROV+3~, DISPPROV+20*, DISPPROV+22*, DISPPROV+23, DISPPROV+24, DISPPROV+27, DISPPROV+28, DISPPROV+30, DISPPROV+32, DISPPROV+35
, DISPPROV+36
IO DISPPROV+15, TOTCNT+19
IOF DISPPROV+16, TOTCNT+20
IOM DISPPROV+16, TOTCNT+20
IORVOFF DISPPROV+4~, DISPPROV+16, TOTCNT+20
IORVON DISPPROV+4~, DISPPROV+16, TOTCNT+20
IOST DISPPROV+10, TOTCNT+15
IP DISPPROV+3~, DISPPROV+30*, DISPPROV+31, DISPPROV+33
IPX DISPPROV+3~, DISPPROV+31*, DISPPROV+35
MSG PM4+1~, PM4+2
MSG("HDR" PM4+3
MSGIEN PURGEMAN+1~, PM3+4*, PM3+5, PM3+7, PM3+9, PM4~, PM4+2
NAME DISPPROV+3~, DISPPROV+20*, DISPPROV+21*, DISPPROV+22, DISPPROV+27*, DISPPROV+35, DISPPROV+36
NPI DISPPROV+3~, DISPPROV+32*, DISPPROV+33, DISPPROV+35, DISPPROV+36
PCLS DISPPROV+3~, DISPPROV+24*, DISPPROV+25
PKG DISPPROV+4~, DISPPROV+12*, DISPPROV+16, TOTCNT+16*, TOTCNT+20
PURDT PURGEMAN+1~, PM3+3*, PM3+6
PURNOW PURGEMAN+1~, PM3+2*, PM3+3
QNM PURGEMAN+1~, PM3+1*, PM4+3
RES PM4+1~, PM4+2*, PM4+3*, PM4+4
STR PURGEMAN+1~, PM3+5*, PM3+6
TITLE DISPPROV+3~, DISPPROV+11*, DISPPROV+12
TP DISPPROV+3~, DISPPROV+28*, DISPPROV+29, DISPPROV+33
TPX DISPPROV+3~, DISPPROV+29*, DISPPROV+35
TYPE PURGEMAN+1~
U DISPPROV+9, DISPPROV+24, DISPPROV+25, DISPPROV+27, DISPPROV+28, DISPPROV+30, DISPPROV+32, PM1+3, PM2+3, PM3+6
VER DISPPROV+4~, DISPPROV+12*, DISPPROV+16, TOTCNT+16*, TOTCNT+20
WHICH DISPPROV+3~, DISPPROV+9*, DISPPROV+11, DISPPROV+17, DISPPROV+18, DISPPROV+33, DISPPROV+35, DISPPROV+36
X DISPPROV+4~, DISPPROV+13*, PM2+3, TOTCNT+17*
>> Y DISPPROV+9, PM1+3, PM2+3
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All