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

Package: Integrated Billing

Routine: IBENDS1


Information

IBENDS1 ;DAL/JCH - NDS PAYERS MTOP UTILITIES ;15-JUN-2017

Source Information

Source file <IBENDS1.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Kernel 4 ^%ZIS  ^%ZISC  ^%ZTLOAD  $$NOW^XLFDT  
VA FileMan 3 FIND^DIC  FIELD^DID  ^DIR  
List Manager 1 CLEAR^VALM1  

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
Integrated Billing 2 IBENDS  IBMTOP RPT  

Entry Points

Name Comments DBIA/ICR reference
EN ; MTOP Report Entry point
MAIN ; Driver loop
DQ ; report (queue) starts here
PRINT ; Print output
PRINT2(IBENAME,IBETOPI)
MUA(IBEMUA) ; Select (M)apped, (U)nmapped, or(A)ll - entries from 355.1 mapped to 355.99
SUMMARY() ; ask to print detailed or summary report
OUT() ; select Excel or Report format
DELIM(IBENAME,IBETOPI)
SELDEV()
HEADER ; page break and report header information
PRINTOP(IBENAME,IBETOPI)

External References

Name Field # of Occurrence
^%ZIS SELDEV+21, SELDEV+22
^%ZISC DQ+17
^%ZTLOAD SELDEV+31
FIND^DIC DELIM+13
FIELD^DID PRINTOP+6
^DIR EN+6, MUA+5, SUMMARY+4, OUT+6, SELDEV+15, SELDEV+24, HEADER+7
CLEAR^VALM1 MAIN+4
$$NOW^XLFDT PRINT2+14, DELIM+23

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: EN+5
Function Call: WRITE
  • Prompt: !!?2,"This report will print Plan Types from the TYPE OF PLAN"
  • Line Location: MAIN+6
Function Call: WRITE
  • Prompt: !?2,"(#355.1) file and each Plan Type's mapping relationship"
  • Line Location: MAIN+7
Function Call: WRITE
  • Prompt: !?2,"to the Public Health Data Standards Consortium (PHDSC)"
  • Line Location: MAIN+8
Function Call: WRITE
  • Prompt: !!,"<*> please wait <*>"
  • Line Location: MAIN+23
Function Call: WRITE
  • Prompt: !!!?5,"No Data Found"
  • Line Location: PRINT+7
Function Call: WRITE
  • Prompt: !,"PHDSC Parent: ",IBEMPARX
  • Line Location: PRINT2+20
Function Call: WRITE
  • Prompt: !,"MTOP PHDSC Replaced By: ",IBEMREPX
  • Line Location: PRINT2+23
Function Call: WRITE
  • Prompt: !
  • Line Location: MUA+2
Function Call: WRITE
  • Prompt: !
  • Line Location: SUMMARY+4
Function Call: WRITE
  • Prompt: !
  • Line Location: OUT+2
Function Call: WRITE
  • Prompt: !,"TYPE OF PLAN NAME^PLAN ABBREVIATION^PLAN STATUS^MAJOR CATEGORY^MAPPED/NOT MAPPED^MTOP PHDSC NAME^MTOP PHDSC CODE^MTOP PHDSC STATUS^PARENT^REPLACED BY"
  • Line Location: DELIM+5
Function Call: WRITE
  • Prompt: !,"TYPE OF PLAN NAME^MAPPED/NOT MAPPED^MTOP PHDSC NAME"
  • Line Location: DELIM+6
Function Call: WRITE
  • Prompt: !,IBSTRING
  • Line Location: DELIM+34
Function Call: WRITE
  • Prompt: !
  • Line Location: SELDEV+15
Function Call: WRITE
  • Prompt: !,"You may queue this report to print at a later time.",!
  • Line Location: SELDEV+18
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: @IOF,!
  • Line Location: HEADER+10
Function Call: WRITE
  • Prompt: IBEHDR
  • Line Location: HEADER+15
Function Call: WRITE
  • Prompt: !,IBEHDR(1)
  • Line Location: HEADER+16
Function Call: WRITE
  • Prompt: !!,"Type of Plan: ",$P(IBETOP0,"^")
  • Line Location: PRINTOP+1
Function Call: WRITE
  • Prompt: !?4,"Category: ",IBECTX
  • Line Location: PRINTOP+8
Function Call: WRITE
  • Prompt: !?2,"Mapped to PHDSC Source of Payment?: ",$S(IBEMTOPI:"YES",1:"NO")
  • Line Location: PRINTOP+11
Function Call: WRITE
  • Prompt: !?2,"PHDSC Name: ",$P(^TMP($J,"IBENDS1",IBENAME,IBETOPI,"MTOP"),"^")
  • Line Location: PRINTOP+13
Function Call: WRITE
  • Prompt: !?2,"PHDSC Code: ",$P(^TMP($J,"IBENDS1",IBENAME,IBETOPI,"MTOP"),"^",2)
  • Line Location: PRINTOP+14
Routine Call
  • %ZIS
  • Line Location:
    • SELDEV+21
    • SELDEV+22
Routine Call
  • DIC
  • Line Location:
    • DELIM+13
Routine Call
  • DIR
  • Line Location:
    • EN+6
    • MUA+5
    • SUMMARY+4
    • OUT+6
    • SELDEV+15
    • SELDEV+24
    • HEADER+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^IBE(355.1 - [#355.1] FIELD^DID,  FIND^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^IBE(355.1 - [#355.1] DQ+5, DQ+6
^IBEMTOP(355.99 - [#355.99] DQ+9, PRINT2+14, PRINT2+16, PRINT2+17, PRINT2+19, PRINT2+21, PRINT2+22, DELIM+23, DELIM+24, DELIM+25
, DELIM+28, DELIM+29, DELIM+31
^TMP($J DQ+3!, DQ+12*, DQ+13*, DQ+18!, PRINT+7, PRINT+10, PRINT+11, PRINT2+8, DELIM+7, DELIM+15
, PRINTOP+9, PRINTOP+13, PRINTOP+14

Label References

Name Line Occurrences
$$OUT MAIN+18
$$SELDEV MAIN+21
$$SUMMARY MAIN+15
DELIM PRINT2+5
DQ MAIN+24
HEADER PRINT+7, PRINT2+7
MAIN EN+4
MUA MAIN+12
PRINT DQ+15
PRINT2 PRINT+12
PRINTOP PRINT2+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS SELDEV+20!*, SELDEV+21!
CRT PRINT+1~, PRINT+2*, PRINT+3*, HEADER+3
DIR EN+5~, MUA+1~, SUMMARY+1~, OUT+1~, SELDEV+2~, SELDEV+23~, HEADER+4~, HEADER+7!
DIR("?" MUA+3*
DIR("A" EN+6*, MUA+4*, MUA+5*, SUMMARY+3*, OUT+4*, SELDEV+3*, SELDEV+4*, SELDEV+5*, SELDEV+6*, SELDEV+7*
, SELDEV+8*, SELDEV+9*, SELDEV+10*, SELDEV+11*, SELDEV+12*, SELDEV+13*, SELDEV+14*, SELDEV+24*
DIR("B" EN+6*, MUA+5*, SUMMARY+2*, OUT+5*
DIR(0 EN+6*, MUA+2*, SUMMARY+2*, OUT+3*, SELDEV+15*, SELDEV+24*, HEADER+7*
DIROUT OUT+1~
DIRUT MUA+1~, MUA+6, SUMMARY+1~, SUMMARY+5, OUT+1~, OUT+6
DTOUT OUT+1~
DUOUT OUT+1~
I SELDEV+20~
IBABB DELIM+2~, DELIM+9*, DELIM+20, DELIM+32
IBCATX DELIM+2~, DELIM+12*, DELIM+14*, DELIM+20, DELIM+32
IBCNT PRINT+1~, PRINT+10*, DELIM+4
IBECT PRINT2+1~, DELIM+10*, PRINTOP+5*, PRINTOP+7
IBECTS PRINT2+1~, DELIM+11~
IBECTS("DILIST" DELIM+14
IBECTS("POINTER" PRINTOP+7
IBECTX PRINT2+1~, PRINTOP+7*, PRINTOP+8
IBEDONE SELDEV+17~, SELDEV+19, SELDEV+26*
IBEHDR PRINT+1~, HEADER+1~, HEADER+12*, HEADER+14*, HEADER+15
IBEHDR(1 HEADER+13*, HEADER+16
IBEION EN+1~, SELDEV+20*, SELDEV+22!
IBEMPAR PRINT2+2~, PRINT2+19*, DELIM+27*, DELIM+28
IBEMPARX PRINT2+2~, PRINT2+19*, PRINT2+20, DELIM+28*, DELIM+32
IBEMREPL PRINT2+3~, PRINT2+22*, DELIM+30*, DELIM+31
IBEMREPX PRINT2+3~, PRINT2+22*, PRINT2+23, DELIM+31*, DELIM+32
IBEMTED PRINT2+2~, PRINT2+14*, PRINT2+15, PRINT2+16, DELIM+23*, DELIM+24
IBEMTEDI PRINT2+2~, PRINT2+16*, PRINT2+17, DELIM+24*, DELIM+25
IBEMTOP0 DQ+1~, DQ+9*, DQ+10*, DQ+13, PRINT2+1~, PRINT2+19, DELIM+15*, DELIM+16, DELIM+17, DELIM+27
, PRINTOP+9*, PRINTOP+10
IBEMTOPI DQ+1~, DQ+6*, DQ+7, DQ+8, DQ+9, DQ+10, PRINT2+2~, PRINT2+12, PRINT2+14, PRINT2+16
, PRINT2+17, PRINT2+21, DELIM+16*, DELIM+18, DELIM+19, DELIM+23, DELIM+24, DELIM+25, DELIM+29, PRINTOP+10*
, PRINTOP+11, PRINTOP+12
IBEMTST PRINT2+2~, PRINT2+17*, PRINT2+18, DELIM+25*, DELIM+26
IBEMUA MAIN+1~, MAIN+12, DQ+7, DQ+8, MUA~, MUA+7*
IBEMV0 PRINT2+3~, PRINT2+21*, PRINT2+22, DELIM+29*, DELIM+30
IBENAME DQ+1~, DQ+11*, DQ+12, DQ+13, PRINT+9~, PRINT+10*, PRINT+11, PRINT+12, PRINT2~, PRINT2+5
, PRINT2+8, PRINT2+10, DELIM~, DELIM+7, DELIM+14, DELIM+15, DELIM+20, DELIM+21, DELIM+32, DELIM+33
, PRINTOP~, PRINTOP+9, PRINTOP+13, PRINTOP+14
IBEOUT EN+1~, EN+2*, EN+3, EN+4, EN+7*, MAIN+12*, MUA+6*
IBEOUTP MAIN+1~, MAIN+18*, MAIN+23, PRINT2+5, SELDEV+1
IBEPGCNT PRINT+1~, PRINT+5*, PRINT2+7, HEADER+3, HEADER+9*, HEADER+14
IBERR DELIM+11~
IBESPACE HEADER+1~, HEADER+11*
IBESTOP MAIN+1~, MAIN+2*, MAIN+18, MAIN+21, PRINT+1~, PRINT+5*, PRINT+10, PRINT+11, PRINT2+7, SUMMARY+5*
, OUT+6*, SELDEV+19, SELDEV+25*, SELDEV+32, HEADER+2*, HEADER+3, HEADER+8*
IBESUM MAIN+1~, MAIN+15*, PRINT+4, PRINT2+13, DELIM+5, DELIM+6, DELIM+20, DELIM+21, DELIM+32, DELIM+33
, PRINTOP+2
IBETAB HEADER+1~, HEADER+14*
IBETOP0 DQ+1~, DQ+6*, DQ+11, DQ+12, PRINT2+1~, PRINT2+8*, PRINT2+9, DELIM+7*, DELIM+8, DELIM+9
, DELIM+10, PRINTOP+1, PRINTOP+3, PRINTOP+5
IBETOPI DQ+1~, DQ+5*, DQ+6, DQ+12, DQ+13, PRINT+9~, PRINT+11*, PRINT+12, PRINT2~, PRINT2+5
, PRINT2+8, PRINT2+10, DELIM~, DELIM+7, DELIM+13, DELIM+15, PRINTOP~, PRINTOP+9, PRINTOP+13, PRINTOP+14
IBMAP DELIM+3~, DELIM+18*, DELIM+20, DELIM+21, DELIM+32, DELIM+33
IBMCOD DELIM+3~, DELIM+17*, DELIM+32
IBMNAM DELIM+3~, DELIM+17*, DELIM+32, DELIM+33
IBMSTAT DELIM+3~, DELIM+26*, DELIM+32
IBSTRING DELIM+2~, DELIM+20*, DELIM+21*, DELIM+22, DELIM+32*, DELIM+33*, DELIM+34
IBTOPST PRINT2+1~, PRINT2+9*, DELIM+2~, DELIM+8*, DELIM+20, DELIM+32, PRINTOP+4
IO MAIN+24
IO("Q" SELDEV+27, SELDEV+31!
IOF HEADER+10
IOP SELDEV+20!, SELDEV+22*!
IOSL PRINT+2, PRINT+3
IOST PRINT+2
LIN HEADER+4~, HEADER+5*
MAXCNT PRINT+1~, PRINT+2*, PRINT+3*, PRINT+4*, PRINT2+7, HEADER+5
POP SELDEV+20!, SELDEV+22
X EN+7, SUMMARY+1~, OUT+1~, SELDEV+2~, SELDEV+23~
Y MUA+1~, MUA+7, SUMMARY+1~, SUMMARY+6, OUT+1~, OUT+7, SELDEV+2~, SELDEV+23~, SELDEV+25, HEADER+8
ZTDESC SELDEV+28~, SELDEV+29*
>> ZTQUEUED HEADER+3
ZTRTN SELDEV+28~, SELDEV+29*
ZTSAVE SELDEV+28~
ZTSAVE("DATE*" SELDEV+30*
ZTSAVE("IBE*" SELDEV+30*
ZTSAVE("ZTREQ" SELDEV+30*
ZTSK SELDEV+20!, SELDEV+31!
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