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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: IBCEP2

Package: Integrated Billing

Routine: IBCEP2


Information

IBCEP2 ;ALB/TMP - EDI UTILITIES for provider ID ;13-DEC-99

Source Information

Source file <IBCEP2.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Integrated Billing 3 ($$COBN,$$FT,F)^IBCEF  $$ISRX^IBCEF1  ($$CAREST,$$UNIQ1,$$UNIQ2)^IBCEP2A  

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

Package Total Caller Graph
Integrated Billing 7 IBCEF74  IBCEFP1  IBCEP2A  IBCEP2B  IBCEP3  IBCEP8  ^IBA(364.5  

Entry Points

Name Comments DBIA/ICR reference
GETID(IBIFN,IBTYPE,IBPROV,IBSEQ,IBT,IBT1,IBFUNC) ; Extract IBTYPE id for the bill
; IBIFN = bill ien (file 399)
; IBTYPE = 2:PERFORMING PROVIDER ID (1 and 3 deleted)
; IBSEQ = numeric COB sequence of the insurance on bill
; IBFUNC = 1:REFERRING;2:OPERATING;3:RENDERING;4:ATTENDING;5:SUPERVISING;6:ASSISTANT SURGEON;9:OTHER;
; Returns IBT = ien of the provider id type^ien of entry^file # for id
IDFIND(IBIFN,IBPTYP,IBPROV,IBSEQ,IBPERF,IBT,IBFUNC) ;Loop thru source levels
; (if id definition allows) to find correct ID
; IBIFN = bill ien (file 399)
; IBPTYP = ien of the provider id type in file 355.97 or if null,
; the default performing provider ID type for the ins co. in
; COB sequence IBSEQ will be calculated
; IBPROV = (variable pointer syntax) provider on bill IBIFN
; IBSEQ = numeric COB sequence of the bill
; IBPERF = 1 if the performing provider id is needed
; IBFUNC = 1:REFERRING;2:OPERATING;3:RENDERING;4:ATTENDING;5:SUPERVISING;9:OTHER;
; Returns IBT = ptr to file 355.97^entry #^file #
GETALL(IBTYPE,IBIFN,IBPROV,IBPID) ; Extract all performing prov id's for a
; provider (IBPROV - vp format) on bill IBIFN
; IBTYPE = type of ID to return (see GETID above)
SRC1(IBIFN,IBINS,IBPTYP,IBPROV,IBT) ; Licensing/gov't issued # - provider specific
; Parameter definitions for SRC1, SRC3, SRC4, SRC5, SRC6:
; IBIFN = ien of bill (file 399)
; IBINS = ien of insurance co (file 36) or *ALL* for all insurance
; (always *ALL* for SRC1)
; IBPTYP = ien of the provider id type in file 355.97
; IBPROV = (variable pointer syntax) provider on bill IBIFN
; IBT = returned as type ien^file ien^file #
SRC2(IB35597,IBT) ; Facility default - all providers
; IB35597 = ien of the provider id type entry in file 355.97
; IBT = returned as type ien^file ien^file #
SRC3(IBIFN,IBINS,IBPTYP,IBT) ; Ins co/all providers
; See SRC1 for parameter definitions
SRC4(IBIFN,IBINS,IBPTYP,IBPROV,IBT) ; Insurance co/individual provider
; See SRC1 for parameter definitions
SRC5(IBIFN,IBINS,IBPTYP,IBSEQ,IBT,IBFUNC) ; Ins co/all providers/care unit
; See SRC1 for missing parameter definitions
; IBSEQ = the numeric COB sequence of the insurance on the bill
SRC6(IBIFN,IBINS,IBPTYP,IBPROV,IBSEQ,IBT) ; Ins co/ind provider/care unit
; See SRC1 for missing parameter definitions
; IBSEQ = the numeric COB sequence of the insurance on the bill
UNIQ1(IBIFN,IBINS,IBPTYP,IBPROV,IBUNIT,IBCU,IBT) ; Match most-least specific
; *** SEE PARAMETER DEFINITIONS IN IBCEP3 ***
UNIQ2(IBIFN,IBINS,IBPTYP,IBUNIT,IBCU,IBT) ; Match on most-least specific
; *** SEE PARAMETER DEFINITIONS IN IBCEP3 ***

External References

Name Field # of Occurrence
$$COBN^IBCEF IDFIND+15, GETALL+9
$$FT^IBCEF IDFIND+19, SRC5+10, SRC6+7, SRC6+8
F^IBCEF IDFIND+51
$$ISRX^IBCEF1 SRC1+10, SRC3+3, SRC4+4, SRC5+6
$$CAREST^IBCEP2A IDFIND+37
$$UNIQ1^IBCEP2A UNIQ1+6
$$UNIQ2^IBCEP2A UNIQ2+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGCR(399 - [#399] IDFIND+16, GETALL+10, SRC5+10, SRC5+11, SRC6+7, SRC6+8
^DIC(36 - [#36] IDFIND+16
^IBA(355.9 - [#355.9] SRC1+11, SRC1+13, SRC4+5, SRC4+7, SRC6+9
^IBA(355.91 - [#355.91] SRC3+4, SRC3+6, SRC5+13, SRC5+15
^IBA(355.93 - [#355.93] IDFIND+47
^IBA(355.96 - [#355.96] SRC5+12
^IBE(355.97 - [#355.97] IDFIND+27, SRC2+5
^VA(200 - [#200] IDFIND+35, IDFIND+41, IDFIND+46

Label References

Name Line Occurrences
$$GETID GETALL+10
$$IDFIND GETID+10
$$SRC1 IDFIND+54
$$SRC2 IDFIND+56
$$SRC3 IDFIND+58
$$SRC4 IDFIND+60
$$SRC5 IDFIND+62
$$SRC6 IDFIND+64
$$UNIQ1 SRC1+12, SRC4+6, SRC6+10
$$UNIQ2 SRC3+5, SRC5+14

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
COB GETALL+8~, GETALL+9*, GETALL+10
FT IDFIND+19~*, IDFIND+20, IDFIND+23
IB SRC1+9~, SRC1+10*, SRC1+11*, SRC1+12, SRC1+13, SRC3+2~, SRC3+3*, SRC3+4*, SRC3+5, SRC3+6
, SRC4+3~, SRC4+4*, SRC4+5*, SRC4+6, SRC4+7, SRC5+5~, SRC5+13*, SRC5+14, SRC5+15, SRC6+5~
, SRC6+6*, SRC6+9*, SRC6+10
IB35597 SRC2~, SRC2+4, SRC2+5
IBALT IDFIND+14~, IDFIND+28*
IBCU UNIQ1~, UNIQ1+6, UNIQ2~, UNIQ2+5
IBFUNC GETID~, GETID+10, IDFIND~, IDFIND+23, IDFIND+24, IDFIND+62, SRC5~, SRC5+10, SRC5+11
IBID GETID+9~, GETID+10*, GETID+11, GETID+13, IDFIND+14~, IDFIND+30, IDFIND+35*, IDFIND+41*, IDFIND+46*, IDFIND+47*
, IDFIND+52*, IDFIND+54*, IDFIND+56*, IDFIND+58*, IDFIND+60*, IDFIND+62*, IDFIND+64*, IDFIND+66, SRC1+9~, SRC1+10*
, SRC1+11, SRC1+12*, SRC1+13*, SRC1+14*, SRC1+15, SRC3+2~, SRC3+3*, SRC3+4, SRC3+5*, SRC3+6*
, SRC3+7*, SRC3+8, SRC4+3~, SRC4+4*, SRC4+5, SRC4+6*, SRC4+7*, SRC4+8*, SRC4+9, SRC5+5~
, SRC5+6*, SRC5+12, SRC5+13, SRC5+14*, SRC5+15*, SRC5+16*, SRC5+17, SRC6+5~, SRC6+6*, SRC6+9
, SRC6+10*, SRC6+11
IBIDSV SRC1+9~, SRC1+10*, SRC1+13*, SRC1+14, SRC3+2~, SRC3+3*, SRC3+6*, SRC3+7, SRC4+3~, SRC4+4*
, SRC4+7*, SRC4+8, SRC5+5~, SRC5+6*, SRC5+15*, SRC5+16
IBIFN GETID~, GETID+10, IDFIND~, IDFIND+15, IDFIND+16, IDFIND+19, IDFIND+37, IDFIND+51, IDFIND+54, IDFIND+58
, IDFIND+60, IDFIND+62, IDFIND+64, GETALL~, GETALL+9, GETALL+10, SRC1~, SRC1+10, SRC1+12, SRC3~
, SRC3+3, SRC3+5, SRC4~, SRC4+4, SRC4+6, SRC5~, SRC5+6, SRC5+10, SRC5+11, SRC5+14
, SRC6~, SRC6+7, SRC6+8, SRC6+10, UNIQ1~, UNIQ1+6, UNIQ2~, UNIQ2+5
IBINS IDFIND+14~, IDFIND+16*, IDFIND+58, IDFIND+60, IDFIND+62, IDFIND+64, SRC1~, SRC1+11, SRC1+12, SRC3~
, SRC3+4, SRC3+5, SRC4~, SRC4+5, SRC4+6, SRC5~, SRC5+12, SRC5+14, SRC6~, SRC6+9
, SRC6+10, UNIQ1~, UNIQ1+6, UNIQ2~, UNIQ2+5
IBINS4 IDFIND+14~, IDFIND+16*, IDFIND+24, IDFIND+25
>> IBLNPRV SRC5+10, SRC5+11, SRC6+7, SRC6+8
>> IBLNPRV("PROCIEN" SRC5+11, SRC6+8
IBP SRC5+5~, SRC5+10*, SRC5+11*, SRC6+5~, SRC6+7*, SRC6+8*
IBPERF IDFIND~, IDFIND+13
IBPID GETALL~
IBPID( GETALL+10*
IBPROF IDFIND+14~, IDFIND+20*, IDFIND+23, IDFIND+24, IDFIND+25
IBPROV GETID~, GETID+10, IDFIND~, IDFIND+13, IDFIND+35, IDFIND+36, IDFIND+41, IDFIND+42, IDFIND+46, IDFIND+47
, IDFIND+54, IDFIND+60, IDFIND+64, GETALL~, GETALL+10, SRC1~, SRC1+11, SRC1+12, SRC4~, SRC4+5
, SRC4+6, SRC6~, SRC6+9, SRC6+10, UNIQ1~, UNIQ1+6
IBPTYP GETID+9~, IDFIND~, IDFIND+12, IDFIND+23*, IDFIND+24*, IDFIND+25*, IDFIND+26, IDFIND+27, IDFIND+54, IDFIND+56
, IDFIND+58, IDFIND+60, IDFIND+62, IDFIND+64, SRC1~, SRC1+11, SRC1+12, SRC3~, SRC3+4, SRC3+5
, SRC4~, SRC4+5, SRC4+6, SRC5~, SRC5+12, SRC5+14, SRC6~, SRC6+9, SRC6+10, UNIQ1~
, UNIQ1+6, UNIQ2~, UNIQ2+5
IBRX SRC1+9~, SRC1+10*, SRC1+13, SRC3+2~, SRC3+3*, SRC3+6, SRC4+3~, SRC4+4*, SRC4+7, SRC5+5~
, SRC5+6*, SRC5+15
IBSEQ GETID~, GETID+10, IDFIND~, IDFIND+15*, IDFIND+16, IDFIND+62, IDFIND+64, SRC5~, SRC5+10, SRC5+11
, SRC6~, SRC6+7, SRC6+8
IBSPEC IDFIND+14~, IDFIND+27*, IDFIND+32, IDFIND+34, IDFIND+38, IDFIND+43, IDFIND+49
IBSRC IDFIND+14~, IDFIND+27*, IDFIND+30*, IDFIND+32, IDFIND+49, IDFIND+54, IDFIND+56, IDFIND+58, IDFIND+60, IDFIND+62
, IDFIND+64
IBSTATE IDFIND+33~, IDFIND+37*, IDFIND+39, IDFIND+41, IDFIND+44, IDFIND+46
IBT GETID~, GETID+7*, GETID+10, GETID+11*, IDFIND~, IDFIND+12*, IDFIND+23*, IDFIND+24*, IDFIND+25*, IDFIND+36*
, IDFIND+42*, IDFIND+46*, IDFIND+47*, IDFIND+52*, IDFIND+54, IDFIND+56, IDFIND+58, IDFIND+60, IDFIND+62, IDFIND+64
, GETALL+8~, GETALL+10, SRC1~, SRC2~, SRC2+4*, SRC3~, SRC3+5, SRC4~, SRC4+6, SRC5~
, SRC5+14, SRC6~, SRC6+10, UNIQ1~, UNIQ1+6, UNIQ2~, UNIQ2+5
IBT1 GETID~
IBTYPE GETID~, GETID+8, GETALL~, GETALL+10
IBUNIT SRC5+5~, SRC5+10*, SRC5+11*, SRC5+12, SRC5+14, SRC6+5~, SRC6+7*, SRC6+8*, SRC6+9, SRC6+10
, UNIQ1~, UNIQ1+6, UNIQ2~, UNIQ2+5
IBUP IDFIND+14~, IDFIND+27*, IDFIND+30
IBXDATA IDFIND+50~, IDFIND+52
U IDFIND+16, IDFIND+24, IDFIND+25, IDFIND+27, IDFIND+32, IDFIND+34, IDFIND+35, IDFIND+36, IDFIND+38, IDFIND+41
, IDFIND+42, IDFIND+43, IDFIND+46, IDFIND+47, IDFIND+49, IDFIND+52, SRC1+13, SRC2+4, SRC2+5, SRC3+6
, SRC4+7, SRC5+10, SRC5+11, SRC5+15, SRC6+7, SRC6+8
Z IDFIND+14~, IDFIND+41*, IDFIND+42, IDFIND+46*, GETALL+8~, GETALL+10*, SRC5+5~, SRC5+6*, SRC5+12*, SRC5+13
Z1 GETALL+8~, GETALL+10*, GETALL+11
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All