IBCOMA1 ;ALB/CMS/JNM - IDENTIFY ACTIVE POLICIES W/NO EFFECTIVE DATE (CON'T) ; 09-29-2015
Source file <IBCOMA1.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 |
Package | Total | Caller Graph |
---|---|---|
Integrated Billing | 1 | IBCOMA |
Name | Comments | DBIA/ICR reference |
---|---|---|
BEG | ; Entry to run Active Policies w/no Effective Date Report
; Input variables: ; IBAIB - Required. How to sort ; 1= Patient Name Range 2= Terminal Digit Range ; IBSIN - Required. Include Active Policies with ; 1= Verification Date 2= No Verification Date 3= Both |
|
QUEQ | ; Exit clean-UP
|
|
EOR | ; end of report
|
|
HD(IBA) | ; Write Heading
; Input: IBA - 1 - Header for non-verified policies ; 2 - Header for verified policies ; CAPPT(IBA) - Starting Column Position for the 'Last Apt' Column ; CDOD(IBA) - Starting Column Position for the 'DoD' Column ; CGRP(IBA) - Starting Column Position for the 'Group No.' Column ; CINS(IBA) - Starting Column Position for the 'Insurance Co.' Column ; CSSN(IBA) - Starting Column Position for the 'SSN' Column ; CLVDAT(IBA) - Starting Column Position for the 'Last VC' Column ; CLVBY(IBA) - Starting Column Position for the 'VC By' Column ; IBPAGE - Current Page Number ; MAXRPT(IBA) - Maximum number of characters in column header line ; Output: IBPAGE - Updated Page Number |
|
PGHD(IBPAGE) | ; Print Report Page Header
; Input: IBPAGE - Current Page Number, 0 if exporting to Excel ; IBAIB - 1 Sorting by Patient Name, 2 - Sorting by Terminal Digit ; IBAPPTE - Internal Appointment Date Range End ; 0 if no Appointment Date Range filter ; IBAPPTS - Internal Appointment Date Range Start ; 0 if no Appointment Date Range filter ; IBBDT - Internal Verification Start date for Verification filter ; Null if no Verification filter ; IBEDT - Internal Verification End date for Verification filter ; Null if no Verification filter ; IB*743/TAZ - Modified IBRF to note NULL starts with the beginning of the list. ; IBRF - "" - First Patient Name, otherwise start of range filter ; IBRL - End of range filter |
|
WRT | ; Write data lines
|
|
SETMAX(NAME,MAX,IBI) | ; Get max length of data
; Input: NAME - Data to get maximum length for ; MAX(IBI)- Current Max length array ; IBI - Verified or Non-Verified section of the array ; Output MAX(IBI)- Updated Max length array (potentially) |
|
CALCCOLS | ; Truncates the patient and insurance name field lengths if the total
; field lengths will not fit on the report (132 columns) ; Input: MAXGRP(IBA) - Maximum width of the 'Group No' column for ; verified (IBA=1) and non-verified (IBA=2) policies ; MAXINS(IBA) - Current Maximum width of the 'Insurance Co' column for ; verified (IBA=1) and non-verified (IBA=2) policies ; MAXPT(IBA) - Current Maximum width of the 'Patient Name' column for ; verified (IBA=1) and non-verified (IBA=2) policies ; MAXVERBY(IBA) - Maximum width of the 'VC By' column for ; verified (IBA=1) policies ; Output: MAXINS(IBA) - Updated Maximum width of the 'Insurance Co' column for ; verified (IBA=1) and non-verified (IBA=2) policies ; MAXPT(IBA) - Updated Maximum width of the 'Patient Name' column for ; verified (IBA=1) and non-verified (IBA=2) policies |
|
SETCOLS(IDX) | ; Sets the column positions based on maximum data sizes
; Input: IDX - 1 - Verified policies section of the report ; 2 - Non-Verified policies section of the report ; MAXGRP(IBA) - Maximum width of the 'Group No' column for ; verified (IBA=1) and non-verified (IBA=2) policies ; MAXINS(IBA) - Maximum width of the 'Insurance Co' column for ; verified (IBA=1) and non-verified (IBA=2) policies ; MAXPT(IBA) - Maximum width of the 'Patient Name' column for ; verified (IBA=1) and non-verified (IBA=2) policies ; MAXVERBY(IBA) - Maximum width of the 'VC By' column for ; verified (IBA=1) policies ; Output: CAPPT(IDX) - Starting Column position for the 'Last Apt' ; Column for Verified and Non-Verified policies ; CDOD(IDX) - Starting Column position for the 'DoD' ; Column for Verified and Non-Verified policies ; CGRP(IDX) - Starting Column position for the 'Group No' ; Column for Verified and Non-Verified policies ; CINS(IDX) - Starting Column position for the 'Insurance Co.' ; Column for Verified and Non-Verified policies ; CLVBY(IDX) - Starting Column position for the 'VC By' ; Column for Verified and Non-Verified policies ; CLVDAT(IDX) - Starting Column position for the 'Last VC' ; Column for Verified and Non-Verified policies ; CSSN(IDX) - Starting Column position for the 'SSN' ; Column for Verified and Non-Verified policies |
Name | Field # of Occurrence |
---|---|
^%ZISC | QUEQ+2 |
$$ZND^IBCNS1 | BEG+76 |
ASK^IBCOMC2 | BEG+118, BEG+122, WRT+4, WRT+22 |
$$TERMDG^IBCONS2 | BEG+61 |
$$SDAPI^SDAMA301 | BEG+68 |
DEM^VADPT | BEG+42 |
$$FMTE^XLFDT | BEG+97, BEG+98, BEG+102, PGHD+16, PGHD+26, PGHD+27, PGHD+29, PGHD+30, PGHD+45, PGHD+46 , PGHD+48, PGHD+49 |
$$NOW^XLFDT | PGHD+16 |
$$UP^XLFSTR | BEG+54 |
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 |
|
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 |
|
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 |
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(36 - [#36] | BEG+35 |
^DPT - [#2] | BEG+85 |
^DPT("AB" | BEG+34, BEG+40, BEG+73 |
^TMP("IBCOMA" | BEG+25!, BEG+111*, BEG+112*, BEG+113*, BEG+115, QUEQ+3!, WRT+3, WRT+17, WRT+18, WRT+19 , WRT+25, WRT+26, WRT+28, WRT+29 |
^TMP($J | BEG+32!, BEG+69, BEG+70! |
^VA(200 - [#200] | BEG+101 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APPTDATA | BEG+18~, BEG+68 |
APPTDATA("FLDS" | BEG+30* |
APPTDATA("MAX" | BEG+31* |
APPTDATA(1 | BEG+29* |
APPTDATA(4 | BEG+67* |
CAPPT | BEG+18~ |
CAPPT( | HD+27, WRT+42, SETCOLS+31*, SETCOLS+32*, SETCOLS+33 |
CDOD | BEG+18~ |
CDOD( | HD+27, WRT+42, SETCOLS+33*, SETCOLS+34 |
CGRP | BEG+18~ |
CGRP( | HD+25, WRT+40, SETCOLS+27*, SETCOLS+29, SETCOLS+32 |
CINS | BEG+18~ |
CINS( | HD+25, WRT+39, SETCOLS+26*, SETCOLS+27 |
CLVBY | BEG+18~ |
CLVBY( | HD+26, WRT+41, SETCOLS+30*, SETCOLS+31 |
CLVDAT | BEG+18~ |
CLVDAT( | HD+26, WRT+41, SETCOLS+29*, SETCOLS+30 |
CSSN | BEG+18~ |
CSSN( | HD+25, WRT+39, SETCOLS+25*, SETCOLS+26 |
DFN | BEG+18~, BEG+40*, BEG+61, BEG+67, BEG+73, BEG+76, BEG+85, BEG+111, BEG+112, BEG+113 |
DIFF | CALCCOLS+14~, CALCCOLS+18*, CALCCOLS+19*, CALCCOLS+20, CALCCOLS+21, CALCCOLS+22 |
DIFF2 | CALCCOLS+14~, CALCCOLS+21*, CALCCOLS+22, CALCCOLS+23 |
DIFF3 | CALCCOLS+14~, CALCCOLS+22*, CALCCOLS+24 |
DT | BEG+82 |
IBA | HD~, HD+25, HD+26, HD+27, HD+29, WRT+1~, WRT+3*, WRT+11, WRT+15, WRT+16 , WRT+17, WRT+18, WRT+19, WRT+23, WRT+25, WRT+26, WRT+28, WRT+29, WRT+39, WRT+40 , WRT+41, WRT+42 |
IBAIB | BEG+57, BEG+58, BEG+61, BEG+64, BEG+111, BEG+112, BEG+113, QUEQ+3!, PGHD+40 |
IBAPPTE | BEG+29, QUEQ+3!, PGHD+30, PGHD+49 |
IBAPPTS | BEG+29, BEG+71, QUEQ+3!, PGHD+28, PGHD+29, PGHD+47, PGHD+48 |
>> IBBDT | BEG+88, BEG+90, PGHD+25, PGHD+26, PGHD+44, PGHD+45 |
IBC | BEG+18~, BEG+34*, BEG+35, BEG+40, BEG+73, BEG+112, BEG+113 |
IBC0 | BEG+18~, BEG+35*, BEG+38, BEG+39, BEG+99, BEG+107 |
IBCDA | BEG+18~, BEG+73*, BEG+76, BEG+85, BEG+113, WRT+1~, WRT+28*, WRT+29 |
IBCDA0 | BEG+19~, BEG+76*, BEG+79, BEG+82, BEG+102, BEG+108 |
IBCDA1 | BEG+19~, BEG+85*, BEG+86, BEG+100, BEG+105 |
IBDA | WRT+1~, WRT+25*, WRT+26, WRT+28, WRT+29 |
IBDFN | WRT+1~, WRT+18*, WRT+19, WRT+25, WRT+26, WRT+28, WRT+29 |
>> IBEDT | BEG+88, BEG+90, PGHD+27, PGHD+46 |
IBEXCEL | BEG+106, BEG+114, QUEQ+3!, HD+16, HD+22, PGHD+21, WRT+9, WRT+14, WRT+21, WRT+32 , WRT+38 |
IBFIRST | WRT+1~, WRT+2*, WRT+10, WRT+12* |
IBHDT | PGHD+15~, PGHD+16*, PGHD+22, PGHD+36 |
IBI | BEG+19~, BEG+105*, BEG+107, BEG+108, BEG+111, BEG+112, BEG+113, SETMAX~, SETMAX+7 |
IBINS | WRT+1~, WRT+26*, WRT+33, WRT+40 |
IBLS | WRT+1~, WRT+2* |
IBNA | WRT+1~, WRT+17*, WRT+18, WRT+19, WRT+25, WRT+26, WRT+28, WRT+29 |
IBPAGE | BEG+19~, BEG+26*, HD+17, HD+23*, HD+24, PGHD~, PGHD+17, PGHD+18, PGHD+36, WRT+4 |
IBPOL | WRT+1~, WRT+29*, WRT+33, WRT+34, WRT+35, WRT+40, WRT+41 |
IBPT | WRT+1~, WRT+19*, WRT+33, WRT+36, WRT+39, WRT+42 |
IBPTYPE | BEG+45, BEG+48, QUEQ+3!, PGHD+32, PGHD+50 |
IBQUIT | BEG+19~, BEG+26*, BEG+122, WRT+2*, WRT+3, WRT+4, WRT+17, WRT+18, WRT+21, WRT+22 , WRT+25, WRT+28 |
IBRF | BEG+61, QUEQ+3!, PGHD+24, PGHD+43 |
>> IBRFU | BEG+58 |
IBRL | BEG+61, QUEQ+3!, PGHD+24, PGHD+43 |
>> IBRLU | BEG+57 |
IBSIN | BEG+87, BEG+88, BEG+89, BEG+90, QUEQ+3!, PGHD+33, PGHD+51 |
IBTD | BEG+19~, BEG+61*, BEG+64*, BEG+111, BEG+112, BEG+113 |
IBTMP | BEG+19~, QUEQ+3! |
IBTMP(1 | BEG+97*, BEG+98*, BEG+111 |
IBTMP(2 | BEG+99*, BEG+112 |
IBTMP(3 | BEG+102*, BEG+113 |
IBVANM | BEG+21~*, BEG+54*, BEG+57, BEG+58, QUEQ+4! |
IBX | BEG+19~, HD+29* |
IDX | BEG+19~, BEG+24*, CALCCOLS+14~, CALCCOLS+17*, CALCCOLS+18, CALCCOLS+19, CALCCOLS+23, CALCCOLS+24, CALCCOLS+25, SETCOLS~ , SETCOLS+25, SETCOLS+26, SETCOLS+27, SETCOLS+28, SETCOLS+29, SETCOLS+30, SETCOLS+31, SETCOLS+32, SETCOLS+33, SETCOLS+34 |
IOF | PGHD+17 |
IOM | PGHD+36 |
IOSL | WRT+21 |
LASTAPPT | BEG+19~, BEG+69*, BEG+71*, BEG+98 |
LASTVER | BEG+19~, BEG+100*, BEG+101*, BEG+102, BEG+108 |
LEN | SETMAX+5~, SETMAX+6*, SETMAX+7 |
LVDATE | BEG+20~, BEG+86*, BEG+87, BEG+88, BEG+89, BEG+90, BEG+102 |
MAX | SETMAX~, CALCCOLS+14~ |
MAX( | SETMAX+7*, CALCCOLS+18 |
MAX(1 | CALCCOLS+15* |
MAX(2 | CALCCOLS+16* |
MAXGRP | BEG+20~, BEG+108 |
MAXGRP( | BEG+24*, WRT+40, CALCCOLS+18, SETCOLS+29, SETCOLS+32 |
MAXINS | BEG+20~, BEG+107 |
MAXINS( | BEG+24*, WRT+40, CALCCOLS+18, CALCCOLS+24*, SETCOLS+27 |
MAXPT | BEG+20~, BEG+107 |
MAXPT( | BEG+24*, WRT+39, CALCCOLS+18, CALCCOLS+23*, SETCOLS+25 |
MAXRPT | BEG+20~ |
MAXRPT( | HD+29, SETCOLS+34* |
MAXVERBY | BEG+20~, BEG+108 |
MAXVERBY( | BEG+24*, WRT+41, CALCCOLS+19, SETCOLS+31 |
NAME | SETMAX~, SETMAX+6 |
U | BEG+38, BEG+39, BEG+49, BEG+79, BEG+82, BEG+86, BEG+97, BEG+98, BEG+99, BEG+100 , BEG+101, BEG+102, BEG+105, BEG+107, BEG+108, WRT+33, WRT+34, WRT+35, WRT+36, WRT+39 , WRT+40, WRT+41, WRT+42 |
VA | BEG+20~, BEG+41!, QUEQ+3! |
VADM | BEG+20~, BEG+41!, QUEQ+3! |
VADM(1 | BEG+49*, BEG+52, BEG+54, BEG+97, BEG+107, BEG+111, BEG+112, BEG+113 |
VADM(2 | BEG+97 |
VADM(6 | BEG+45, BEG+48, BEG+97 |
VAERR | BEG+20~, BEG+41!, QUEQ+3! |
X | BEG+20~, WRT+1~ |
Y | BEG+20~, WRT+1~ |