Our Leader, as a pup   Billing

'May 26, 2005, Version 5.0.2.90 -  Jim
'  Bug Fix - Security settings for other programs were being applied to the Signon process
'----------------------------------------------------------
'May 25, 2005, Version 5.0.2.89
'Fixed writing ANSI files with small # of results
'----------------------------------------------------------
'May 18, 2005, Version 5.0.2.88 - reported by Bob, Fixed by Jim
'  Bug Fix - removed Stop command ay line 8108 in GetTheTest
'----------------------------------------------------------
'May 13, 2005, Version 5.0.2.87
' Added 3 new controls for filling ANSI files
'          Date Collected
'          Date Received
'          Date Reported
'----------------------------------------------------------
'May 13, 2005, Version 5.0.2.86 -  Jim
'  Bug Fix - index out of bounds in WriteANSIBody - TestGrid size was not being set
'  Bug Fix - Menu | File | Sign on as Someone else did not show the sign-on frame
'----------------------------------------------------------
'May 11, 2005, Version 5.0.2.85
' Writing the ANSI 837 export file was using the wrong array name...short lists would fail
'----------------------------------------------------------
'April 24, 2005, Version 5.0.2.84
'  Bug Fix - If the save file path from local options does not exist - an error occurs during load time
'----------------------------------------------------------
'April 18, 2005, Version 5.0.2.83
'Added [x] InUse to Result grid so invalid clients can be removed before writing files
'Improved speed of Clinic Searches
'----------------------------------------------------------
'April 5, 2005, Version 5.0.2.81
'Combined HIV Serum and OralFluid into the search for HIV
'Added Branch to Search option
'----------------------------------------------------------
'March 22, 2005, Version 5.0.2.79
'Total due was not set to zero when searching for multiple clinics
'----------------------------------------------------------
'March 21, 2005, Version 5.0.2.77
'EDS Claims were not being found in "re-bill" box, due to a broken SQL query
'Local lab name was not being added to EDS header information
'Printed copies were not being recognized.
'----------------------------------------------------------
'March 14, 2005, Version 5.0.2.75
'Drive List Box was trying to save full path, changed only to primary drive and : was saved (i.e. H: or C:)
'----------------------------------------------
'March 12, 2005, Version 5.0.2.73
'Checked report of DriveListBox not updating..found "handle" was disconnected
'Changed Saving of default path so only Admin for test will have access to the button
'----------------------------------------------
 

'March 08, 2005 Version  5.0.2.71
'Logic glitch, the program would a search of Flags with no tests selected. Moved trap routine above flags to trap correctly
'------------------------------------
'February 14, 2005 Version 5.0.2.69
'LastClinic was being re-calculated using the row# instead of highest assigned clinic #
'so labs having clinics out of numerical sequence would not find the highest ones
'Removed Clinic column counter from grid to make a simpler display
'------------------------------------
'February 10, 2005 Version 5.0.2.67
'Changed query for printing to add sort for individual lab results (rows) by date reported
'------------------------------------
'February 9, 2005 Version  5.0.2.65
'Summary Grid amounts were off by factor of 100
'------------------------------------
'January 21, 2005 Version  5.0.2.63
'Pricing table was updating the wrong ID
'Added Trap for RollBack
'------------------------------------
'January 18, 2005 Version  5.0.2.61
'Added PrimaryAidtype after CountyofEligibility
'Fixed Julian date Calculation in EDS
'------------------------------------
'January 13, 2005 Version  5.0.2.57, 5.0.2.59
'change CLIA ID # to MediCal ID # to fill MediCal # when used.
'Trapped "ID #" for billing # correctly
'------------------------------------
'January 07, 2005 Version  5.0.2.55
'Fixed glitch in EDS billing
'------------------------------------
'January 06, 2005 Version  5.0.2.53
'Added Pricing tables
'------------------------------------
'January 05, 2005 Version  5.0.2.51
'Trapped Date/Time to load during setup of ANSI Grid
'------------------------------------
'January 03, 2005 Version  5.0.2.49
'Changed Print Display so Client Name, Sex, DOB and lab #'s are not duplicated
'Changed SQL sort to align Lab #'s and results better
'------------------------------------
'January 03, 2005 Version  5.0.2.48
'Fixed payor in GetProviders
'------------------------------------
'December 23, 2004 Version 5.0.2.47,
'Trapped Client ID #
'Disconnected Old Version for Diag Code and ID #
'-----------------------------------------------
'December 22, 2004 Version 5.0.2.45
'When Inserting a row in the ANSI Maintenance. Turned sort until the list is saved
'Fixed sort order column
'-----------------------------------------------
'December 21, 2004 Version 5.0.2.43
'ST02 capture was not part of AnsiHeader, fixed...
'-----------------------------------------------
'December 21, 2004 Version 5.0.2.41
'NumSegs not set to zero, counts could be high if more then on bill run in a session
'-----------------------------------------------
'December 20, 2004 Version 5.0.2.39
'Trapped flags when the radio button "FlagIS" or "FlagISNOT" has not been selected
'Trapped Radio buttons so a flag is required if the buttons are selected.
'Trapped error when naming flat file name. Now the name is only changed if the file name is already in use
'-----------------------------------------------
'December 17, 2004 Version 5.0.2.37
'Fixed staffId Dimension for non-sequential staff #'s
'Fixed ST02 error, was not getting a file name when there were no existing matching names.
'Changed re-bill display to reflect the sequential invoice #, matches ANSI ST02 number.
'-----------------------------------------------
'December 15, 2004 Version 5.0.2.35
'Writing the Ansi flat file needed an "Ordered by" to generate the data in the correct sequence
'Trapped lab results "Not Active"
'Fixed ANSI drop down box to respond to only payees
'-------------------------------------------
'December 15, 2004 Version 5.0.2.33
'Counted the Footer segments BEFORE writing the footer, since the segments ran past the end of the segment display
'---------------------------------------------
'December 14, 2004 Version 5.0.2.31
'Footer Segment and In Use was mis-named during save...fixed
'---------------------------------------

December 4, 2004 Version 5.0.2.29
Added IsSegment to ANSI Provider Table to track # of Segments.
Changed BtBSequence # to Invoice #
Changed Unique Sequence # to Year+Month+day+File# (041204001) for 4.12.04, file #1
'Changed SQL search routine for CHDP Type 11 to correctly fill the columns from the table
---------------------------------------
November 14, 2004  Version 5.0.2.27
Added One new Definitions
Ordering Doc=Clinic 
This will match the Clinic Billing field against the Providers License and use the Providers full name for the ordering Physician
--------------------------------------------------
November 14, 2004  Version 5.0.2.25
Added Two new Definitions
"Referring ShortName" physician ID field
Clinic Billing #" from Billing Column in ClinicTable
-------------------------------------------------------------
November 12, 2004 Version 5.0.2.23
Fixed problem with Update on the Header Information so that all of the columns will be saved.
Added two new definitions:
           Create Date
           Create Time
You need to add these below "CLM" to get the date to work
The date is in YYYYMMDD and
Time is HHMM
Changed capture of client address from AddressLine1 (in the SQL table)
to
StreetNum+StreetName+AptNum (when all fields available)
----------------------------------------------------------------
November 11, 2004 Version 5.0.2.21
Fixed HL counter when writing ANSI record
Fixed Update when deleting a header item by turning off the [x] use check box instead of using the delete button
-------------------------------------
November 03, 2004 Version 5.0.2.19
Added button to turn off all flags...
Changed Invoice Master (@0068) to match current database configuration
---------------------------------------
November 01, 2004 Version 5.0.2.17
Changed default search to "Final Date"
-------------------------------------
October 29, 2004 Version 5.0.2.15
Fixed glitch with lab test date reported in SQL setup
Added "IsNot" option to Flag search
-------------------------------------
October 25, 2004 Version 5.0.2.13
Trapped provider with no address
Added fixed column to clinics to make it more readable.
Checked data results printed vs screen only <<identical>>
-----------------------------------------------------------------
October 18, 2004 Version 5.0.2.11
Added mini-report generator to allow selection of columns to print/not print on invoices.
---------------------------------
October 16, 2004 Version 5.0.2.9
Added Taxnomy Code for Medical ANSI837 billing (Maintenace Tab, EDS info Tab)
---------------------------------------
October 12, 2004 Version 5.0.2.7
Added BillingType as a Search String
Re-organized ANSI data by storing the terminal character (*) in the data base
Removed CleanStr from Replace routine
Added QuickHelp to most tabs (Maintenance and ANSI write still need updating)
-----------------------------------------------------------
October 10, 2004 Version 5.0.2.5
Added Summary page by clinic for each run
Added Print Summary
Changed <Save Edit> of ANSI data to allow for new data in correct sort order
Changed Edit format to allow for changes in ANSI header information
Need to align Currency right in Sub PrintCoverSheet Routine (Wouldnt hurt in Print invoice too!)
----------------------------------------------------
October 7, 2004 Version 5.0.2.3
Added search for final Date OR date row
-------------------------------------
Sept72, 2004, Version 5.0.2.2  Jim
   Add automatic version update code
=======================
Sept 2, 2004, Version 5.0.2.1
Added Support for screen reslution of 800x600
Added signOn info
Added FailedLogon
Limited Maintenance and ANSI Table update to person with IsAdmin =True access
Added Help Screen
-------------------------------
July 19,2004 Version 5.0.1.13
Added some instructions on setting up ANSI Payors to clarify what the program is expecting...
-----------------------------------------
June 12, 2004, Version 5.0.1.11
After Get the Test, needed to activate Tab02click to turn correct tab yellow
Fixed return date code that was using month.now for month in ConvertDateTime
Fixed program flow when nothing found, showed # found in status bar, in real time