IBCOMA1 ;ALB/CMS/JNM - IDENTIFY ACTIVE POLICIES W/NO EFFECTIVE DATE (CON'T) ; 09-29-2015
Source file <IBCOMA1.m>
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 | 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 |
|