IBRSUTL ;ALB/ARH - ASCD INTERFACE UTILITIES ; 23-MAR-07
Source file <IBRSUTL.m>
| action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| CT(IB0E) | ; Return Claims Tracking record for Outpatient Encounter
; Input: IB0E - IEN of Outpatient Encounter #409.68 ; Output: IEN of Outpatient Encounters Claims Tracking record #356 ; or null if no CT entry found |
|
| RNBU(IB0E,CHNG) | ; Update Claims Tracking record Reason Not Billable for an Outpatient Encounter
; Input: IB0E - IEN of Outpatient Encounter #409.68 ; CHNG - 1 if Outpatient Encounter changed from NSC to SC ; 2 if Outpatient Encounter changed from SC to NSC ; Output: 1 - Reason Not Billable SC TREATMENT was added to Outpatient Encounters Claims Tracking Record ; also adds CT Billable Finding of NSC TO SC and Last Reviewed By ; 2 - Reason Not Billable SC TREATMENT was deleted from Outpatient Encounters Claims Tracking Record ; also adds CT Billable Finding of SC TO NSC and Last Reviewed By ; 0 - no change made |
|
| FPBILL(IB0E) | ; Return First Party Bill data for Outpatient Encounter, last encounter transaction if not cancelled
; Input: IB0E - IEN of Outpatient Encounter #409.68 ; Output: First Party AR Bill Number (#350,.11) ^ AR Transaction Number (#350,.12) ^ Total Charge (#350,.07) ; null if no active First Party Bill found for encounter |
|
| TPBILL(IB0E) | ; Return Third Party Bill numbers for Outpatient Encounter, only not cancelled
; Input: IB0E - IEN of Outpatient Encounter #409.68 ; Output: Third Party Bill Number (#399,.01) ^ Third Party Bill Number (#399,.01) ^ ... ; or null if no Third Party Bill found for encounter |
|
| FIRST(IB0E) | ; Return true if Outpatient Encounter is Billable for First Party
; Input: IB0E - IEN of Outpatient Encounter #409.68 ; Output: 0 ^ non-billable reason ; 1 if encounter is First Party billable ; |
|
| THIRD(IB0E) | ; Return true if Outpatient Encounter is Billable for Third Party
; Input: IB0E - IEN of Outpatient Encounter #409.68 ; Output: 0 ^ non-billable reason ; 1 if encounter is Third Party billable |
|
| TPCHG(IB0E) | ; Return Outpatient Encounters potential Third Party charges, based on encounters procedures
; Input: IB0E - IEN of Outpatient Encounter #409.68 ; Output: Total Institutional Amount ^ Total Professional Amount ; 0 if no encounter billable procedures with charges |
|
| Name | Field # of Occurrence |
|---|---|
| $$BIL^DGMTUB | FIRST+8 |
| FILE^DICN | RNBU+16, RNBU+20 |
| ^DIE | RNBU+15, RNBU+19 |
| $$BICOST^IBCRCI | TPCHG+14, TPCHG+15 |
| $$APPTCT^IBEFUNC | FIRST+9, THIRD+8 |
| $$IGN^IBEFUNC | FIRST+11 |
| $$NBCL^IBEFUNC | FIRST+12 |
| $$NBCSC^IBEFUNC | FIRST+13 |
| $$NBCT^IBEFUNC | THIRD+11 |
| $$NBST^IBEFUNC | THIRD+12 |
| $$NCTCL^IBEFUNC | FIRST+10, THIRD+9 |
| $$RPT^IBEFUNC | THIRD+10 |
| $$SCE^IBSDU | FPBILL+6, TPBILL+6, FIRST+6, THIRD+6, TPCHG+6 |
| GETCPT^SDOE | TPCHG+10 |
| FileNo | Call Tags |
|---|---|
| ^IBT(356 - [#356] | Classic Fileman Calls |
| Name | Line Occurrences (* Changed, ! Killed) |
|---|---|
| ^DGCR(399 - [#399] | TPBILL+8, TPBILL+9, TPBILL+10, TPBILL+12 |
| ^DGCR(399.3 - [#399.3] | TPCHG+7 |
| ^IB - [#350] | FPBILL+9, FPBILL+11 |
| ^IB("AFDT" | FPBILL+8 |
| ^IB("APDT" | FPBILL+10 |
| ^IBE(350.1 - [#350.1] | FPBILL+11 |
| ^IBE(350.21 - [#350.21] | FPBILL+12 |
| ^IBE(356.8 - [#356.8] | RNBU+12 |
| ^IBT(356 - [#356] | CT+5, RNBU+11 |
| ^IBT(356.85 - [#356.85] | RNBU+16, RNBU+20 |
| Name | Line Occurrences |
|---|---|
| $$CT | RNBU+11 |
| $$THIRD | TPCHG+8 |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| CHNG | RNBU~, RNBU+14, RNBU+18 |
| DA | RNBU+10~, RNBU+15*!, RNBU+19*! |
| DA(1 | RNBU+16*, RNBU+20* |
| DD | RNBU+10~ |
| DFN | FPBILL+5~, FPBILL+6*, FPBILL+8, TPBILL+5~, TPBILL+6*, TPBILL+8, TPBILL+9, FIRST+5~, FIRST+6*, FIRST+8 , THIRD+5~, THIRD+6*, TPCHG+5~, TPCHG+6* |
| DIC | RNBU+10~, RNBU+15!, RNBU+16*, RNBU+19!, RNBU+20* |
| DIC(0 | RNBU+16*, RNBU+20* |
| DIE | RNBU+10~, RNBU+15*!, RNBU+19*! |
| DLAYGO | RNBU+10~* |
| DO | RNBU+10~ |
| DR | RNBU+10~, RNBU+15*!, RNBU+19*! |
| DUZ | RNBU+15, RNBU+19 |
| IB0E | CT~, CT+5, RNBU~, RNBU+11, FPBILL~, FPBILL+5, FPBILL+6, TPBILL~, TPBILL+6, TPBILL+12 , FIRST~, FIRST+5*, FIRST+6, THIRD~, THIRD+5*, THIRD+6, TPCHG~, TPCHG+6, TPCHG+8, TPCHG+10 |
| IB0E0 | FPBILL+5~, FPBILL+6*, TPBILL+5~, TPBILL+6*, FIRST+5~, FIRST+6*, FIRST+9, FIRST+10, FIRST+11, FIRST+12 , FIRST+13, THIRD+5~, THIRD+6*, THIRD+8, THIRD+9, THIRD+10, THIRD+11, THIRD+12, TPCHG+5~, TPCHG+6* |
| IBCPT | TPBILL+5~, TPBILL+12*, TPCHG+5~, TPCHG+12*, TPCHG+14, TPCHG+15 |
| IBCPTS | TPCHG+5~ |
| IBCPTS( | TPCHG+11, TPCHG+12 |
| IBCTRNB | RNBU+10~, RNBU+11*, RNBU+14, RNBU+18 |
| IBDT | FPBILL+5~, FPBILL+6*, FPBILL+8, TPBILL+5~, TPBILL+6*, TPBILL+8, FIRST+5~, FIRST+6*, FIRST+8, FIRST+11 , FIRST+12, FIRST+13, THIRD+5~, THIRD+6*, THIRD+10, THIRD+11, THIRD+12, TPCHG+5~, TPCHG+6*, TPCHG+14 , TPCHG+15 |
| IBDV | TPCHG+5~, TPCHG+6*, TPCHG+14, TPCHG+15 |
| IBFN | TPCHG+5~, TPCHG+11*, TPCHG+12 |
| IBFND | FPBILL+5~*, FPBILL+11*, FPBILL+12*, FPBILL+13*, FPBILL+15, TPBILL+5~*, TPBILL+12*, TPBILL+14, FIRST+5~*, FIRST+8* , FIRST+9*, FIRST+10*, FIRST+11*, FIRST+12*, FIRST+13*, FIRST+15, THIRD+5~*, THIRD+8*, THIRD+9*, THIRD+10* , THIRD+11*, THIRD+12*, THIRD+14, TPCHG+5~*, TPCHG+11*, TPCHG+17 |
| IBFP0 | FPBILL+5~, FPBILL+9*, FPBILL+10, FPBILL+11*, FPBILL+12, FPBILL+13 |
| IBFROM | FPBILL+5~*, FPBILL+9 |
| IBIFN | FPBILL+5~, FPBILL+8*, FPBILL+9, TPBILL+5~, TPBILL+9*, TPBILL+10, TPBILL+12 |
| IBINST | TPCHG+5~*, TPCHG+11, TPCHG+14* |
| IBLAST | FPBILL+5~, FPBILL+10*, FPBILL+11 |
| IBNDT | FPBILL+5~, FPBILL+10* |
| IBOPV | TPBILL+5~, TPBILL+8*, TPBILL+9 |
| IBPAR | FPBILL+5~, FPBILL+10* |
| IBPROF | TPCHG+5~*, TPCHG+11, TPCHG+15* |
| IBRNBSC | RNBU+10~, RNBU+12*, RNBU+15, RNBU+18 |
| IBRT | TPCHG+5~, TPCHG+7*, TPCHG+14, TPCHG+15 |
| IBTP0 | TPBILL+5~, TPBILL+10*, TPBILL+12 |
| IBTRN | CT+5~*, CT+6, RNBU+10~, RNBU+11*, RNBU+14, RNBU+15, RNBU+16, RNBU+18, RNBU+19, RNBU+20 |
| IBUPD | RNBU+10~*, RNBU+14*, RNBU+18*, RNBU+22 |
| IBZERR | TPCHG+5~ |
| U | RNBU+11, FPBILL+6, FPBILL+9, FPBILL+10, FPBILL+11, FPBILL+12, FPBILL+13, TPBILL+6, TPBILL+10, TPBILL+12 , FIRST+6, FIRST+8, FIRST+9, FIRST+10, FIRST+11, FIRST+12, FIRST+13, THIRD+6, THIRD+8, THIRD+9 , THIRD+10, THIRD+11, THIRD+12, TPCHG+6, TPCHG+11, TPCHG+12 |
| X | RNBU+10~, RNBU+15!, RNBU+16*, RNBU+19!, RNBU+20* |
| Y | RNBU+10~, RNBU+15!, RNBU+19! |