IBCNS2 ;ALB/AAS - INSURANCE POLICY CALLS FROM FILE 399 DD ;22-JULY-91
Source file <IBCNS2.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 |
|---|---|---|
| DD(IBX,IBDA,LEVEL) | ; - called from input transform for field 111,112,113
; -- input ibx = x from input transform ; ibda = internal entry in 399 ; level = 1=primary, 2=secondary, 3=tertiary ; -- output returns x=internal entry in 2.3121 (ins. Mult.) if valid ; |
|
| DDQ | ||
| VAR | ||
| SEL(IBX,DFN,INSDT,ACTIVE) | ; -- Select insurance policy
; -- Input IBX = x from input transform ; DFN = patient ; INSDT = (optional) Active date of ins. (default = dt) ; ACTIVE = (optional) 1 if want active (default) ; = 2 if want all ins returned |
|
| SELQ | ||
| DSPTHM | ; display the insurance companies and useful information
|
|
| BLD | ||
| CHK(IBCDFN,ACTIVE,INSDT) | ; -- see if active
|
|
| CQ | ||
| CHKQ | ||
| DDHELP(IBDA,LEVEL) | ; -- Executable help
; -- write out list to choose from |
|
| DDHQ | ||
| TRANS(IBDA,Y) | ; -- output transform
|
|
| INSCO(IBDA,IBCDFN) | ; -- return pointer value of 36 from pt. file
|
|
| IX(DA,XREF) | ; -- create i1, aic xrefs for fields 112, 113, 114
|
|
| KIX(DA,XREF) | ; -- kill logic for above xref
|
|
| BPP(IBDA,IBMCR) | ; Find Bill Payer Policy based on Payer Sequence and the P/S/T payers assigned to the bill,Ins Co must reimburse
; IBMCR = flag that says include MEDICARE WNR ; returns - Bill Payer Policy (ifn of policy entry in patient file) ; - null if either no Payer Sequence or there is no policy defined for the payer sequence ; or the policy defined by the payer sequence Will Not Reimburse and is not MEDICARE |
| Name | Line Occurrences |
|---|---|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Routine Call |
|
| Routine Call |
|
| Routine Call |
|
| Routine Call |
|
| Name | Line Occurrences (* Changed, ! Killed) |
|---|---|
| ^DGCR(399 - [#399] | VAR, IX+4, IX+5*, IX+6*, IX+7*, KIX+1!, KIX+2!, KIX+3!, BPP+9 |
| ^DIC(36 - [#36] | CHK+5, TRANS+3, INSCO+4, BPP+10 |
| ^DPT - [#2] | BLD+1, CHK+2, TRANS+3, INSCO+3, IX+6, IX+7, KIX+3 |
| ^IBA(355.3 - [#355.3] | CHK+8 |
| Name | Field # of Occurrence |
|---|---|
| ^("U" | VAR |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| ACTIVE | DD+6~, DD+8, VAR*, SEL~, SEL+11*, BLD+1, CHK~, CHK+4, DDHELP+2~, TRANS+1~ , INSCO+1~ |
| DA | SEL+9~, IX~, IX+4, IX+5, IX+6, IX+7, KIX~, KIX+1, KIX+2, KIX+3 |
| DE | SEL+9~ |
| DFN | DD+6~, DD+8, VAR*, SEL~, SEL+13, SEL+25, SEL+39, BLD+1, CHK+2, DDHELP+2~ , DDHELP+14, TRANS+1~, TRANS+3, INSCO+1~, INSCO+3, IX+3~, IX+4*, IX+5, IX+6, IX+7 |
| DIC | SEL+9~, SEL+39* |
| DIC("S" | SEL+40* |
| DIC("W" | SEL+41* |
| DIC(0 | SEL+39* |
| DIE | SEL+9~ |
| DIR | SEL+9~ |
| DIR(0 | SEL+30* |
| >> DIRUT | SEL+32 |
| DIV | SEL+9~ |
| DQ | SEL+9~ |
| DR | SEL+9~ |
| DT | VAR, SEL+12 |
| ERROR | SEL+22~, SEL+26 |
| G | SEL+22~ |
| I | SEL+9~, SEL+22~, DSPTHM+2~, DSPTHM+3*, DSPTHM+4, DSPTHM+5, DSPTHM+8, DSPTHM+9, DSPTHM+10, DSPTHM+11 , DDHELP+2~, DDHELP+11*, DDHELP+14 |
| IBC | BPP+6~*, BPP+10*, BPP+11 |
| IBCDFN | BLD+1*, CHK~, CHK+2, CHK+3, CQ, CHKQ, INSCO~, INSCO+3 |
| IBD | SEL+9~, BLD! |
| IBD( | CHKQ*, DDHELP+11, DDHELP+14 |
| IBDA | DD~, VAR, DDHELP~, TRANS~, INSCO~, BPP~, BPP+8, BPP+9 |
| IBDD | SEL+9~, BLD!, BLD+1*, CHKQ*, DDHELP+5 |
| IBDD( | CHK+3*, CQ!, CHKQ |
| IBDTIN | DDHELP+8~, DDHELP+9* |
| IBI | BPP+6~, BPP+10*, BPP+11 |
| IBINS | DDHELP+2~, DDHELP+14* |
| IBM0 | BPP+6~, BPP+9*, BPP+10 |
| IBMCR | BPP~, BPP+7*, BPP+11 |
| IBOUT | SEL+19~, SEL+21, SEL+26*, SEL+27*, SEL+32* |
| IBP | BPP+6~*, BPP+9*, BPP+10, BPP+11 |
| IBSEL | SEL+9~, SEL+10* |
| IBSEL2 | SEL+19~, SEL+21 |
| IBX | DD~, DD+8, SEL~, SEL+20*, SEL+21*, SEL+25, SEL+33*, SEL+38, BPP+6~*, BPP+11* , BPP+12 |
| IBY | BPP+6~, BPP+8*, BPP+9, BPP+10*, BPP+11 |
| INSDT | DD+6~, DD+8, VAR*, SEL~, SEL+12*, BLD+1, CHK~, CHK+6, CHK+7, DDHELP+2~ , DDHELP+9, TRANS+1~, INSCO+1~ |
| IOM | DDHELP+7 |
| J | SEL+9~ |
| LEVEL | DD~, DDHELP~ |
| TARGET | SEL+22~, SEL+27 |
| TARGET("DILIST" | SEL+28, SEL+30, SEL+33, DSPTHM+3, DSPTHM+4, DSPTHM+5, DSPTHM+8, DSPTHM+9, DSPTHM+10, DSPTHM+11 |
| U | TRANS+3, BPP+9, BPP+10 |
| X | DD+8*, DD+9!, SEL+22~, SEL+38*, CHK+1~, CHK+2*, CHK+3, CHK+5, CHK+6, CHK+7 , CHK+8, IX+5, IX+6, IX+7, KIX+3 |
| X1 | CHK+1~, CHK+5*, CHK+9 |
| XREF | IX~, IX+5, IX+6, KIX~, KIX+1, KIX+2 |
| Y | SEL+9~, SEL+10*, SEL+22~, SEL+33, SELQ, TRANS~, TRANS+3*, TRANS+4, INSCO+3*, INSCO+4 |