Ignore:
Timestamp:
May 5, 2011, 5:11:02 AM (13 years ago)
Author:
Sam Habiel
Message:

Lots of Documentation updates.
Absorption of all updates from trunk.
CGView: Changes in Appointment Menu; Handlers for these; Radiology Support
DRadExamSelect: Change in form design; auto print appointment slip implemented.

Location:
Scheduling/branches/Radiology-Support/cs/bsdx0200GUISourceCode
Files:
2 edited

Legend:

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

  • Scheduling/branches/Radiology-Support/cs/bsdx0200GUISourceCode/DAL.cs

    r1166 r1168  
    1 using System;
     1/* Licensed under LGPL */
     2
     3using System;
    24using System.Collections.Generic;
    35using System.Linq;
     
    187189
    188190        /// <summary>
    189         /// TODO
     191        /// Gets All radiology exams for a Patient in a specific hospital location
    190192        /// </summary>
    191193        /// <param name="DFN"></param>
    192         /// <param name="SCIEN"></param>
    193         /// <returns></returns>
     194        /// <param name="SCIEN">Hospital Location IEN</param>
     195        /// <returns>Generic List of type RadiologyExam</returns>
    194196        public List<RadiologyExam> GetRadiologyExamsForPatientinHL(int DFN, int SCIEN)
    195197        {
     
    207209
    208210        /// <summary>
    209         /// TODO
     211        /// Schedules a Single Radiology Exam for a patient
    210212        /// </summary>
    211213        /// <param name="DFN"></param>
    212         /// <param name="examIEN"></param>
    213         /// <returns></returns>
    214         public bool ScheduleRadiologyExam(int DFN, int examIEN)
    215         {
    216             string result = _thisConnection.bmxNetLib.TransmitRPC("BSDX SCHEDULE RAD EXAM", string.Format("{0}^{1}",DFN,examIEN));
     214        /// <param name="examIEN">IEN of exam in 75.1 (RAD/NUC MED ORDERS) file</param>
     215        /// <param name="dStart">Start DateTime of appointment</param>
     216        /// <returns>should always return true</returns>
     217        public bool ScheduleRadiologyExam(int DFN, int examIEN, DateTime dStart)
     218        {
     219            string fmStartDate = FMDateTime.Create(dStart).FMDateString;
     220            string result = _thisConnection.bmxNetLib.TransmitRPC("BSDX SCHEDULE RAD EXAM", string.Format("{0}^{1}^{2}", DFN, examIEN, fmStartDate));
    217221            return result == "1" ? true : false;
    218222        }
    219223
    220224        /// <summary>
    221         /// TODO
     225        /// Put the radiology exam on Hold because the appointment has been cancelled for it
    222226        /// </summary>
    223227        /// <param name="DFN"></param>
    224         /// <param name="examIEN"></param>
    225         /// <returns></returns>
     228        /// <param name="examIEN">IEN of exam in 75.1 (RAD/NUC MED ORDERS) file</param>
     229        /// <returns>should always return true</returns>
    226230        public bool CancelRadiologyExam(int DFN, int examIEN)
    227231        {
Note: See TracChangeset for help on using the changeset viewer.