Ignore:
Timestamp:
May 3, 2011, 5:32:56 AM (14 years ago)
Author:
Sam Habiel
Message:

Various Radiology-related Modifications:
DAL: ScheduleRadiologyExam and CancelRadiologyExam methods to DB
CGSchedLib: Organize usings
CGView:

File:
1 edited

Legend:

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

    r1140 r1166  
    206206        }
    207207
     208        /// <summary>
     209        /// TODO
     210        /// </summary>
     211        /// <param name="DFN"></param>
     212        /// <param name="examIEN"></param>
     213        /// <returns></returns>
    208214        public bool ScheduleRadiologyExam(int DFN, int examIEN)
    209215        {
    210216            string result = _thisConnection.bmxNetLib.TransmitRPC("BSDX SCHEDULE RAD EXAM", string.Format("{0}^{1}",DFN,examIEN));
     217            return result == "1" ? true : false;
     218        }
     219
     220        /// <summary>
     221        /// TODO
     222        /// </summary>
     223        /// <param name="DFN"></param>
     224        /// <param name="examIEN"></param>
     225        /// <returns></returns>
     226        public bool CancelRadiologyExam(int DFN, int examIEN)
     227        {
     228            string result = _thisConnection.bmxNetLib.TransmitRPC("BSDX HOLD RAD EXAM", string.Format("{0}^{1}", DFN, examIEN));
    211229            return result == "1" ? true : false;
    212230        }
Note: See TracChangeset for help on using the changeset viewer.