IBCEP2 ;ALB/TMP - EDI UTILITIES for provider ID ;13-DEC-99
Source file <IBCEP2.m>
| 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 ***  |