Changeset 616 for Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
- Timestamp:
- Nov 30, 2009, 6:09:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
r614 r616 101 101 private System.Windows.Forms.MenuItem mnuDisplayWalkIns; 102 102 private System.Windows.Forms.MenuItem mnuRPMSDivision; 103 private MenuItem ctxCalGridEHR;104 103 private IContainer components; 105 104 … … 273 272 this.ctxCalGridDelete = new System.Windows.Forms.MenuItem(); 274 273 this.ctxCalGridCheckIn = new System.Windows.Forms.MenuItem(); 275 this.ctxCalGridEHR = new System.Windows.Forms.MenuItem();276 274 this.menuItem2 = new System.Windows.Forms.MenuItem(); 277 275 this.ctxCalGridNoShow = new System.Windows.Forms.MenuItem(); … … 813 811 this.ctxCalGridDelete, 814 812 this.ctxCalGridCheckIn, 815 this.ctxCalGridEHR,816 813 this.menuItem2, 817 814 this.ctxCalGridNoShow, … … 845 842 this.ctxCalGridCheckIn.Click += new System.EventHandler(this.ctxCalGridCheckIn_Click); 846 843 // 847 // ctxCalGridEHR848 //849 this.ctxCalGridEHR.Index = 4;850 this.ctxCalGridEHR.Text = "View Patient in EHR";851 this.ctxCalGridEHR.Click += new System.EventHandler(this.ctxCalGridEHR_Click);852 //853 844 // menuItem2 854 845 // 855 this.menuItem2.Index = 5;846 this.menuItem2.Index = 4; 856 847 this.menuItem2.Text = "-"; 857 848 // 858 849 // ctxCalGridNoShow 859 850 // 860 this.ctxCalGridNoShow.Index = 6;851 this.ctxCalGridNoShow.Index = 5; 861 852 this.ctxCalGridNoShow.Text = "Mark as No Show"; 862 853 this.ctxCalGridNoShow.Click += new System.EventHandler(this.ctxCalGridNoShow_Click); … … 864 855 // ctxCalGridNoShowUndo 865 856 // 866 this.ctxCalGridNoShowUndo.Index = 7;857 this.ctxCalGridNoShowUndo.Index = 6; 867 858 this.ctxCalGridNoShowUndo.Text = "Undo NoShow"; 868 859 this.ctxCalGridNoShowUndo.Click += new System.EventHandler(this.ctxCalGridNoShowUndo_Click); … … 870 861 // menuItem9 871 862 // 872 this.menuItem9.Index = 8;863 this.menuItem9.Index = 7; 873 864 this.menuItem9.Text = "-"; 874 865 // 875 866 // ctxCalGridWalkin 876 867 // 877 this.ctxCalGridWalkin.Index = 9;868 this.ctxCalGridWalkin.Index = 8; 878 869 this.ctxCalGridWalkin.Text = "Create Wal&k-In Appointment"; 879 870 this.ctxCalGridWalkin.Click += new System.EventHandler(this.ctxCalGridWalkin_Click); … … 1225 1216 ctxCalGridNoShowUndo.Enabled = bEditAppointments; 1226 1217 ctxCalGridWalkin.Enabled = ctxCalGridAdd.Enabled; 1227 this.ctxCalGridEHR.Enabled = bEditAppointments;1228 1218 } 1229 1219 … … 1263 1253 AppointmentNoShow(false); 1264 1254 } 1265 1266 private void ctxCalGridEHR_Click(object sender, EventArgs e)1267 {1268 AppointmentEHRPatient();1269 }1270 1255 1271 1256 #endregion ctxCalGridMenu Handlers … … 1636 1621 } 1637 1622 1638 private void AppointmentEHRPatient()1639 {1640 try1641 {1642 int nApptID = this.calendarGrid1.SelectedAppointment;1643 Debug.Assert(nApptID != 0);1644 1645 CGAppointment a = (CGAppointment)this.Appointments.AppointmentTable[nApptID];1646 1647 string sDFN = a.PatientID.ToString();1648 if (sDFN == "")1649 return;1650 1651 string sWID = Environment.MachineName;1652 string sCmd = "BSDX EHR PATIENT^" + sWID + "^" + sDFN;1653 DataTable dtAppt = this.DocManager.RPMSDataTable(sCmd, "EHR Patient");1654 1655 }1656 catch (Exception ex)1657 {1658 Debug.Write("CGView.AppointmentEHRPatient Failed: " + ex.Message);1659 }1660 }1661 1662 1623 private void AppointmentEdit() 1663 1624 {
Note:
See TracChangeset
for help on using the changeset viewer.