Our Leader, as a pup All Slips

'Version 5.0.3.125 May 24, 2005
'TB Biochem activated
'Fixed array problem in Reference labs when logging on as a branch lab
'----------------------------------
'Version 5.0.3.123 May 22, 2005
'Multiple printing did not fill the Print Log correctly
'----------------------------------
'Version 5.0.3.121 May 13, 2005
'BugCategories were not cleared correctly if not part of the special groups
'----------------------------------
'Version 5.0.3.119 May 13, 2005
'Sent To Reference Labs not loaded
'Added Counter when typing in SentTo Comment
'"BactGroup" did not allow Reflex reports...fixed
'Removed hardcoded TB bug names
'----------------------------------
'Version 5.0.3.117 May 10, 2005
'Added blank line for comment drop down box to allow you to delete a comment
'Added option to select a print range on multiple searches without clearing the Print box
'Fixed typo when setting up mastercodes
'----------------------------------
'Version 5.0.3.115 May 06, 2005
'External Tests, Headers were mis-defined
'----------------------------------
'Version 5.0.3.113 May 04, 2005
'Saving canned comments from NumberPad was not connected correctly
'----------------------------------
'Version 5.0.3.111 May 03, 2005
'Diagnostic Grid was turned off unless activated in Client Entry
'Fixed saving of comments when not added from drop down box
'----------------------------------
'Version 5.0.3.109 April 14, 2005
'FillDown in Print drugs not working
'Branch call missing from phrases and comments
'Canned comments were missing the # in the drop down box
'Added subgroups for OF WBlot and HIV IFA and WBlot
'----------------------------------
'Version 5.0.3.108 April 15, 2005 - Jim
'Audit trail did not handle legacy data with embedded single quotes properly.
'----------------------------------
'Version 5.0.3.107 April 12, 2005
'Finding Print Ranges were not working correctly
'----------------------------------
'Version 5.0.3.105 April 6, 2005
'AuditTrail and Diagnostic codes activated
'----------------------------------------------
'Version 5.0.3.103 April 5, 2005
'Activate Button was not visible
'----------------------------------------------
'Version 5.0.3.101 April 5, 2005
'Check Audit was not de-activated (it will be activated in the next MSI release)
'----------------------------------------------
'Version 5.0.3.99 March 31, 2005
'Print Grid was set to 49 rows, updated control to 250 rows
'----------------------------------------------
'Version 5.0.3.98 March 30, 2005
'Bug Fix - time received was not being formatted properly for update of specimen info.
'----------------------------------------------
'Version 5.0.3.97 March 29, 2005
'Removed (Delete Row) from TB Drugs, since it is not a valid response in this version
'Added "Row Height" to BugNames (Maintenance). In some systems, the cursor cannot be seen for editing
'unless the row height is expanded.  Increasing the row height will allow the cursor to be seen.
'----------------------------------------------
'Version 5.0.3.95 March 28, 2005
'BugNames Search for paragraphs was ignoring tests that had been de-activated
'----------------------------------------------
'Version 5.0.3.93 March 24, 2005
'Updated Provider DataSet
'Updated BillingCombo to reflect active providers
'Disconnected Diagnostic Grid and Audit Trail pending table updates
'----------------------------------------------
'Version 5.0.3.92 (in progress..) Jim
'Bug Fix - Reverse last change
'Bug Fix - CheckAudit was being called after the data had already been changed by clicking the SaveFromNumForm button.
'Bug Fix - Times were not being converted correctly for comparison in CheckAudit.
'------------------------------------------------
'Version 5.0.3.90 (in progress..) Jim
'Bug Fix - Update statements need to have Enteredby included
'------------------------------------
'Version 5.0.3.89 (in progress..)
'Adding additional Diag Codes (not released yet)
'------------------------------------
'Version 5.0.3.87 March 18, 2005
'Added ability to turn off comment drop down boxes that you don't use in a section (activate in the maintenance tab)
'--------------------------------------------------------------
'Version 5.0.3.85 March 16, 2005
'Fixed search for Interpretations from BugNames where there was a ' in the datastream
'--------------------------------------------------------------
'Version 5.0.3.83 March 15, 2005
'Trapped QuickButton Caption when it is >15 characters (this time, checking the correct column!)
'Fixed paragraph printing
'Fixed update of BugNames where there was a ' in the datastream
'----------------------------------------------------------------
'Version 5.0.3.81 March 14, 2005
'Fixed printing of Paragraphs (Could cause an error)
'Fixed QuickButtons when no data was in the grid
'----------------------------------------------------------------
'Version 5.0.3.79 March 12, 2005
'Trapped QuickButton Caption when it is >15 characters
'Trapped STD test type so only a sub-set of bug names are displayed
'(this will be moved to Drugs of Abuse, CT/GC and VD/VDConfirm shortly)
'----------------------------------------------------------------
 

'Version 5.0.3.77 March 3, 2005
'Modfied paragraph printing to check for subgroup results
'Added Call to next paragraph from Paragraph comments
'----------------------------------------------------------------
'Version 5.0.3.75 March 1, 2005
'Matched print out with Quick Results
'Removed tested by from Print Grid (Since it is not printed)
'----------------------------------------------------------------
'Version 5.0.3.73 Febuary 25, 2005
'Added Check for "IsActive" in Paragraphs
'----------------------------------------------------------------
'Version 5.0.3.71 Febuary 24, 2005
'Fixed Paragraph in Maintenance
'----------------------------------------------------------------
'Version 5.0.3.69 Febuary 19, 2005
'Activated Stat STD
'----------------------------------------------------------------
'Version 5.0.3.67 Febuary 16, 2005
'Added CheckReportable? in Maintenance
'If activated and a new bug is added AND the index? check box is on, the program will ask if the newbug is a reportable disease.
'Added print for List of bugs (in Maintenance)
'----------------------------------------------------------------
'Version 5.0.3.65 January 29, 2005
'Added "AutoApprove" to bug names to interact with Quick Results
'minor Display fixes...added Back Button during Maintenance, fixed frozen display actions
'Removed "Age: from lab slip (no one wanted it displayed)
'----------------------------------------------------------------
'Version 5.0.3.64 January 25, 2005
'Bug Fix - No Done button on Access box -  it could not be removed if use had clicked Show Access Level
'----------------------------------------------------------------
'Version 5.0.3.63 January 25, 2005
'Bug Name Groups (for VD and CT/GC) were not being loaded correctly
'Increased font size in BugNames, The small font size did not always show the cursor
'Fixed saving and printing of @Lab section
'----------------------------------------------------------------
'Version 5.0.3.61 January 20, 2005
'Allowed delete of bug names even when groups were not assigned (For CT and VD)
'----------------------------------------------------------------
'Version 5.0.3.59 January 19, 2005
'Patient Sex was not being printed...
'changed Worklabel for HIV-EIA to HIV Serum ELISA to distiquish it from HIV Oral Fluid
'----------------------------------------------------------------
'Version 5.0.3.57 January 18, 2005
'Added option to NOT print Date Ordered in Lab Slip
'----------------------------------------------------------------
'Version 5.0.3.55 January 11, 2005
'Trapped saving of invalid Headers
'---------------------------------------------------
'Version 5.0.3.53 January 10, 2005
'Removed Quick Lead Buttons (The Quick buttons can be programed instead)
'Changed Lead Ranges from <= and>= to < and >
'---------------------------------------------------
'Version 5.0.3.51 January 07, 2005
'Trapped Null BirthYears or BirthMonth in print out
'Added Automatic "Approval" from quick buttons, if [x] Final Date is checked
'---------------------------------------------------
'Version 5.0.3.47, 5.0.3.49 January 04, 2005
'In Drug, had a NEW drug default to Print=Yes, this is not the desired affect...changed
'Drug report date, when cleared was not being saved correctly
'Verified paragraphs being printed.
'Tweaked Lead reporting
'---------------------------------------------------
'Version 5.0.3.45 January 04, 2005
'Was using "FullYear" to trap invalid dates > current year, but should have been using System.DateTime.Now.Year for the computer clock
'---------------------------------------------------
'Version 5.0.3.43 January 04, 2005
'Additional tweaks to fix lab slip printing for multiple copies + reflex
'-----------------------------------
'Version 5.0.3.39, 5.0.3.41 January 03, 2005
'Adjusted bottom margin and footer,
'Trapped "Print Client # Yes / No" correctly
'Added # of copies to Quick Print
'Fixed page breaks on multiple lab slips
'Trapped duplicate lab #'s in print grid
'Added "Header Panel to selection for Column Headers
'--------------------------------------------
'Version 5.0.3.37 December 23, 2004
'Added "IsActive" column to BugNames
'Added "ShowReading" to BugNames (if Unchecked, no value will be displayed with the result , i.e. LabAccident)
'Fixed Age Display in Specimen section when no DOB was entered.
'---------------------------------------------------------
'Version 5.0.3.35 December 17, 2004
'Turned off sort in Drug columns
'---------------------------------------------------------
'Version 5.0.3.33 December 17, 2004
'Fixed typo in ApporveTrak for QuickPrint
'---------------------------------------------------------
'Version 5.0.3.31 December 16, 2004
'Trapped "Tested By" so a name always has to be added from TestCombo box
'Added automatic save when selecting drugs/probes to insure that the pointer to the bugs are updated
'Added warning when trying to print without a final approval
'---------------------------------------------------------
'Version 5.0.3.29 December 15, 2004
'Removed Qbuttons <1><2><3> tabs unless there are enough Qbuttons to justify the additonal tabs
'Changed Quick Negative and Positive for lead to act like Qbuttons (i.e. add a row, if no row selected.
'Added tooltips to QuickButtons
'------------------------------------------------
'Version 5.0.3.27 December 11, 2004
'Utilized "CanWrite" to track who can sign for tests.
'------------------------------------------------
'Version 5.0.3.25 December 10, 2004
'Changed way Approve and tested by works:
'Each Row is "TestedBy" based on log-on, Staff who cannot test should not use the program for data entry
'Approving a test (using Approved by button) assigns the final date, if not already assigned.
'Printing Approved by is only done on finalized report (optional)
'Added Automatic Save on QuickButtons and Prev/Next Buttons
'Added Optional Save on Exit from program
'Print Options now contains an option to turn on or all Print of Approved names w/o a final date
'----------------------------------------

Version 5.0.3.23 December 6, 2004
Connected comments (phrases) to Specimen/Slide/Culture headers in BtBOpts
Fixed update of Drug "Which Bug" when changing the bug name.
Fixed printing of drugs so that the bug name only prints when changed.
----------------------------------------
Version 5.0.3.21 December 2, 2004
Changed "Result" to  "Interpretation" for Lead
Added Version # to Lab Slip footer
Trapped Lead & and result with a reading, so if the result is zero and there is no date, no reading is displayed
----------------------------------------
Version 5.0.3.19 November 30, 2004
Fixed saving deleted row, including display of empty rows
fixed printing glitch when printing multiple lab #s
-------------------------------------------
Version 5.0.3.17 November 27, 2004
Added Drugs of Abuse/Quick Urinalysis
-------------------------------------------
Version 5.0.3.15 November 24, 2004
Added 20 more Quick Buttons
Removed Approved column in grid (not being used in this version)
-------------------------------------------
Version 5.0.3.13 November 24, 2004
removed automatic approved by when updating
Changed grid to only show active rows, and changed ActivateRow to Add-a-Row
Added Urinalysis grid for Urinalysis and Drugs of Abuse
-----------------------------------------
Version 5.0.3.11 November 19, 2004
Added Sort for BugNames list
Fixed Bact Tab for Drugs/Probes
Printing of Specimen Name was missing
----------------------------------------
Version 5.0.3.09 November 16, 2004
Added G+/G- Mic+/Mic- options when adding drugs interactivatively
--------------------------------------------
Version 5.0.3.07 November 14, 2004
Fixed Drug Header for Bact
Fixed Grid Dispaly...some of the counters were not allowing for the hidden reading column
Fixed Drug Saving...branch was missing
----------------------------------------------
Version 5.0.3.05 November 10, 2004
Fixed Bug Listing for VD/VD Confirm  and CT/GC where there are multiple tests,reactions and Interpretations
Changed GetInterpretation to pull type from MasterCodes to correct display on printing
Fixed problem with saving old Lead results when units (mcg/dl) are displayed in the reading section
---------------------------
Version 5.0.3.03 November 09, 2004
Fixed problem with LabResultText joins
added "Delete Row" to Results
Added "Show Deleted" to allow user to UnDelete items.
-------------------------------------------
Version 5.0.3.01 November 07, 2004
Added Auto Reflex for printing lab slips
Changed Print screen to BtBTab format to make it the options easier to find...

Version 5.0.2.25 October 29, 2004
Fixed glitch in Lead Display for "Not Tested Yet" with a valid reading
Adjusted printout for Lead and Drugs of Abuse
Changed Test Requested and Test Assigned to user defineable phrase from BtBOpts
Changed DateReceived Print to not Display time if time is 00:00
-------------------------------------------
Version 5.0.2.23 October 26, 2004
Changed LabTestText( result line) join to Left Join from Inner Join to allow for no header on result
Trapped null Header, Negative Value & Category (in MasterCodes)  to allow for blank header
Fixed Glitch, Insert for LabResultsText was pointing to Specimen not LabTest
Added "IsBactGroup" to identify special test handling (the old IsGeneric=False)
Change Header Category so that IsBactGroup header name is now TestName+"Header" requires change in BtB Opts and Convert
-----------------------------------------
Version 5.0.2.21 October 14, 2004
Fixed glitch in tested by button....it was approving in labtest instead of TestedBy
Changed Quick Buttons from LabNamesAndFonts dataset to new QButton dataset to make maintenance easier
-----------------------------------------
Version 5.0.2.19 October 7, 2004
Added Bold / Regular for BtBTabs
--------------------------------------------
Version 5.0.2.17 October 6, 2004
Added Category assigned and Test requested as drop down lists...
Added Up/down buttons to be able to move bug names around.
Reloaded main grid, drop down list of bugs after saving bug names
Added Yes/No question to delete bug button
----------------------------------
Version 5.0.2.15 October 5, 2004
Fixed display Problem with DateTime Ordered
Removed Number Pad when not needed
Adjusted Testedby/Approved by sequences
--------------------------------------------
Version 5.0.2.13 September 29, 2004
Allowed Quick buttons to overwrite results when result is "Worksheet Made"
Changed BtBTabs to bold when selected
Fixed IsTested/IsApproved
Added Tooltext info to BtBTabs
Added PrintBilling Info to Lab Slip Printing and PrintOptions
Trapped Clinic address, if not city, state, zip, then dont print the line
-------------------------------------------------
Version 5.0.2.11 September 27, 2004
Trapped Single Letter DrugSusceptibility
Removed Convert.xsd
Trapped Back Button Graphic for Read Only users, it was not displayed unless re-enabled.
Added option to print Billing info on Lab Slip
Trapped error when updating specimen information when Hour and Minutes received are blank
-----------------------------------------------------
Version 5.0.2.9  September 25, 2004
Changed "Header" in printout to "Test Name"
Changed "Approved by" to "Tested By"
And "Finalized by" to "Approved by"
Trapped "Copy Type" for lab slip printouts (Copy type defined in BtBopts)
Added BackButton to make it easier to pick another test
Fixed Quick Buttons with a 2nd button being called (offset was wrong)
-------------------------------------------
Version 5.0.2.7 September 20, 2004
Added SendOuts to AllSlips
--------------------------------------------
 Version 5.0.2.5 September 17, 2004
Changed MtBGrid from enabled=False to FixedCols=4 and Editable=false
to make it clearer to the user when they cannot edit
(Making the whole grid fixed, turns checkboxes to the word True or False)
---------------------------------------------------------------
   V 5.0.2.4
   Bug Fix - Index out of bounds when printing Chlamydia test - Bob 09/14
   Bug Fix - WhoCanApprove authorized for last person in user list
----------------------------------------------------
   v 5.0.2.2   09/09/2004  Jim
   Add automatic version update code
----------------------------------------------------
Version 5.0.2.1 Sept 2, 2004
Added HelpScreens
Added size adjustment for 800x600 monitors
Added FailedLogons to Password
----------------------------------------------------
Version 5.0.1.35 August 25, 2004
Fixed DNA Probe data input and saving
Updated Approve Trak for controls (no change in version #)
----------------------------------------------------
Version 5.0.1.33 August 22, 2004
Changed Reportable Link from bit to boolean and
trapped results so if it is reportable then the test is flag in the result row.
----------------------------------------------------
Version 5.0.1.31 August 19, 2004
Added paragraphs to bugnames, so you can assign a paragraph to a result line automatically
Fixed Sign on as someone else, the starting screen was not enabled after someone else signed on
Added default "No paragraphs assigned" to paragraphs in Maintenace for ease of use.
----------------------------------------------------
Version 5.0.1.29 August 16,2004
Added SendHelpTicket Menu Items
----------------------------------------------------
Version 5.0.1.27 August 14, 2004
Added pointer to result line in Drug Susceptibility
so you can now indicate which drug result belongs to which bug
when you have multiple bugs getting a drug susceptibility result..
The lab slip will indicate "Which Bug?" or if none, the column will not be printed
Added sizing for logo during print-out
----------------------------------------------------
Version 5.0.1.25 August 10, 2004
Made BranchGrid invisible, if only one branch
changed QuickHelp List box to Grid to be consistent with other programs
----------------------------------------------------
Version 5.0.1.23 July 28, 2004
Added sort by entry date for ApproveTrak display on lab slip
Added TestType to PrintLog
Added Patient Billing Information to the display of patient data
Change patient specific billing information display in specimen area to match the PatientBillingTable
Added TestType to ApproveTrak
Added ApprovedBy and FinalizedBy into LABTest, to make the Search program faster during display
----------------------------------------------------
Version 5.0.1.21 July 24, 2004
Setup new Approval format using ApproveTrak
Allow user to "approve" a test if they have
rights to "setup" the program, otherwise, they cannot assign approval to someone else.
Added option to approve and finalize multiple tests before printing
Added option in print grid to only show LAST printed name
----------------------------------------------------
Version 5.0.1.19 July 18, 2004
In the ViewSpecimen grid, If dateordered or dateCollected were Null(unchecked)
the date would still be displayed...now the date is not shown if dates are null
ClearSpecimenBox added to LoadTest so that old data is not shown if the user changes test
Same for NameGrid
       View menu...expanded clinic to full name
----------------------------------------------------
Version 5.0.1.17 July 18, 2004
Modified user access:
   ViewOnly is "CanApprove=False"
   while "CanEditSpec=True" can change specimen information, but not results
   and "CanApprove=True" Can approve the test and do maintenance
Added back in the print options grid, options can be used for the session or saved for everyone
Trapped invalid DOB Years and Months (displayed as ????), used for age calculations
----------------------------------------------------
Version 5.0.1.15 July 13, 2004
Added Version display to bottomInfo
Added Print Reflex to QuickPrint and regular Print
----------------------------------------------------
Ver 5.0.1.13 July 7, 2004
Added SentLog to AllSlips
Changed DOA and Lead Results from LabResutsText.Reading (VarChar 10) to LabResultsText.Value (Decimal)
Connected High and Low ESA for Lead Testing
Trapped Positive and Negative BugNames where ShortSpeciesName="+" or "-"
removed display of "Branch and BranchGrid" if only one branch is available
disabled menubranch if only one branch for the lab
Added Sub GetBloodLead routine, trapped input to flag +, - ? in the result Column (4), MtbGrid(AfterEdit)
Trapped High and Low ESA Displays