Commit Graph

124 Commits

Author SHA1 Message Date
faisal 5c5c4e21a7 BSDX Scheduling changes for version 2.0.1. 2016-04-28 13:49:25 +00:00
faisal 39a445ec8e ClinicalScheduling version 2.0. 2015-12-24 15:43:43 +00:00
sam fbdc25600b Updated dlls and exes after bug fixes. Updated slns and csprojs. 2012-08-09 22:32:12 +00:00
sam d821206743 CreateAppointment and EditAppointment now call stripC30C31 to remove ascii 30 and ascii 31 from the note. Windows Input allows users to enter either of these from the Unicode menu, causing the program to crash when it tries to parse the note as the 30 and 31 are used as the delimiters for the data coming from Mumps.
Fixes bug EHS#0000282.
2012-08-09 22:21:39 +00:00
sam 944999a279 cmdChangeResourceGroup_Click changed so that it clears the in-memory resource groups before retrieving them again from the server. This prevents problems when renaming resource groups which when renamed will show up as a separate entry in the ResourceGroup table when repopulating that table from the server.
Fixes bug EHS#0000341.
2012-08-09 21:10:38 +00:00
sam 184e9fe456 lstClip_DragDrop is modified to create a copy of the appointment to put in the clipboard rather than having the original appointment reference there. What happened was that when the appointment was dropped into the grid, it changed the original appointment object (it's the same CLR object!), when the original appointment object should not have been modified in the first place. I.e., we really just wanted a copy of the original appointment all along in the clipboard, not the original appointment itself.
Fixes bug EHS#0000255.
2012-08-09 20:05:09 +00:00
sam f53b7a108e Fixed AddAppointmentEnabled to check for the presence of resources in a resource group; otherwise you are given the ability to make an appointment on the resource group itself which causes a crash. Fixes bug EHS#000342. 2012-08-09 17:30:57 +00:00
sam f96570c50a minor mods 2012-07-06 19:42:20 +00:00
sam 9d75ceb533 Updated DLL, for better or worse. 2012-07-06 19:38:26 +00:00
sam c2efb1f9d8 Finally, v 1.7 to the main repo. I will delete the branch after this.
This commit merges all the BMX4 changes in the Scheduling GUI back to the main trunk.
2012-07-06 19:37:41 +00:00
sam e5e3c0a0c3 Just syncing the local changes in prep for merging feature branch BMX 1.7. 2012-07-06 18:44:19 +00:00
sam 168a55df58 Printing_Ayman is now mainstream as Printing.cs 2012-07-06 16:35:20 +00:00
sam c9a859066b Updated printing code to use the one provided by EHS. Now prints on A6 paper. Works as well with Letter and A4. 2012-07-06 16:23:58 +00:00
sam 41cc66890f Mod to Printing.cs by Ayman Ghaith. Will test and substitute original Printing.cs 2012-07-06 15:11:17 +00:00
sam a4b56e9080 Scheduling v 1.61. Dll and exes. Added new control to handle print previewing; control located in PrintPreview.dll.
PrintPreview.dll is now added to project.
DPatientLetter.cs now uses the new print preview control.
2011-09-09 18:15:30 +00:00
sam b06f6af3c7 Added Page Orientation Button. Changes to Portrait/Landscape. 2011-09-09 18:11:15 +00:00
sam 269af6feca Adding Enhanced Print Preview to Repo 2011-09-09 17:34:15 +00:00
sam c9c4d62d49 Final 1.6 exe and dlls. 2011-09-09 16:25:49 +00:00
tariq 6107d26553 fixing bug "crash when user name has a single quote" 2011-09-04 06:28:56 +00:00
sam a607a101f9 grr... 2011-05-16 13:47:52 +00:00
sam b4340d7f66 CGView: Wording Change.
Updated exes.
2011-05-16 13:36:04 +00:00
sam 303881fbef CGView:
1. Check to see if Radiology Appointment is cancellable. Check made when cancelling radiology appointment.
2. Prevent user from copying radiology appointment to clipboard.

DAL:
1. Added CanCancelRadExam entry point to support change in CGView above.

Updated exes and dlls.
2011-05-16 11:31:39 +00:00
sam 931eaf0533 V 1.6 Beta Release
AssemblyInfo.cs: version bumped up to 1.6
CGView: 
1. Changed Popup calendar menu enable/disable code for specific menu items (simplification)
2. Bug fixed in AddAppointmentEnabled(): Checks to see if there are any slots using the new algorithm introduced in v 1.5
3. Resequence order of Saving/Canceling Radiology Package Call with Saving/Cancelling Appointment. Saving Cancelling appointment comes first because it may fail and thus cancel the whole transaction.
4. BMX Events will now be raised after making/cancelling a radiology appointment.
5. Better exception handling for making Radiology Appointments in AppointmentAddNewRadiology().

strings.ar.resx:
Fixed a mispelling.

Printing:
Improved the display of dates for Appointment Slips.
2011-05-11 11:41:51 +00:00
sam d17cc4fc56 Absorbed all changed from Radiology Support branch.
Patient and Provider classes now serializable to address new bug: Availablity slots cannot be saved b/c these classes are not serializable.
2011-05-08 09:17:53 +00:00
sam 112b97b8cb Garbage save to make sure that we are current prior to branch re-integration. 2011-05-05 12:53:09 +00:00
sam 0c5eac0eb5 A couple of final fixes before the v 1.5 Release.
1. Moved the header for appointment slip and routing slip up by 25 pixels.
2. Clarified and undo message in CGView.
2011-05-03 08:01:50 +00:00
sam 1d0ecc5c2f Minor changes:
- Some arabic phrases and spelling changed.
- Printing Routing Slip now does not include next appointment instructions per Al-Najjar's request.
New Exe's and Dlls
2011-04-28 11:57:55 +00:00
sam bab7ccea69 CalendarGrid: Many changes:
1. Dragover handler to handle auto scrolling when dragging. Also highlights destination cell in dragging.
2. Solution for the click-right click problem by better handling of right click issues.
3. New method OnRButtonDown()
4. Extra comments everywhere.
5. Fix for single column being enabled when there are multiple resources. Columns property now calls this.SetColumnInfo() to rectify that problem.
CGDocument:
1. EditAppoitment Used to send request a refresh from the DB and update the view itself, rather than letting the view handle that. That's now changed.
CGDocumentManager:
1. MessageBox displayed during login splash now are shown BY the splash form.
CGView:
1. Shortcuts and some display text updated.
2. Splash screen when updating now removed.
3. If print appointment slip checkbox is checked when EditAppointment is chosen, now it will print the routing slip.
4. Tiny change in appointment structure generated during drag and drop (added Patient member, as it was causing a crash)
DApptSearch:
1. Change of name of Appointment to Slot, for better user understanding.
DSplash:
1. RemoteMessage box methods and associated delegates for mickey mousing the form from another thread.

Updated release exes and dlls
2011-04-14 12:33:14 +00:00
sam 3bcc1a88ca CGDocumentManager: Localization now works from CurrentCulture, not just CurrentUICulture.
CGView: Nothing important. Designer moves around stuff; again.
Printing: Routing slip arabized; page starts at a lower level to allow for a watermark. Graphics.Dispose now called at the end of all prints to allow for faster gc.
strings: Updated with more translations.
2011-04-04 10:11:50 +00:00
sam 7b38b8c6dd RefreshSchedule() now used in ForceRefresh rather than Force Document. This one does directly what's needed.
New exes.
2011-03-30 12:28:31 +00:00
sam 6de4b0037f CGView: Added menuitem and handler for Refresh. Invoke using F5.
New exes.
2011-03-30 10:54:56 +00:00
sam a0731cd122 Oh Boy! More fixes...
strings.resx and strings.resx.ar: AppoinmentRoutingSlip identifier and name in strings changed to AppointmentReminderSlip
Printing: Corresponding change.
CGView: Appointment Order to be passed to routing slip was wrong if there were more than one resource open.
2011-03-30 10:18:19 +00:00
sam 16b509e923 CGView: Appointment Object now has Patient subobject created for routing slip information.
DPatientLookup: Now returns DOB as well.
Routing Slip doesn't print Sex anymore.
Updated Release Exes.
2011-03-30 09:42:22 +00:00
sam 24115735d9 Updated Release exes.
CGDocument: Appointment Creation Code now reuses appt object passed in rather than creating a new one.
CGView:
ctxPrintScheduleT3 added. Print schedule in 3 days. For weekday after weekend.
Scaling of grid now restricted. You can't scale down from the original TimeScale, but you can scale up.
DCheckIn: Remove unused variables.
DResource: Remove unused variables.
2011-03-30 08:19:15 +00:00
sam 6c386491b2 Several Fixes found in my own testing:
- CalendarGrid needs to have StartDate as 12:00:00, otherwise a subtraction to calculate the column number of each availability doesn't work properly
- CGDocument needs to have SelectedDate set otherwise when it refreshes, it uses the selected date and makes the screen suddenly blank.
- DApptSearch needs to make date/times proper to send over to DB. CGSchedLib.CreateAvailabilitySchedule needs the startDate to be the beginning of the day and end date to be the end of the day. Now this is done.
- Updated exes.
2011-03-29 14:29:04 +00:00
sam 410bed6c38 Added (maybe) better uncaught Exception handling. We'll see if it works at all.
Release exes, again.
2011-03-29 11:34:41 +00:00
sam 6b124a0bf7 CGDocumentManager: Version Check Added.
Release versions, again
2011-03-29 10:07:31 +00:00
sam af43384cd7 Committing Release exes/dlls for 1.5 Alpha 3. 2011-03-29 09:55:53 +00:00
sam adfec89d10 Adding arabization files. 2011-03-29 09:49:12 +00:00
sam b0028cef06 CGView:
- New Context Menu to Uncheck-in Patient
- New Context Menus to Print Clinic Schedules for today, tomorrow, and 3 days from now.
- ContextMenu for NoShow and Undo Noshow have changed logic for when they become enabled.
- New logic to prevent checked-in appointments from being deleted.
- PrintClinicSchedule method to be called by printing context menus just added.
- Events are now NOT raised back to us from CGView.
- In many circumstances, the job to update from the DB is not performed anymore after you make appointments or cancel appointments. We will rely on events to let us know of changes in the appointments in the DB.
2011-03-29 09:46:30 +00:00
sam 0e73482b11 CGAVDocument: Don't Update Grid. Leave that to CGAVView.
CGAVView: When updating grid, make a copy of appointments, and use the copy, so there won't be clashes when updating appointments in the background.
CGDocument: Minor Changes in AppointmentNoShow; New method AppointmentUndoCheckIn
CGDocumentManager: Resequenced load order b/c UserPreferences now talks to DB.
DAL: New Methods to save autoprint preferences; new delegate to enable some async stuff
DCheckIn & DAppointPage: _myCodeIsFiringIstheCheckBoxChangedEvent added to protect against firing event when setting checkbox in the code.
DPatientLetter: No changes.
UserPreferences: Now gets and saves user preferences from DB.
2011-03-29 09:38:18 +00:00
sam d21580e4ab CGDocument: Minor Change: Add appointment ID to Appointment
CGDocumentManager: added parameter /culture to set Thread.CurrentThread.CurrentUICulture
CGView: Minor changes in CheckInAppointment: Printing of Routing Slip now always happens.
 Routing slip now get parameter for patient order.
Patient: i18n of UserFriendlyAge
Printing: Extensive changes. Support for i18n; new routing slip and appt slip. i18n support only for appt slip.
2011-03-24 13:26:14 +00:00
sam dfe0dd8e09 CGAppointment: Added Provider as a Member of Class. (auto property)
CGDocument: No changes
CGDocumentManager: Added UserPreferences as a member of a Class (private and property)
CGView: Changes to support printing of Routing Slip
DAppointPage: Changes to support UserPreferences member for auto printing the routing slips
DCheckIn: Extensive changes in load code (now uses LINQ instead of ADO.net). Changes to support UserPreferences member for auto printing the routing slips.
Patient: Documentation for UserFriendlyAge.
Provider: New class to represent Provider
UserPreferences: New class to represent User preferences. Does not interact with DB right now.
2011-03-23 09:15:51 +00:00
sam 45490945a8 CGDocument:
- Renamed RefreshDaysSchedule to RefereshAppointments
- When appointments are created, new patient object is also populated.
CGDocumentManager:
- Renamed CustomPrinting to Printing
CGView: (Changes to support printing of Appointment Slip)
- Changed name and text of context menu to say "print appointment slip"
- Logic to Print Appointment Slip
CustomPrinting.cs renamed to Printing.cs; old Printing.Cs removed.
DAppointPage:
- New checkbox to request printing of Appointment Slip
- Sex of patient now pulled and included in form.
DPatientLetter:
- Redirected to use new Printing framework.
Patient:
- Sex enum and Sex member
- Age Property
- UserFriendlyAge Property
Printing:
- CustomPrinting renamed to Printing
- Adding function PrintAppointmentSlip
2011-03-21 12:47:45 +00:00
sam 7e34215b78 Patient class added. Simple class to represent guess what. 2011-03-20 07:22:52 +00:00
sam dfefa179b2 CalendarGrid:
- Support for Autoscrolling corrected. 
- A little optimization: Grid is only drawn once now when starting, not twice (don't know why original code did that).
CGAppointment:
- Added member Patient (new Class)
CGDocument:
- OnOpenDocument now accepts input of DateTime to decide where to open document.
- SlotsAvailable algorithm now includes code for scaling according to timescale and code to merge Blocks if they are adjacent.
CGDocumentManager:
- Fix bug having to do with canceling log-in after first retry. BMX lib threw an exception which was not caught.
CGView: Many changes:
- SlotsAvailable signature changed in CGDocument. All references to it had to be changed.
- Opening a node in the tvSchedules by clicking on the plus sign did not select it. Code changes to make it select it.
- UpdateStatusBar now uses a string builder; and shows a more comprehensive message on the availability in the Status Bar.
- Focus issues on various controls.
- Support for printing a slip after an appointment is made automatically has been added.
CustomPrinting:
- now includes a method to print a single appointment slip
DAppointPage:
- Checkbox to decide whether to print appt slip added.
- New readonly property to get the appointment that has been made (of type CGAppointment).
DApptSearch:
- StartDate and EndDate now autoadjust based on each other.
- lblMessage added to show user message if no appointments are found.
2011-03-20 07:22:11 +00:00
sam a1450850d8 CGDocumentManager: Holiday SQL statement relied on Windows Date which is culture specific. Now sent as culture insensitive FM Date for query. 2011-03-07 10:59:47 +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