IBCNS2 ;ALB/AAS - INSURANCE POLICY CALLS FROM FILE 399 DD ;22-JULY-91
Source file <IBCNS2.m>
| 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 | 
  |