Commit Graph

44 Commits

Author SHA1 Message Date
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 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 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 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 36caf08c92 Deleting some files due to refactoring. 2011-01-17 14:06:36 +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 079ed41a00 Release build for Scheduling v 1.42 for .net 3.5. 2010-12-12 07:44:49 +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
sam 65c3b7dda1 Updated BMXNet22.dll. Encoding booboo (invalid C# property syntax caused a problem which was fixed by apparently not committed). 2010-09-29 08:57:15 +00:00
sam 223b2feef4 New Release 1.4.1
Change Project file format to VS 2010.
2010-09-29 07:44:52 +00:00
sam 398513c3b5 Updated files with fix for default UTF-8 support. 2010-09-08 08:09:41 +00:00
sam 7dff631920 Changed target .net framework from 4.0 to 3.5. 2010-09-08 07:36:43 +00:00
sam 514b3c0701 Finally. v. 1.4.
Support for checking encoding on the server (if supports UTF-8 and encoding not specified, uses UTF-8; otherwise uses what locale says).
2010-09-07 19:50:55 +00:00
sam 0197ac2eb4 Bumped version of BMXNet21.dll to 2.1.2 2010-08-18 08:03:41 +00:00
sam a9c97a87ec New Release v 1.3.1
Added a note in the DAccessTemplate to say that you have to select the right 5 or 7 day view based on what you originally saved.
2010-08-18 07:59:41 +00:00
sam d8fd8d3dc0 V 1.3 exe and dll, now open for testing. 2010-07-18 13:42:17 +00:00
sam d86bae7272 Addition of new version of BMXNet21.dll
More Comments in CalendarGrid.cs
2010-07-09 21:30:43 +00:00
sam e9aee9c88d Some refactoring of code into DAL.cs for Data Access.
Addition of Fileman date code (not used yet).
Removal of .config and .xml file from bin/Release/
Removal of BMXNet20.dll to replace with BMXNet21.dll
2010-07-08 12:46:18 +00:00
sam cffda38818 Support for multiple encodings. 2010-07-07 10:24:14 +00:00
sam 085c214c9f Fixing an ooopsie bug introduced when I was testing stuff. 2010-07-07 10:19:16 +00:00
sam d2cf6f6d6d Support for different encodings besides ASCII.
Minor bug fixes dealing with internationalization of dates.
2010-07-06 12:18:14 +00:00
sam 5c54e67cb8 Mostly commenting the code. 2010-07-04 05:25:13 +00:00
sam 059dc2c2f4 v1.2 exe 2010-06-19 16:57:09 +00:00
sam 8a3b5028e0 Support for Routing Slip printing.
Version change from 1.1 to 1.2 in preparation for release.
Printing.cs: Addition of PrintRoutingSlip method.
CGView.cs: Handling of printing of routing slip if chosen in DCheckIn.cs
CGView.cs: New context option to re-print routing slip
DCheckIn.cs: toolTip1 to explain that routing slip will print on the default printer.
2010-06-19 16:41:06 +00:00
sam a358427378 DCheckIn.cs: Handling of providers for hospital locations (HL). If provider(s) assigned to HL linked to resource, they are brought over and if a default one is in VISTA, it's picked as the default in the combobox. If no default, combobox defaults to <None>. If resource not linked to HL, then all providers in system brought over, and combobox default is <None>.
CGDocumentManager.cs: Remove loading of ClinicSetupParameters file. File doesn't exist in VISTA.
DResource.cs: Remove handling of same file.
2010-06-18 23:06:14 +00:00
sam 6b19ad0ac8 CGView: Added various shortcuts keys for menus; removed extra overbook prompt after booking if doing an overbook. You already get one before booking.
CGDocumentManager: Mickey mouse connection check to prevent prompting for access and verify if there's no connection to VISTA.
CGDocumentManager: Test SQL statement to retrieve Hospital Locations and default providers associated with them.
Remove garbage file {85FE etc}.rpt
2010-06-10 21:20:08 +00:00
sam 3b9b21d70f Provided framework for Rebook letters; but they don't work.
Added the appointment dates to the printed letters.
Made more shortcuts on the main menu.
Changed version to 1.1, to be more congruous with the state of the software.
2010-06-07 00:59:53 +00:00
sam 55766d0a5c Some debugging code to attach the program to the console to print messages.
Letters:
- Cancellation letters now work.
- Initial work on Rebook Letters.
2010-06-05 02:19:48 +00:00
sam fdee4b85c0 Removal of Crystal Reports
Partial Rework of Clinic Patient List report
Other reports that used Crystal don't work yet.
Fixes for Strongly typed DataTables (change the RESOURCEID from uint to int) to support table merge from untyped table.
Support for command line arguments: /s= for server /p= for port /a= for access code /v= for verify code
Only the following combinations work: none; /s and /p; /s, /p, /a, /v
2010-05-22 01:03:45 +00:00
sam 67492a320c Better printing in UCPatientAppts. 2010-05-11 05:24:18 +00:00
sam 6ebbda93db Reworked DAppointPage. Removed dependence of DPatientApptDisplay on Crystal Reports. Added UserControl UCPatientAppts to encapsulate functionality of DPatientApptDisplay; right now it does not include printing. DAppointPage now uses UCPatientAppts to provide functionality of seeing patient's previous appointments. DPatientApptDisplay does not yet, but will soon.
Exe is not included.
2010-05-07 22:38:39 +00:00
sam 45af33a5cb Removed CalendarGrid.dll 2010-01-14 10:16:34 +00:00
sam 9a69519907 Oops... ClinicalScheduling.exe was compiled against the experimental version of BMXNet20.dll. I restored it to the production version. 2009-12-06 10:20:36 +00:00
sam 9752fae5fe Removed user-interface references to RPMS. 2009-12-04 08:04:47 +00:00
sam fc430e8990 This update does the following:
- Remove the non-functioning CalendarGrid.dll and associated project files.
- Add the code from CalendarGrid.dll generated using reflector.exe to ClinicalScheduling.csproj
2009-12-03 22:36:03 +00:00
sam 0a8d138b14 Remove references to IHS; typically "IHS Clinical Scheduling" becomes "Clinical Scheduling"
Deleted Debug folder--no need to version this.
2009-12-01 04:54:57 +00:00
sam a1ffacceb8 Removed references to "View EHR" from ctxCalendarGrid and DAppointPage. 2009-11-30 11:09:16 +00:00
sam 19ff80326a Added crystal reports runtime and development files. 2009-11-30 09:36:20 +00:00
sam c0b331a722 Initial committ of scheduling package 2009-11-30 08:53:28 +00:00