Commit Graph

258 Commits

Author SHA1 Message Date
sam 454bc36de8 New Kids build for V1.5 alpha 2 2011-03-03 10:05:38 +00:00
sam 6a9d00a3ae Updated Version numbers for routines: new version 1.5V2 2011-03-03 10:01:53 +00:00
sam d4d78c981c Release version for svn. 2011-03-03 09:56:31 +00:00
sam cc5b33051b CGDocumentManager: Integrating Tariq's changes to CGDocumentManager to support Custom Printing. 2011-03-03 09:52:41 +00:00
sam d347c2d7d8 DPatientLookup.cs: Usings Cleanup
DApptSearch: Extensive refactoring. Now uses new algorithm to find appointments. Now outputs CGAvailability
CGView: Appointments checked in now set the Checkin time on the appointment structure; changes to support DApptSearch modified output.
CGSchedLib: Extensive refactoring; only 2 methods remain: CreateAppointmentSchedule and CreateAvailabilitySchedule
CGDocument: SlotsAvailable uses a new algorithm
CGAVView: Uses CalendarGrid.TimesOverlap instead of the removed one in CGSchedLib
CGAVDocument: Uses CalendarGrid.TimesOverlap instead of the removed one in CGSchedLib; CreateAssignedSlotSchedule reassigned to CreateAvailabilitySchedule
2011-03-03 09:44:18 +00:00
sam 7524c52392 Updated BSDX04 to support querying availabilities for multiple resources at the same time. Also, due to algorithm changes on the C# side, algo changed here, removing some unnecessary data that was returned 2011-02-27 11:31:10 +00:00
sam 23b1654177 Remove CGSchedLib.OutputArray everywhere. Used to be needed in VS 2003; not anymore as you can see tables now.
CalendarGrid:
 - Make MinSince80 and TimesOverlap static functions for use by other classes since they are done over and over again.
CGAppointments:
 - Documentation updates
CGAVDocument:
 - Removal of OutputArray
CGDocument:
 - Refactored RefreshAvailabilitySchedule
 - AddAvailability will not call UpdateAllViews any more. View will be responsible for redrawing itself.
 - Removal of OutputArray
CGDocumentManager:
 - Removal of OutputArray
 - Documentation updates
CGSchedLib: Lots of Changes
 - Class now static (new .net 2.0 feature)
 - Removed OutputArray
 - Documentation Updates
 - Commented out now unused CreateAssignedTypeSchedule
CGView:
 - OnUpdateScheduleCallback now has try catch when it this.Invokes the original form so that it won't crash if the form has been closed before it gets called.
2011-02-21 14:21:24 +00:00
sam ae035bbbd1 Updated README with more bugs and feature requests 2011-01-27 14:11:57 +00:00
sam facdab15e3 Updated notes for 1.42 release plus 1.5 fixes 2011-01-27 13:59:05 +00:00
sam d5af78c41d 2011-01-27 13:24:20 +00:00
sam f48d6e0322 BSDX 1.5 Kids file, alpha 1 2011-01-27 10:22:37 +00:00
sam 5ea906809b Updated routine version numbers to 1.5 2011-01-27 09:31:19 +00:00
sam e6ebdedc67 CGDocument: On Delete Appointment, no update done by Document method. View responsible for this request.
CGView: 
1. Drag and Dropped code made to be the same as the rest. Call Document for updating appointments, but not redraw the grid. Drag Drop does not request a refresh directly; but rather, it shoots RPMS events which when they are raised back update the grid.
2. Fixed bug in Drag and Drop where the source appointment resource is changed before passing it to Document.CreateAppointment() which saves it to the database. This causes the appointments maintained by Document to be temporarily corrupted if CreateAppointment fails during drag and drop.
3. View calls refershdocumentasync now after Document.DeleteAppointment call.
Last but not least: new version of ClinicalScheduling.exe and BMXNet23.dll (release).
2011-01-27 07:46:45 +00:00
sam 8e5d5f8665 New exe and dll
calendarGrid: Minor documentation updates.
CGAppointments: Object now supports Deep cloning
CGDocument: 
1. Major changes on how m_pAvArrays is handled. Now it is locked whenever it is updated or queried. Some refactoring to make sure there are no db calls during the locks so that the locks won't be expensive.
2. Removed ClearResources, an unused method.
3. Appointment aCopy walkin property is set to true if the appointment is a walkin. This makes sure that the grid draws it correctly between it is added to the appointment array and we fetch new data from the server.
4. Create appointment is not responsible anymore for requesting updates from the server. All requests to update data must be done through CGView, as it is the only party
 interested in displaying accurate data on the grid. Just send the create appt event to the server.
5. CheckInAppointment: Same thing. Now responsible for requesting updates from the server. Just send the checkin event to the server.
CGDocumentManager: Removed tracing. Done in BMX Library only now.
CGView:
1. CGAppointment fetched from Document, not from the copy maintained by the calendarGrid.
2. RefreshDocument calls before an appointment is made have been removed (need to find another way to make sure that the appointment has just not been booked). RefreshDocument & UpdateArrays are called async after appointments are made.
3. Appointment List passed to Calendar grid is now a copy, to prevent issues with concurrent access.
4. Message if a patient has apppointment at the same time vastly improved.
2011-01-26 11:01:39 +00:00
sam 53308c9a60 Updated BSDXAPI to spit out a user friendly message if Patient has same appointment;BSDX07 has a tiny update in the formatting of the error message so it can be easily parsed by the GUI 2011-01-26 10:38:11 +00:00
sam 2800143ac1 Final checkin. Completed ability to be able to remove appointments that have been checked in. Also, fixed not being able to make an appointment at midnight issue. 2011-01-25 10:58:58 +00:00
sam 95362c15d8 added an enhancement request 2011-01-25 07:27:04 +00:00
sam 066a791d94 Added a new feature request to README.txt 2011-01-24 14:55:42 +00:00
sam 95db63abcf Updates to M routines to support deletion of check-in 2011-01-24 14:52:50 +00:00
sam 951f83c1d3 Updates to M routines to support deletion of check-in 2011-01-24 14:21:52 +00:00
sam 700ea47212 CalendarGrid: Handling for mouse scroll wheel added.
CGAppointments: Now supports Deep Cloning with Clone().
Updated Exes
2011-01-23 13:00:56 +00:00
sam f7d20e4da3 Updated bugs, enhancement lists, and fixes 2011-01-23 10:18:07 +00:00
sam 3a03dc6871 calendarGrid: Removed MouseEnter event and added it to CGView which now has to handle it properly.
CGAppointments: now supports cloning.
CGDocument: Added RefreshDocumentAsync, which retrives data from the server w/o asking the grid to refersh.
CGDocumentManager: CGView.InitializeDocView does not take appointments as argument; callers are changed.
CGView: Many Changes:
 - Opening a Schedule nows calls up a splash and a wait cursor while loading.
 - Events coming from the server are now handled asynchronously (not on UI thread). This results in much better responsiveness.
 - Appointments, Availabilities, Resources are all set in the CalendarGrid by UpdateArrays; as a centralized point of drawing the grid.
 - A mistaken "feature"--stealing focus from each others windows, was removed--CalendarGrid.Focus event only fired now if the form is the Active Form. This is accomplished using GetActiveWindow() from user32.dll (a Win32 API).
LoadingSplash: Opacity removed; form resized.
2011-01-20 14:32:28 +00:00
sam 5cf703c69c New BMXNet dll. 2011-01-20 08:32:23 +00:00
sam fcb6ddfd95 CGDocument:
- Better constructor to set default values.
- Removed OnNewDocument and used constructor plus extra arguments instead.
- Added IsRefreshNeeded method to see if we need to get data from server.
CGDocumentManager:
- Refactored OnNewDocument out (was going to use Application.Run with the CGView form as argument, that didn't work for re-logging in)
- Refactored all ChangeServer and ChangeLogin handlers b/c they got broken with previous work.
CGView:
- this.Activate now in Load to show the form if you use Application.Run(view)
- Added shortcuts for chaning Server, Login, Division
- Position the Grid when doing OpenSelectedSchedule to start at the right day.
- Used IsRefreshNeeded to selectively load the splash screen and contact the database for refresh then close splash screen in RequestRefreshGrid.
2011-01-19 14:02:59 +00:00
sam 4db6055187 LoadingSplash: New Form that does... pretty much nothing. Just shows a splash when updating data from server.
CGView: 
- Refactoring for OpenSelectedSchedule. No major changes.
- Splash Screen and Wait Cursor support in RequestRefershGrid
CGDocumentManager:
- Use lambda (hurray!) for ParameterizedThreadStart
CGDocument:
- AddResource no longer updates views (they are empty at the point they added.)
- Removed unused SetDate method.
- Property SelectedDate no longer triggers updates to the database. Now you have to use RefershDocument instead.
2011-01-18 14:15:22 +00:00
sam 0c195fe52e CGView: Refactor PositionGrid into CalendarGrid. 2011-01-17 14:25:48 +00:00
sam b2d2f1beca CalendarGrid:
- Added PositionGrid from CGView
- Added Delegates from other classes that contained just one line.
CGAppointmentChangedArgs & CGSelectionChangedArgs:
- Changed to use automatic properties
CGAvailability:
- Added override ToString()
2011-01-17 14:12:38 +00:00
sam 36caf08c92 Deleting some files due to refactoring. 2011-01-17 14:06:36 +00:00
sam c21d94372c CGView: dateTimePicker1 behavior changes:
- No longer update schedule based on value change, as this is too too too chatty.
- Update schedule based on:
-- Picking a date from the drop down
-- Leaving dateTimePicker1
-- Pressing the enter key
2011-01-16 10:41:21 +00:00
sam c2fca2e1c6 CalendarGrid: Add MouseEnter event: puts focus on calendar grid. Used to "steal" focus from other controls so that lose focus events would fire.
CGDocumentManager: Added application-wide error handler on Application error exception; Added load timer to test how long it takes to load the GUI.
CGDocument: Just documentation updates.
2011-01-16 10:32:40 +00:00
sam 2b5c7ae0d7 Updated check-in routine 2011-01-09 12:26:23 +00:00
sam 1232289af5 CGView:
- Changed the parameters required for checkin.
- Removed references to PCC+ and Stop Code processing, as they don't apply in VISTA.
CGDocument:
- Changed RPC call parameters to check in an appointment (BSDX CHECKIN APPOINTMENT).
- Date passed to BSDX Checkin Appointment is now an FM Date.
- Both necessitated server side changes.
DCheckIn:
- Removed processing for PCC+ and Stop Codes.
CGDocumentManager
- Removed Clinic Stop Code table loading.
2011-01-09 12:13:00 +00:00
sam 8522afbe6a DSplash: Removed Unused RemoteHide method. 2011-01-09 12:08:13 +00:00
sam 8af1be04a3 Progress Bar on Splash Screen and supporting code 2011-01-06 09:25:38 +00:00
sam eaad41e08e Bumped version number to 1.5
DSplash: Changes intended to support Asynchronous invokation of Splash Screen.
CGDocumentManager: Extensive changes to increase speed and invoke Splash screen async.
2011-01-05 09:10:20 +00:00
sam 034801884f Oops. Forgot to add DMassSlotDelete form, newly created. 2011-01-02 10:16:48 +00:00
sam 3b8e5b12b4 Comments in DAL 2010-12-12 17:29:55 +00:00
sam 74de17189e Added steps for myself to remembver what I have to do to make a new release 2010-12-12 16:47:11 +00:00
sam 98c8024cc3 Updated Readme and Changelog 2010-12-12 16:42:02 +00:00
sam 67dd7ba3af Updated routines version to 1.42 2010-12-12 16:11:57 +00:00
sam ea124e92c1 New Kids file 2010-12-12 16:10:33 +00:00
sam 079ed41a00 Release build for Scheduling v 1.42 for .net 3.5. 2010-12-12 07:44:49 +00:00
sam 54b4cdf2b4 UCPatientAppts: Now uses LINQ. Mumps side fixes deal with other bugs.
calendarGrid: Fixes 1 day drawing bug showing yesterday's appointments
CGAVView: Cosmetic changes so far
CGDocument: Documentation change due to change in return values from Mumps.
2010-12-08 14:44:29 +00:00
sam f0836e8bf9 Updated Bugs and Enhancement Request. LGPL license at top of readme. 2010-12-08 06:52:56 +00:00
sam 2f21f07db7 Refactoring and txn restart fix to routines 26,29,31 2010-12-08 06:44:40 +00:00
sam 882f7bad40 Fix for filing Other Info field in 2250MAKE1 (didn't pass correctly to 2250MAKE) 2010-12-08 06:43:55 +00:00
sam 4c83603835 Refactoring of BSDX26; BSDXAPI has new ep to update note in file 44 2010-12-06 06:53:27 +00:00
sam 3d51d124f2 calendarGrid now inherits from ScrollableControl rather than Panel to support easy mouse scrolling. Don't know if this works on Windows XP yet. 2010-11-24 06:42:07 +00:00
sam 9e34982831 UCPatientAppts: Fixes printing empty table bug reported by EHS.
DAccessTemplate: Various usability improvements.
CGDocumentManager: Fixed Delegate code so that it can operate asynchronously
CGAVView: Some temporary fixes (not totally usable): Added non-functional Delete Slots menu option; Added Background worker for saving acccess slots
In the future, Delete Slots will work; and will use ADO.net Updatable datatable for saving access slots.
calendarGrid: just some comments for now
AssemblyInfo: bumped version up to v1.4.2
2010-11-18 12:47:04 +00:00