Ignore:
Timestamp:
Apr 12, 2011, 2:13:18 AM (14 years ago)
Author:
Sam Habiel
Message:

DRadExamsSelect: New form to let user select exam.
RadiologyExam: Class for a Radiology Exam
DAL: new DB communication methods: GetRadiologyExamsForPatientinHL and ScheduleRadiologyExam
CGView:

  1. New context menus for Radiology; context menu popup has logic for which menus to display;
  2. Helper method IsThisARadiologyResource used by ctxCalendarGrid_Popup to decide which menus to display
  3. Handler ctxCalGridMkRadAppt_Click to make the Radiology Appointment.

CGDocument:

  1. CreateAppointment now saves RadiologyExamIEN to the DB
  2. RefreshAppointments now gets RadiologyExamIEN from the DB

CGAppointment:

  1. Class completely refactored to use auto props rather than old style properties
  2. Added property RadiologyExamIEN

CalendarGrid: Class was wrongly using supposed private members of CGAppointment. Refactored to fix that as private members don't exist anymore.

Last but not least, new exe,dll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/branches/Radiology-Support/cs/bsdx0200GUISourceCode/CGDocument.cs

    r1128 r1140  
    238238                    sWalkIn = r["WALKIN"].ToString();
    239239                    bWalkIn = (sWalkIn == "1") ? true : false;
     240                    int? RadiologyExamIEN = r["RADIOLOGY_EXAM"] as Int32?;
    240241
    241242                    Patient pt = new Patient()
     
    262263                    pAppointment.AccessTypeID = nAccessTypeID;
    263264                    pAppointment.WalkIn = bWalkIn;
     265                    pAppointment.RadiologyExamIEN = RadiologyExamIEN;
    264266                    this.m_appointments.AddAppointment(pAppointment);
    265267
     
    973975            }
    974976
    975             string sSql = "BSDX ADD NEW APPOINTMENT^" + sStart + "^" + sEnd + "^" + sPatID + "^" + sResource + "^" + sLen + "^" + sNote + "^" + sApptID;
     977            string sSql = "BSDX ADD NEW APPOINTMENT^" + sStart + "^" + sEnd + "^" + sPatID + "^" + sResource + "^" + sLen + "^" + sNote + "^" + sApptID + "^" + rApptInfo.RadiologyExamIEN;
    976978            System.Data.DataTable dtAppt = m_DocManager.RPMSDataTable(sSql, "NewAppointment");
    977979
     
    10791081        }
    10801082
     1083        //TODO: MUST SEE IF RADIOLOGY STUFF WORKS WITH THIS ***
    10811084        public string AutoRebook(CGAppointment a, int nSearchType, int nMinimumDays, int nMaximumDays, out CGAppointment aRebook)
    10821085        {
Note: See TracChangeset for help on using the changeset viewer.