Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj	(revision 742)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj	(revision 753)
@@ -38,4 +38,10 @@
     </TargetFrameworkSubset>
     <IsWebBootstrapper>false</IsWebBootstrapper>
+    <ManifestCertificateThumbprint>3202DD11CA9F64F7E52CF7BBED5F17D6E8A1B395</ManifestCertificateThumbprint>
+    <ManifestKeyFile>ClinicalScheduling_TemporaryKey.pfx</ManifestKeyFile>
+    <GenerateManifests>false</GenerateManifests>
+    <SignManifests>false</SignManifests>
+    <TargetZone>LocalIntranet</TargetZone>
+    <ApplicationManifest>Properties\app.manifest</ApplicationManifest>
     <PublishUrl>publish\</PublishUrl>
     <Install>true</Install>
@@ -48,7 +54,8 @@
     <UpdateRequired>false</UpdateRequired>
     <MapFileExtensions>true</MapFileExtensions>
-    <ApplicationRevision>0</ApplicationRevision>
-    <ApplicationVersion>2.0.0.%2a</ApplicationVersion>
+    <ApplicationRevision>1</ApplicationRevision>
+    <ApplicationVersion>2.1.0.%2a</ApplicationVersion>
     <UseApplicationTrust>false</UseApplicationTrust>
+    <PublishWizardCompleted>true</PublishWizardCompleted>
     <BootstrapperEnabled>true</BootstrapperEnabled>
   </PropertyGroup>
@@ -104,20 +111,20 @@
     </Reference>
     <Reference Include="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
-      <Private>True</Private>
+      <Private>False</Private>
     </Reference>
     <Reference Include="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304">
-      <Private>True</Private>
+      <Private>False</Private>
     </Reference>
     <Reference Include="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304">
-      <Private>True</Private>
+      <Private>False</Private>
     </Reference>
     <Reference Include="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
-      <Private>True</Private>
+      <Private>False</Private>
     </Reference>
     <Reference Include="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
-      <Private>True</Private>
+      <Private>False</Private>
     </Reference>
     <Reference Include="CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
-      <Private>True</Private>
+      <Private>False</Private>
     </Reference>
     <Reference Include="System">
@@ -155,4 +162,5 @@
     <None Include="ClassDiagram1.cd" />
     <None Include="ClassDiagram2.cd" />
+    <None Include="ClinicalScheduling_TemporaryKey.pfx" />
     <None Include="dsPatientApptDisplay2.xsc">
       <DependentUpon>dsPatientApptDisplay2.xsd</DependentUpon>
@@ -173,4 +181,5 @@
       <DependentUpon>dsRebookAppts.xsd</DependentUpon>
     </None>
+    <None Include="Properties\app.manifest" />
     <Content Include="App.ico" />
     <Content Include="dsPatientApptDisplay2.xsd">
@@ -232,10 +241,4 @@
       <AutoGen>True</AutoGen>
     </Compile>
-    <Compile Include="crPatientApptDisplay.cs">
-      <DependentUpon>crPatientApptDisplay.rpt</DependentUpon>
-      <SubType>Component</SubType>
-      <DesignTime>True</DesignTime>
-      <AutoGen>True</AutoGen>
-    </Compile>
     <Compile Include="crPatientLetter.cs">
       <DependentUpon>crPatientLetter.rpt</DependentUpon>
@@ -329,4 +332,10 @@
       <DependentUpon>dsRebookAppts.xsd</DependentUpon>
     </Compile>
+    <Compile Include="UCPatientAppts.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="UCPatientAppts.Designer.cs">
+      <DependentUpon>UCPatientAppts.cs</DependentUpon>
+    </Compile>
     <EmbeddedResource Include="CGAVView.resx">
       <DependentUpon>CGAVView.cs</DependentUpon>
@@ -349,8 +358,4 @@
       <LastGenOutput>crCancelLetter.cs</LastGenOutput>
     </EmbeddedResource>
-    <EmbeddedResource Include="crPatientApptDisplay.rpt">
-      <Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
-      <LastGenOutput>crPatientApptDisplay.cs</LastGenOutput>
-    </EmbeddedResource>
     <EmbeddedResource Include="crPatientLetter.rpt">
       <Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
@@ -448,4 +453,7 @@
       <DependentUpon>DSplash.cs</DependentUpon>
       <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="UCPatientAppts.resx">
+      <DependentUpon>UCPatientAppts.cs</DependentUpon>
     </EmbeddedResource>
   </ItemGroup>
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.cs
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.cs	(revision 742)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.cs	(revision 753)
@@ -35,7 +35,5 @@
 		private System.Windows.Forms.Label label13;
 		private System.Windows.Forms.TextBox txtPhoneHome;
-		private System.Windows.Forms.GroupBox groupBox1;
-		private System.Windows.Forms.TextBox txtCommunity;
-		private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.GroupBox groupBox1;
 		private System.Windows.Forms.Label label6;
 		private System.Windows.Forms.TextBox txtSSN;
@@ -54,11 +52,11 @@
 		private System.Windows.Forms.Label label3;
 		private System.Windows.Forms.Label label14;
-		private System.Windows.Forms.TextBox txtHRN;
-		private System.Windows.Forms.Button cmdViewAppointments;
-		private System.Windows.Forms.Button cmdPrintLetter;
-		/// <summary>
-		/// Required designer variable.
-		/// </summary>
-		private System.ComponentModel.Container components = null;
+        private System.Windows.Forms.TextBox txtHRN;
+        private System.Windows.Forms.Button cmdPrintLetter;
+        private GroupBox groupBox4;
+        private BindingSource dsPatientApptDisplay2BindingSource;
+        private dsPatientApptDisplay2 dsPatientApptDisplay2;
+        private BindingSource patientApptsBindingSource;
+        private IContainer components;
 
 		public DAppointPage()
@@ -74,4 +72,5 @@
 		private void InitializeComponent()
 		{
+            this.components = new System.ComponentModel.Container();
             this.tabControl1 = new System.Windows.Forms.TabControl();
             this.tabAppointment = new System.Windows.Forms.TabPage();
@@ -88,6 +87,4 @@
             this.label14 = new System.Windows.Forms.Label();
             this.txtHRN = new System.Windows.Forms.TextBox();
-            this.txtCommunity = new System.Windows.Forms.TextBox();
-            this.label7 = new System.Windows.Forms.Label();
             this.label6 = new System.Windows.Forms.Label();
             this.txtSSN = new System.Windows.Forms.TextBox();
@@ -112,7 +109,10 @@
             this.panel1 = new System.Windows.Forms.Panel();
             this.cmdPrintLetter = new System.Windows.Forms.Button();
-            this.cmdViewAppointments = new System.Windows.Forms.Button();
             this.cmdCancel = new System.Windows.Forms.Button();
             this.cmdOK = new System.Windows.Forms.Button();
+            this.groupBox4 = new System.Windows.Forms.GroupBox();
+            this.patientApptsBindingSource = new System.Windows.Forms.BindingSource(this.components);
+            this.dsPatientApptDisplay2BindingSource = new System.Windows.Forms.BindingSource(this.components);
+            this.dsPatientApptDisplay2 = new IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2();
             this.tabControl1.SuspendLayout();
             this.tabAppointment.SuspendLayout();
@@ -122,4 +122,7 @@
             this.groupBox2.SuspendLayout();
             this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).BeginInit();
             this.SuspendLayout();
             // 
@@ -132,14 +135,15 @@
             this.tabControl1.Name = "tabControl1";
             this.tabControl1.SelectedIndex = 0;
-            this.tabControl1.Size = new System.Drawing.Size(463, 374);
+            this.tabControl1.Size = new System.Drawing.Size(471, 526);
             this.tabControl1.TabIndex = 0;
             // 
             // tabAppointment
             // 
+            this.tabAppointment.Controls.Add(this.groupBox4);
             this.tabAppointment.Controls.Add(this.groupBox3);
             this.tabAppointment.Controls.Add(this.groupBox1);
             this.tabAppointment.Location = new System.Drawing.Point(4, 22);
             this.tabAppointment.Name = "tabAppointment";
-            this.tabAppointment.Size = new System.Drawing.Size(455, 348);
+            this.tabAppointment.Size = new System.Drawing.Size(463, 500);
             this.tabAppointment.TabIndex = 1;
             this.tabAppointment.Text = "Appointment";
@@ -147,4 +151,6 @@
             // groupBox3
             // 
+            this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+                        | System.Windows.Forms.AnchorStyles.Right)));
             this.groupBox3.Controls.Add(this.lblClinic);
             this.groupBox3.Controls.Add(this.label15);
@@ -155,7 +161,7 @@
             this.groupBox3.Controls.Add(this.label4);
             this.groupBox3.Controls.Add(this.label3);
-            this.groupBox3.Location = new System.Drawing.Point(8, 136);
+            this.groupBox3.Location = new System.Drawing.Point(8, 107);
             this.groupBox3.Name = "groupBox3";
-            this.groupBox3.Size = new System.Drawing.Size(439, 168);
+            this.groupBox3.Size = new System.Drawing.Size(439, 141);
             this.groupBox3.TabIndex = 13;
             this.groupBox3.TabStop = false;
@@ -185,5 +191,5 @@
             this.txtNote.Multiline = true;
             this.txtNote.Name = "txtNote";
-            this.txtNote.Size = new System.Drawing.Size(353, 88);
+            this.txtNote.Size = new System.Drawing.Size(353, 60);
             this.txtNote.TabIndex = 17;
             // 
@@ -235,6 +241,4 @@
             this.groupBox1.Controls.Add(this.label14);
             this.groupBox1.Controls.Add(this.txtHRN);
-            this.groupBox1.Controls.Add(this.txtCommunity);
-            this.groupBox1.Controls.Add(this.label7);
             this.groupBox1.Controls.Add(this.label6);
             this.groupBox1.Controls.Add(this.txtSSN);
@@ -245,5 +249,5 @@
             this.groupBox1.Location = new System.Drawing.Point(8, 8);
             this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(439, 120);
+            this.groupBox1.Size = new System.Drawing.Size(439, 93);
             this.groupBox1.TabIndex = 12;
             this.groupBox1.TabStop = false;
@@ -267,21 +271,4 @@
             this.txtHRN.TabIndex = 12;
             // 
-            // txtCommunity
-            // 
-            this.txtCommunity.Location = new System.Drawing.Point(96, 88);
-            this.txtCommunity.Name = "txtCommunity";
-            this.txtCommunity.ReadOnly = true;
-            this.txtCommunity.Size = new System.Drawing.Size(337, 20);
-            this.txtCommunity.TabIndex = 10;
-            // 
-            // label7
-            // 
-            this.label7.Location = new System.Drawing.Point(24, 88);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(72, 16);
-            this.label7.TabIndex = 11;
-            this.label7.Text = "Community:";
-            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
-            // 
             // label6
             // 
@@ -340,5 +327,5 @@
             this.tabPatientInfo.Location = new System.Drawing.Point(4, 22);
             this.tabPatientInfo.Name = "tabPatientInfo";
-            this.tabPatientInfo.Size = new System.Drawing.Size(455, 348);
+            this.tabPatientInfo.Size = new System.Drawing.Size(463, 500);
             this.tabPatientInfo.TabIndex = 0;
             this.tabPatientInfo.Text = "Contact Information";
@@ -470,11 +457,10 @@
             // 
             this.panel1.Controls.Add(this.cmdPrintLetter);
-            this.panel1.Controls.Add(this.cmdViewAppointments);
             this.panel1.Controls.Add(this.cmdCancel);
             this.panel1.Controls.Add(this.cmdOK);
             this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.panel1.Location = new System.Drawing.Point(0, 334);
+            this.panel1.Location = new System.Drawing.Point(0, 486);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(463, 40);
+            this.panel1.Size = new System.Drawing.Size(471, 40);
             this.panel1.TabIndex = 1;
             // 
@@ -482,5 +468,5 @@
             // 
             this.cmdPrintLetter.CausesValidation = false;
-            this.cmdPrintLetter.Location = new System.Drawing.Point(208, 8);
+            this.cmdPrintLetter.Location = new System.Drawing.Point(12, 9);
             this.cmdPrintLetter.Name = "cmdPrintLetter";
             this.cmdPrintLetter.Size = new System.Drawing.Size(68, 24);
@@ -488,14 +474,4 @@
             this.cmdPrintLetter.Text = "Print Letter";
             this.cmdPrintLetter.Click += new System.EventHandler(this.cmdPrintLetter_Click);
-            // 
-            // cmdViewAppointments
-            // 
-            this.cmdViewAppointments.CausesValidation = false;
-            this.cmdViewAppointments.Location = new System.Drawing.Point(12, 8);
-            this.cmdViewAppointments.Name = "cmdViewAppointments";
-            this.cmdViewAppointments.Size = new System.Drawing.Size(112, 24);
-            this.cmdViewAppointments.TabIndex = 2;
-            this.cmdViewAppointments.Text = "View Appointments";
-            this.cmdViewAppointments.Click += new System.EventHandler(this.cmdViewAppointments_Click);
             // 
             // cmdCancel
@@ -518,4 +494,28 @@
             this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
             // 
+            // groupBox4
+            // 
+            this.groupBox4.Location = new System.Drawing.Point(8, 254);
+            this.groupBox4.Name = "groupBox4";
+            this.groupBox4.Size = new System.Drawing.Size(439, 204);
+            this.groupBox4.TabIndex = 14;
+            this.groupBox4.TabStop = false;
+            this.groupBox4.Text = "Other Appointments";
+            // 
+            // patientApptsBindingSource
+            // 
+            this.patientApptsBindingSource.DataMember = "PatientAppts";
+            this.patientApptsBindingSource.DataSource = this.dsPatientApptDisplay2BindingSource;
+            // 
+            // dsPatientApptDisplay2BindingSource
+            // 
+            this.dsPatientApptDisplay2BindingSource.DataSource = this.dsPatientApptDisplay2;
+            this.dsPatientApptDisplay2BindingSource.Position = 0;
+            // 
+            // dsPatientApptDisplay2
+            // 
+            this.dsPatientApptDisplay2.DataSetName = "dsPatientApptDisplay2";
+            this.dsPatientApptDisplay2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+            // 
             // DAppointPage
             // 
@@ -523,5 +523,5 @@
             this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
             this.CancelButton = this.cmdCancel;
-            this.ClientSize = new System.Drawing.Size(463, 374);
+            this.ClientSize = new System.Drawing.Size(471, 526);
             this.Controls.Add(this.panel1);
             this.Controls.Add(this.tabControl1);
@@ -541,4 +541,7 @@
             this.groupBox2.PerformLayout();
             this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).EndInit();
             this.ResumeLayout(false);
 
@@ -607,5 +610,8 @@
 
 				this.UpdateDialogData(true);
-			}
+                Control UC = new UCPatientAppts(m_DocManager, int.Parse(m_sPatientIEN));
+                UC.Dock = DockStyle.Fill;
+                groupBox4.Controls.Add(UC);
+            }
 			catch(Exception e)
 			{
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.resx
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.resx	(revision 742)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.resx	(revision 753)
@@ -118,3 +118,18 @@
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
+  <metadata name="patientApptsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>412, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>179, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>179, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
 </root>
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs	(revision 742)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs	(revision 753)
@@ -4,7 +4,4 @@
 using System.ComponentModel;
 using System.Windows.Forms;
-using CrystalDecisions.Windows;
-using CrystalDecisions.Shared;
-using CrystalDecisions.CrystalReports.Engine;
 using IndianHealthService.BMXNet;
 using System.Data;
@@ -17,8 +14,7 @@
 	public class DPatientApptDisplay : System.Windows.Forms.Form
 	{
-		private System.Windows.Forms.Panel panel1;
-		private System.Windows.Forms.Panel panel2;
-		private CrystalDecisions.Windows.Forms.CrystalReportViewer crViewer1;
-		private System.Windows.Forms.CheckBox chkIncludePast;
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.CheckBox chkIncludePast;
+        private DataGridView dataGridView1;
 		/// <summary>
 		/// Required designer variable.
@@ -30,16 +26,7 @@
 			try
 			{	
-				crViewer1.DisplayGroupTree = false;
-
-				ClinicalScheduling.crPatientApptDisplay cr = new crPatientApptDisplay();
 				string sSql = "BSDX PATIENT APPT DISPLAY^" + nPatientID.ToString();
-
-				System.Data.DataSet ds = new System.Data.DataSet();
 				DataTable dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
-				ds.Tables.Add(dtAppt.Copy());
-
-				cr.Database.Tables[0].SetDataSource(ds);
-				this.crViewer1.ReportSource = cr;
-
+				dataGridView1.DataSource = dtAppt;
 			}
 			catch (Exception ex)
@@ -51,12 +38,5 @@
 		public DPatientApptDisplay()
 		{
-			//
-			// Required for Windows Form Designer support
-			//
 			InitializeComponent();
-
-			//
-			// TODO: Add any constructor code after InitializeComponent call
-			//
 		}
 
@@ -83,61 +63,53 @@
 		private void InitializeComponent()
 		{
-			this.panel1 = new System.Windows.Forms.Panel();
-			this.chkIncludePast = new System.Windows.Forms.CheckBox();
-			this.panel2 = new System.Windows.Forms.Panel();
-			this.crViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
-			this.panel1.SuspendLayout();
-			this.panel2.SuspendLayout();
-			this.SuspendLayout();
-			// 
-			// panel1
-			// 
-			this.panel1.Controls.Add(this.chkIncludePast);
-			this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
-			this.panel1.Location = new System.Drawing.Point(0, 0);
-			this.panel1.Name = "panel1";
-			this.panel1.Size = new System.Drawing.Size(664, 32);
-			this.panel1.TabIndex = 1;
-			// 
-			// chkIncludePast
-			// 
-			this.chkIncludePast.Location = new System.Drawing.Point(16, 8);
-			this.chkIncludePast.Name = "chkIncludePast";
-			this.chkIncludePast.Size = new System.Drawing.Size(184, 16);
-			this.chkIncludePast.TabIndex = 0;
-			this.chkIncludePast.Text = "Include Past Appointments";
-			this.chkIncludePast.CheckedChanged += new System.EventHandler(this.chkIncludePast_CheckedChanged);
-			// 
-			// panel2
-			// 
-			this.panel2.Controls.Add(this.crViewer1);
-			this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.panel2.Location = new System.Drawing.Point(0, 32);
-			this.panel2.Name = "panel2";
-			this.panel2.Size = new System.Drawing.Size(664, 446);
-			this.panel2.TabIndex = 2;
-			// 
-			// crViewer1
-			// 
-			this.crViewer1.ActiveViewIndex = -1;
-			this.crViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
-			this.crViewer1.Location = new System.Drawing.Point(0, 0);
-			this.crViewer1.Name = "crViewer1";
-			this.crViewer1.ReportSource = null;
-			this.crViewer1.Size = new System.Drawing.Size(664, 446);
-			this.crViewer1.TabIndex = 1;
-			// 
-			// DPatientApptDisplay
-			// 
-			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
-			this.ClientSize = new System.Drawing.Size(664, 478);
-			this.Controls.Add(this.panel2);
-			this.Controls.Add(this.panel1);
-			this.Name = "DPatientApptDisplay";
-			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
-			this.Text = "Patient Appointments";
-			this.panel1.ResumeLayout(false);
-			this.panel2.ResumeLayout(false);
-			this.ResumeLayout(false);
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.chkIncludePast = new System.Windows.Forms.CheckBox();
+            this.dataGridView1 = new System.Windows.Forms.DataGridView();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.chkIncludePast);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(664, 32);
+            this.panel1.TabIndex = 1;
+            // 
+            // chkIncludePast
+            // 
+            this.chkIncludePast.Location = new System.Drawing.Point(16, 8);
+            this.chkIncludePast.Name = "chkIncludePast";
+            this.chkIncludePast.Size = new System.Drawing.Size(184, 16);
+            this.chkIncludePast.TabIndex = 0;
+            this.chkIncludePast.Text = "Include Past Appointments";
+            this.chkIncludePast.CheckedChanged += new System.EventHandler(this.chkIncludePast_CheckedChanged);
+            // 
+            // dataGridView1
+            // 
+            this.dataGridView1.AllowUserToAddRows = false;
+            this.dataGridView1.AllowUserToDeleteRows = false;
+            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dataGridView1.Location = new System.Drawing.Point(0, 32);
+            this.dataGridView1.Name = "dataGridView1";
+            this.dataGridView1.ReadOnly = true;
+            this.dataGridView1.Size = new System.Drawing.Size(664, 446);
+            this.dataGridView1.TabIndex = 2;
+            // 
+            // DPatientApptDisplay
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
+            this.ClientSize = new System.Drawing.Size(664, 478);
+            this.Controls.Add(this.dataGridView1);
+            this.Controls.Add(this.panel1);
+            this.Name = "DPatientApptDisplay";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+            this.Text = "Patient Appointments";
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+            this.ResumeLayout(false);
 
 		}
@@ -148,11 +120,11 @@
 			if (chkIncludePast.Checked == true)
 			{
-                this.crViewer1.SelectionFormula = "TRUE"; //MJL 9/11/2007
+                //this.crViewer1.SelectionFormula = "TRUE"; //MJL 9/11/2007
 			}
 			else
 			{
-				crViewer1.SelectionFormula = "{PatientAppts.ApptDate} >= CurrentDate";
+				//crViewer1.SelectionFormula = "{PatientAppts.ApptDate} >= CurrentDate";
 			}
-			crViewer1.RefreshReport();
+			//crViewer1.RefreshReport();
 		}
 	}
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientApptDisplay.resx
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientApptDisplay.resx	(revision 742)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientApptDisplay.resx	(revision 753)
@@ -4,5 +4,5 @@
     Microsoft ResX Schema 
     
-    Version 1.3
+    Version 2.0
     
     The primary goals of this format is to allow a simple XML format 
@@ -15,14 +15,15 @@
     ... ado.net/XML headers & schema ...
     <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">1.3</resheader>
+    <resheader name="version">2.0</resheader>
     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1">this is my long string</data>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        [base64 mime encoded serialized .NET Framework object]
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
     </data>
     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
     </data>
                 
@@ -36,5 +37,5 @@
     mimetype set.
     
-    The mimetype is used forserialized objects, and tells the 
+    The mimetype is used for serialized objects, and tells the 
     ResXResourceReader how to depersist the object. This is currently not 
     extensible. For a given mimetype the value must be set accordingly:
@@ -46,5 +47,5 @@
     mimetype: application/x-microsoft.net.object.binary.base64
     value   : The object must be serialized with 
-            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
             : and then encoded with base64 encoding.
     
@@ -60,7 +61,25 @@
     -->
   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
     <xsd:element name="root" msdata:IsDataSet="true">
       <xsd:complexType>
         <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
           <xsd:element name="data">
             <xsd:complexType>
@@ -69,7 +88,8 @@
                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
               </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
             </xsd:complexType>
           </xsd:element>
@@ -90,95 +110,11 @@
   </resheader>
   <resheader name="version">
-    <value>1.3</value>
+    <value>2.0</value>
   </resheader>
   <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
   <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
-  <data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </data>
-  <data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </data>
-  <data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>8, 8</value>
-  </data>
-  <data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </data>
-  <data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="chkIncludePast.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </data>
-  <data name="chkIncludePast.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="chkIncludePast.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="panel2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </data>
-  <data name="panel2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </data>
-  <data name="panel2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="panel2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>8, 8</value>
-  </data>
-  <data name="panel2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </data>
-  <data name="panel2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="crViewer1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="crViewer1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
-  <data name="crViewer1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </data>
-  <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </data>
-  <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>(Default)</value>
-  </data>
-  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </data>
-  <data name="$this.Name">
-    <value>DPatientApptDisplay</value>
-  </data>
-  <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </data>
-  <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>8, 8</value>
-  </data>
-  <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </data>
-  <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>80</value>
-  </data>
-  <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </data>
-  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>Private</value>
-  </data>
 </root>
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.Designer.cs
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.Designer.cs	(revision 753)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.Designer.cs	(revision 753)
@@ -0,0 +1,202 @@
+﻿namespace IndianHealthService.ClinicalScheduling
+{
+    partial class UCPatientAppts
+    {
+        /// <summary> 
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary> 
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Component Designer generated code
+
+        /// <summary> 
+        /// Required method for Designer support - do not modify 
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            this.dgAppts = new System.Windows.Forms.DataGridView();
+            this.apptDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.clinicDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.aPPTMADEBYDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dATEAPPTMADEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.nOTEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.patientApptsBindingSource = new System.Windows.Forms.BindingSource(this.components);
+            this.dsPatientApptDisplay2BindingSource = new System.Windows.Forms.BindingSource(this.components);
+            this.dsPatientApptDisplay2 = new IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.chkPastAppts = new System.Windows.Forms.CheckBox();
+            this.btnPrint = new System.Windows.Forms.Button();
+            this.printDialog1 = new System.Windows.Forms.PrintDialog();
+            this.PrintPtAppts = new System.Drawing.Printing.PrintDocument();
+            ((System.ComponentModel.ISupportInitialize)(this.dgAppts)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).BeginInit();
+            this.panel1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // dgAppts
+            // 
+            this.dgAppts.AllowUserToAddRows = false;
+            this.dgAppts.AllowUserToDeleteRows = false;
+            this.dgAppts.AutoGenerateColumns = false;
+            this.dgAppts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.dgAppts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.apptDateDataGridViewTextBoxColumn,
+            this.clinicDataGridViewTextBoxColumn,
+            this.aPPTMADEBYDataGridViewTextBoxColumn,
+            this.dATEAPPTMADEDataGridViewTextBoxColumn,
+            this.nOTEDataGridViewTextBoxColumn});
+            this.dgAppts.DataSource = this.patientApptsBindingSource;
+            this.dgAppts.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgAppts.Location = new System.Drawing.Point(0, 32);
+            this.dgAppts.Name = "dgAppts";
+            this.dgAppts.ReadOnly = true;
+            this.dgAppts.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
+            this.dgAppts.ShowEditingIcon = false;
+            this.dgAppts.Size = new System.Drawing.Size(544, 171);
+            this.dgAppts.TabIndex = 2;
+            // 
+            // apptDateDataGridViewTextBoxColumn
+            // 
+            this.apptDateDataGridViewTextBoxColumn.DataPropertyName = "ApptDate";
+            this.apptDateDataGridViewTextBoxColumn.HeaderText = "Date";
+            this.apptDateDataGridViewTextBoxColumn.Name = "apptDateDataGridViewTextBoxColumn";
+            this.apptDateDataGridViewTextBoxColumn.ReadOnly = true;
+            // 
+            // clinicDataGridViewTextBoxColumn
+            // 
+            this.clinicDataGridViewTextBoxColumn.DataPropertyName = "Clinic";
+            this.clinicDataGridViewTextBoxColumn.HeaderText = "Clinic";
+            this.clinicDataGridViewTextBoxColumn.Name = "clinicDataGridViewTextBoxColumn";
+            this.clinicDataGridViewTextBoxColumn.ReadOnly = true;
+            // 
+            // aPPTMADEBYDataGridViewTextBoxColumn
+            // 
+            this.aPPTMADEBYDataGridViewTextBoxColumn.DataPropertyName = "APPT_MADE_BY";
+            this.aPPTMADEBYDataGridViewTextBoxColumn.HeaderText = "Made By";
+            this.aPPTMADEBYDataGridViewTextBoxColumn.Name = "aPPTMADEBYDataGridViewTextBoxColumn";
+            this.aPPTMADEBYDataGridViewTextBoxColumn.ReadOnly = true;
+            // 
+            // dATEAPPTMADEDataGridViewTextBoxColumn
+            // 
+            this.dATEAPPTMADEDataGridViewTextBoxColumn.DataPropertyName = "DATE_APPT_MADE";
+            this.dATEAPPTMADEDataGridViewTextBoxColumn.HeaderText = "Made on";
+            this.dATEAPPTMADEDataGridViewTextBoxColumn.Name = "dATEAPPTMADEDataGridViewTextBoxColumn";
+            this.dATEAPPTMADEDataGridViewTextBoxColumn.ReadOnly = true;
+            // 
+            // nOTEDataGridViewTextBoxColumn
+            // 
+            this.nOTEDataGridViewTextBoxColumn.DataPropertyName = "NOTE";
+            this.nOTEDataGridViewTextBoxColumn.HeaderText = "Note";
+            this.nOTEDataGridViewTextBoxColumn.Name = "nOTEDataGridViewTextBoxColumn";
+            this.nOTEDataGridViewTextBoxColumn.ReadOnly = true;
+            // 
+            // patientApptsBindingSource
+            // 
+            this.patientApptsBindingSource.DataMember = "PatientAppts";
+            this.patientApptsBindingSource.DataSource = this.dsPatientApptDisplay2BindingSource;
+            // 
+            // dsPatientApptDisplay2BindingSource
+            // 
+            this.dsPatientApptDisplay2BindingSource.DataSource = this.dsPatientApptDisplay2;
+            this.dsPatientApptDisplay2BindingSource.Position = 0;
+            // 
+            // dsPatientApptDisplay2
+            // 
+            this.dsPatientApptDisplay2.DataSetName = "dsPatientApptDisplay2";
+            this.dsPatientApptDisplay2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.btnPrint);
+            this.panel1.Controls.Add(this.chkPastAppts);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(544, 32);
+            this.panel1.TabIndex = 3;
+            // 
+            // chkPastAppts
+            // 
+            this.chkPastAppts.Anchor = System.Windows.Forms.AnchorStyles.Right;
+            this.chkPastAppts.AutoSize = true;
+            this.chkPastAppts.Location = new System.Drawing.Point(389, 3);
+            this.chkPastAppts.Name = "chkPastAppts";
+            this.chkPastAppts.Size = new System.Drawing.Size(152, 17);
+            this.chkPastAppts.TabIndex = 0;
+            this.chkPastAppts.Text = "Include Past Appointments";
+            this.chkPastAppts.UseVisualStyleBackColor = true;
+            this.chkPastAppts.CheckedChanged += new System.EventHandler(this.chkPastAppts_CheckedChanged);
+            // 
+            // btnPrint
+            // 
+            this.btnPrint.Location = new System.Drawing.Point(3, 3);
+            this.btnPrint.Name = "btnPrint";
+            this.btnPrint.Size = new System.Drawing.Size(75, 23);
+            this.btnPrint.TabIndex = 1;
+            this.btnPrint.Text = "Print";
+            this.btnPrint.UseVisualStyleBackColor = true;
+            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
+            // 
+            // printDialog1
+            // 
+            this.printDialog1.Document = this.PrintPtAppts;
+            this.printDialog1.UseEXDialog = true;
+            // 
+            // PrintPtAppts
+            // 
+            this.PrintPtAppts.DocumentName = "Print Patient Appointments";
+            this.PrintPtAppts.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.PrintPtAppts_PrintPage);
+            // 
+            // UCPatientAppts
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Controls.Add(this.dgAppts);
+            this.Controls.Add(this.panel1);
+            this.Name = "UCPatientAppts";
+            this.Size = new System.Drawing.Size(544, 203);
+            ((System.ComponentModel.ISupportInitialize)(this.dgAppts)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).EndInit();
+            this.panel1.ResumeLayout(false);
+            this.panel1.PerformLayout();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.DataGridView dgAppts;
+        private System.Windows.Forms.DataGridViewTextBoxColumn apptDateDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn clinicDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn aPPTMADEBYDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn dATEAPPTMADEDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn nOTEDataGridViewTextBoxColumn;
+        private System.Windows.Forms.BindingSource patientApptsBindingSource;
+        private System.Windows.Forms.BindingSource dsPatientApptDisplay2BindingSource;
+        private dsPatientApptDisplay2 dsPatientApptDisplay2;
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.CheckBox chkPastAppts;
+        private System.Windows.Forms.Button btnPrint;
+        private System.Windows.Forms.PrintDialog printDialog1;
+        private System.Drawing.Printing.PrintDocument PrintPtAppts;
+    }
+}
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.cs
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.cs	(revision 753)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.cs	(revision 753)
@@ -0,0 +1,71 @@
+﻿using System;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Text;
+using System.Windows.Forms;
+using IndianHealthService.BMXNet;
+
+namespace IndianHealthService.ClinicalScheduling
+{
+    /// <summary>
+    /// User Control that shows patient's appointments and allows printing
+    /// </summary>
+    public partial class UCPatientAppts : UserControl
+    {
+        DataTable dtAppt;
+        DataView dvAppt;
+        /// <summary>
+        /// Ctor
+        /// </summary>
+        /// <param name="docManager">Document Manager from main context</param>
+        /// <param name="nPatientID">Patient IEN</param>
+        public UCPatientAppts(CGDocumentManager docManager, int nPatientID)
+        {
+            InitializeComponent();
+            try
+            {
+                string sSql = "BSDX PATIENT APPT DISPLAY^" + nPatientID.ToString();
+                dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
+            }
+            catch (Exception ex) { MessageBox.Show(ex.Message); }
+
+            dvAppt = new DataView(dtAppt);
+            dvAppt.Sort = "ApptDate ASC";
+            SetPastFilter(false);
+            dgAppts.DataSource = dvAppt;
+
+        }
+        /// <summary>
+        /// Sets the filter for the DataView on whether to show past appointments or not
+        /// </summary>
+        /// <param name="ShowPastAppts">boolean - self explanatory</param>
+        void SetPastFilter(bool ShowPastAppts)
+        {
+            if (ShowPastAppts) dvAppt.RowFilter = "";
+            else dvAppt.RowFilter = "ApptDate > " + "#" + DateTime.Today.ToShortDateString() + "#"; ;
+        }
+
+        private void chkPastAppts_CheckedChanged(object sender, EventArgs e)
+        {
+            if (chkPastAppts.Checked) SetPastFilter(true);
+            else SetPastFilter(false);
+        }
+
+        private void PrintPtAppts_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
+        {
+            Graphics g = e.Graphics;
+            using (Font font = new Font("Lucida Console", 72))
+            {
+                g.DrawString("Hello,\nPrinter", font, Brushes.Black, e.MarginBounds);
+            }
+        }
+
+        private void btnPrint_Click(object sender, EventArgs e)
+        {
+            DialogResult res = printDialog1.ShowDialog();
+            if (res == DialogResult.OK) this.printDialog1.Document.Print();
+        }
+
+    }
+}
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.resx
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.resx	(revision 753)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/UCPatientAppts.resx	(revision 753)
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="patientApptsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>412, 17</value>
+  </metadata>
+  <metadata name="patientApptsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>412, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>179, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>179, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="printDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>597, 17</value>
+  </metadata>
+  <metadata name="PrintPtAppts.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>709, 17</value>
+  </metadata>
+</root>
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML	(revision 742)
+++ Scheduling/trunk/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML	(revision 753)
@@ -5,50 +5,118 @@
     </assembly>
     <members>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2">
-             <summary>
-            Represents a strongly typed in-memory cache of data.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.PatientApptsDataTable">
-             <summary>
-            Represents the strongly named DataTable class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.BSDXResourceDataTable">
-             <summary>
-            Represents the strongly named DataTable class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.PatientApptsRow">
-             <summary>
-            Represents strongly named DataRow class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.BSDXResourceRow">
-             <summary>
-            Represents strongly named DataRow class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.PatientApptsRowChangeEvent">
-             <summary>
-            Row event argument class
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.BSDXResourceRowChangeEvent">
-             <summary>
-            Row event argument class
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DApptSearch">
-            <summary>
-            Summary description for DApptSearch.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DApptSearch.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DApptSearch.UpdateDialogData(System.Boolean)">
+        <member name="T:IndianHealthService.ClinicalScheduling.DPatientApptDisplay">
+            <summary>
+            Summary description for DPatientApptDisplay.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DPatientApptDisplay.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DPatientApptDisplay.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DPatientApptDisplay.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGSelectionChangedHandler">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointments">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointment">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CalendarGrid">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DPatientLookup">
+            <summary>
+            Summary description for DPatientLookup.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DPatientLookup.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLookup.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLookup.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DPatientLookup.PatientName">
+            <summary>
+            Gets or sets the name of the selected patient
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DPatientLookup.PatientIEN">
+            <summary>
+            RPMS Internal Entry Number in PATIENT file (DFN)
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DPatientLookup.HealthRecordNumber">
+            <summary>
+            The string representation of the Health Record Number
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DManagement">
+            <summary>
+            Summary description for DManagement.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DManagement.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DAccessType">
+            <summary>
+            Summary description for DAccessType.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DAccessType.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessType.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessType.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessType.UpdateDialogData(System.Boolean)">
             <summary>
             If b is true, moves member vars into control data
@@ -57,126 +125,26 @@
             <param name="b"></param>
         </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DApptSearch.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DApptSearch.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DApptSearch.SelectedResource">
-            <summary>
-            Gets the resource selected by the user
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DApptSearch.SelectedDate">
-            <summary>
-            Gets the date selected by the user
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGSelectionChangedArgs">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CalendarGrid">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGSelectionChangedHandler">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGDocumentManager">
-            <summary>
-            Summary description for DocumentManager.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.GetViewByResource(System.Collections.ArrayList)">
-            <summary>
-            Return the first view having a resource array matching sResourceArray
-            </summary>
-            <param name="sResourceArray"></param>
-            <returns></returns>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.UpdateViews(System.String,System.String)">
-            <summary>
-            Propogate availability updates to all sRresource's doc/views 
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.UpdateViews">
-            <summary>
-            Propogate availability updates to all doc/views 
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.CloseAllViews(IndianHealthService.ClinicalScheduling.CGDocument)">
-            <summary>
-            Calls each view associated with document Doc and closes it.
-            </summary>		
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.CloseAllViews(IndianHealthService.ClinicalScheduling.CGAVDocument)">
-            <summary>
-            Calls each view associated with Availability Doc and closes it.
-            </summary>		
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.ConnectInfo">
-            <summary>
-            Returns the document manager's BMXNetConnectInfo member
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.ScheduleManager">
-            <summary>
-            True if the current user holds the BSDXZMGR or XUPROGMODE keys in RPMS
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.WindowText">
-            <summary>
-            Holds the user and division
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.GlobalDataSet">
-            <summary>
-            This dataset contains tables used by the entire application
-            </summary>		
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.Current">
-            <summary>
-            Returns the single CGDocumentManager object
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.Views">
-            <summary>
-            Returns the list of currently opened documents
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.AvailabilityViews">
-            <summary>
-            Returns the list of currently opened CGAVViews
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DAccessTemplate">
-            <summary>
-            Summary description for DAccessTemplate.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DAccessTemplate.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessTemplate.UpdateDialogData(System.Boolean)">
+        <member name="T:IndianHealthService.ClinicalScheduling.DResourceGroup">
+            <summary>
+            Summary description for DResourceGroup.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DResourceGroup.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroup.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroup.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroup.UpdateDialogData(System.Boolean)">
             <summary>
             If b is true, moves member vars into control data
@@ -185,4 +153,199 @@
             <param name="b"></param>
         </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DResourceGroup.ResourceGroupName">
+            <summary>
+            Gets the name of the resource group
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DPatientLetter">
+            <summary>
+            Summary description for DPatientLetter.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DPatientLetter.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLetter.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLetter.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts">
+             <summary>
+            Represents a strongly typed in-memory cache of data.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.PatientApptsDataTable">
+             <summary>
+            Represents the strongly named DataTable class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.BSDXResourceDataTable">
+             <summary>
+            Represents the strongly named DataTable class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.PatientApptsRow">
+             <summary>
+            Represents strongly named DataRow class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.BSDXResourceRow">
+             <summary>
+            Represents strongly named DataRow class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.PatientApptsRowChangeEvent">
+             <summary>
+            Row event argument class
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.BSDXResourceRowChangeEvent">
+             <summary>
+            Row event argument class
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DCancelAppt">
+            <summary>
+            Summary description for DCancelAppt.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DCancelAppt.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCancelAppt.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCancelAppt.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCancelAppt.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.RebookAccessType">
+            <summary>
+            Sets or returns the rebook access type:  -1 = use current type, -2 = use any type, 0 = prompt for a type
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.ClinicCancelled">
+            <summary>
+            Returns true if appt cancelled by Clinic, otherwise false
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.AutoRebook">
+            <summary>
+            Returns value of AutoRebook check box
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.CancelReason">
+            <summary>
+            Returns internal entry in the CANCELLATION REASON file (409.2)
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.CancelRemarks">
+            <summary>
+            Returns cancellation remarks.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.RebookStartDays">
+            <summary>
+            Sets or returns the number of days in the future to start searching for availability
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.RebookMaxDays">
+            <summary>
+            Sets and returns the maximum number of days in the future to look for rebook availability
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGAvailability">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DResourceUser">
+            <summary>
+            Summary description for DResourceUser.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DResourceUser.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceUser.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceUser.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceUser.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.UserID">
+            <summary>
+            The ID of the Resource User in the NEW PERSON file.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.ModifySchedule">
+            <summary>
+            True if the user is allowed to modify the resource's scheduled availability
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.Overbook">
+            <summary>
+            True if the user is allowed to overbook beyond the resource's scheduled availability
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.Appoinmtments">
+            <summary>
+            True if the user is allowed to create, edit and delete appointments
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DAccessTemplate">
+            <summary>
+            Summary description for DAccessTemplate.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DAccessTemplate.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessTemplate.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
         <member name="M:IndianHealthService.ClinicalScheduling.DAccessTemplate.Dispose(System.Boolean)">
             <summary>
@@ -209,4 +372,85 @@
             <summary>
             Sets or returns the number of weeks to apply the template
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DNoShow">
+            <summary>
+            Summary description for DAutoRebook.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DNoShow.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DNoShow.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DNoShow.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DNoShow.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.RebookAccessType">
+            <summary>
+            Sets or returns the rebook access type:  -1 = use current type, -2 = use any type, 0 = prompt for a type
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.AutoRebook">
+            <summary>
+            Returns value of AutoRebook check box
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.RebookStartDays">
+            <summary>
+            Sets or returns the number of days in the future to start searching for availability
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.RebookMaxDays">
+            <summary>
+            Sets and returns the maximum number of days in the future to look for rebook availability
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DAccessGroup">
+            <summary>
+            Summary description for DAccessGroup.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DAccessGroup.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroup.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroup.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroup.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DAccessGroup.AccessGroupName">
+            <summary>
+            Gets the name of the Access Group;
             </summary>
         </member>
@@ -256,42 +500,26 @@
             </summary>
         </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dInputText">
-            <summary>
-            Summary description for dInputText.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.dInputText.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.dInputText.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.dInputText.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DResource">
-            <summary>
-            Summary description for DResource.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DResource.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResource.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResource.UpdateDialogData(System.Boolean)">
+        <member name="T:IndianHealthService.ClinicalScheduling.DResourceGroupItem">
+            <summary>
+            Summary description for DResourceGroup.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DResourceGroupItem.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroupItem.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroupItem.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroupItem.UpdateDialogData(System.Boolean)">
             <summary>
             If b is true, moves member vars into control data
@@ -300,7 +528,252 @@
             <param name="b"></param>
         </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DResourceGroupItem.ResourceID">
+            <summary>
+            Contains the IEN of the Resource in the BSDX_RESOURCE file
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DResourceGroupItem.ResourceName">
+            <summary>
+            Contains the name of the Resource
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DResource">
+            <summary>
+            Summary description for DResource.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DResource.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResource.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DResource.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
         <member name="M:IndianHealthService.ClinicalScheduling.DResource.Dispose(System.Boolean)">
             <summary>
             Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DCheckIn">
+            <summary>
+            Summary description for DCheckIn.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DCheckIn.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCheckIn.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCheckIn.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCheckIn.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.ProviderIEN">
+            <summary>
+            Returns string representation of internal entry number of Provider in PROVIDER File
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PCCClinicIEN">
+            <summary>
+            Returns string representation of IEN of Clinic in VEN EHP CLINIC file
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PCCFormIEN">
+            <summary>
+            Returns string representation of IEN of template entry in VEN PCC TEMPLATE
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PCCOutGuide">
+            <summary>
+            Returns 'true' if outguide to be printed; otherwise returns 'false'
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.ClinicStopIEN">
+            <summary>
+            Returns string representation of IEN of CLINIC STOP
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PrintRouteSlip">
+            <summary>
+            Returns 'true' if routing slip to be printed; otherwise 'false'
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.CheckInTime">
+            <summary>
+            Appointment checkin time
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.AuxTime">
+            <summary>
+            Appointment end time
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGCells">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.UCPatientAppts">
+            <summary>
+            User Control that shows patient's appointments and allows printing
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.UCPatientAppts.components">
+            <summary> 
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.UCPatientAppts.Dispose(System.Boolean)">
+            <summary> 
+            Clean up any resources being used.
+            </summary>
+            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.UCPatientAppts.InitializeComponent">
+            <summary> 
+            Required method for Designer support - do not modify 
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.UCPatientAppts.#ctor(IndianHealthService.ClinicalScheduling.CGDocumentManager,System.Int32)">
+            <summary>
+            Ctor
+            </summary>
+            <param name="docManager">Document Manager from main context</param>
+            <param name="nPatientID">Patient IEN</param>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.UCPatientAppts.SetPastFilter(System.Boolean)">
+            <summary>
+            Sets the filter for the DataView on whether to show past appointments or not
+            </summary>
+            <param name="ShowPastAppts">boolean - self explanatory</param>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DSelectLetterClinics">
+            <summary>
+            Summary description for DSelectLetterClinics.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.SelectedClinics">
+            <summary>
+            Returns the |-delimited string of selected resource id's
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DAppointPage">
+            <summary>
+            Appointment Info Dialog
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAppointPage.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAppointPage.UpdateDialogData(System.Boolean)">
+            <summary>
+            Move data from member variables to controls (b == true)
+            or from controls to member variables (b == false)
+            </summary>
+            <param name="b"></param>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAppointPage.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DAccessGroupItem">
+            <summary>
+            Summary description for DAccessGroupItem.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DAccessGroupItem.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroupItem.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroupItem.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroupItem.UpdateDialogData(System.Boolean)">
+            <summary>
+            If b is true, moves member vars into control data
+            otherwise, moves control data into member vars
+            </summary>
+            <param name="b"></param>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DAccessGroupItem.AccessTypeID">
+            <summary>
+            Contains the IEN of the AccessType in the BSDX_ACCESS_TYPE file
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DAccessGroupItem.AccessTypeName">
+            <summary>
+            Contains the name of the AccessType
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dInputText">
+            <summary>
+            Summary description for dInputText.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.dInputText.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.dInputText.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.dInputText.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
             </summary>
         </member>
@@ -311,61 +784,79 @@
             </summary>
         </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts">
-             <summary>
-            Represents a strongly typed in-memory cache of data.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.PatientApptsDataTable">
-             <summary>
-            Represents the strongly named DataTable class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.BSDXResourceDataTable">
-             <summary>
-            Represents the strongly named DataTable class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.PatientApptsRow">
-             <summary>
-            Represents strongly named DataRow class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.BSDXResourceRow">
-             <summary>
-            Represents strongly named DataRow class.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.PatientApptsRowChangeEvent">
-             <summary>
-            Row event argument class
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.dsRebookAppts.BSDXResourceRowChangeEvent">
-             <summary>
-            Row event argument class
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DAccessGroup">
-            <summary>
-            Summary description for DAccessGroup.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DAccessGroup.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroup.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroup.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroup.UpdateDialogData(System.Boolean)">
+        <member name="T:IndianHealthService.ClinicalScheduling.CGAVView">
+            <summary>
+            Summary description for CGAVView.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGAVView.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGAVView.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGAVView.CGrid">
+            <summary>
+            Access the CalendarGrid associated with this view
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGAVView.Document">
+            <summary>
+            Accesses the document associated with this view
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DSelectSchedules">
+            <summary>
+            Summary description for DSelectSchedules.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DSelectSchedules.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DSelectSchedules.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DSelectSchedules.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DSelectSchedules.SelectedClinics">
+            <summary>
+            Returns the an ArrayList of selected resource names
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DAccessBlock">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGResource">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DApptSearch">
+            <summary>
+            Summary description for DApptSearch.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DApptSearch.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DApptSearch.UpdateDialogData(System.Boolean)">
             <summary>
             If b is true, moves member vars into control data
@@ -374,117 +865,24 @@
             <param name="b"></param>
         </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DAccessGroup.AccessGroupName">
-            <summary>
-            Gets the name of the Access Group;
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGResource">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DSplash">
-            <summary>
-            Summary description for DSplash.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DSplash.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DSplash.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DSplash.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DSplash.Status">
-            <summary>
-            Gets or sets the value of the Status displayed on the splash screen
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DPatientApptDisplay">
-            <summary>
-            Summary description for DPatientApptDisplay.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DPatientApptDisplay.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DPatientApptDisplay.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DPatientApptDisplay.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DAppointPage">
-            <summary>
-            Appointment Info Dialog
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DAppointPage.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAppointPage.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAppointPage.UpdateDialogData(System.Boolean)">
-            <summary>
-            Move data from member variables to controls (b == true)
-            or from controls to member variables (b == false)
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAppointPage.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DAccessType">
-            <summary>
-            Summary description for DAccessType.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DAccessType.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessType.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessType.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessType.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
+        <member name="M:IndianHealthService.ClinicalScheduling.DApptSearch.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DApptSearch.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DApptSearch.SelectedResource">
+            <summary>
+            Gets the resource selected by the user
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DApptSearch.SelectedDate">
+            <summary>
+            Gets the date selected by the user
+            </summary>
         </member>
         <member name="T:IndianHealthService.ClinicalScheduling.CGDocument">
@@ -557,13 +955,103 @@
             </summary>
         </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DManagement">
-            <summary>
-            Summary description for DManagement.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DManagement.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
+        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2">
+             <summary>
+            Represents a strongly typed in-memory cache of data.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.PatientApptsDataTable">
+             <summary>
+            Represents the strongly named DataTable class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.BSDXResourceDataTable">
+             <summary>
+            Represents the strongly named DataTable class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.PatientApptsRow">
+             <summary>
+            Represents strongly named DataRow class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.BSDXResourceRow">
+             <summary>
+            Represents strongly named DataRow class.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.PatientApptsRowChangeEvent">
+             <summary>
+            Row event argument class
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2.BSDXResourceRowChangeEvent">
+             <summary>
+            Row event argument class
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DCopyAppts">
+            <summary>
+            Summary description for DCopyAppts.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCopyAppts.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DCopyAppts.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGCell">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointmentChangedHandler">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.DSplash">
+            <summary>
+            Summary description for DSplash.
+            </summary>
+        </member>
+        <member name="F:IndianHealthService.ClinicalScheduling.DSplash.components">
+            <summary>
+            Required designer variable.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DSplash.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.DSplash.InitializeComponent">
+            <summary>
+            Required method for Designer support - do not modify
+            the contents of this method with the code editor.
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.DSplash.Status">
+            <summary>
+            Gets or sets the value of the Status displayed on the splash screen
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGSelectionChangedArgs">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
+            </summary>
+        </member>
+        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointmentChangedArgs">
+            <summary>
+            This class was regenerated from Calendargrid.dll using Reflector.exe
+            by Sam Habiel for WorldVista. The original source code is lost.
             </summary>
         </member>
@@ -574,532 +1062,74 @@
             </summary>
         </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DSelectLetterClinics">
-            <summary>
-            Summary description for DSelectLetterClinics.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.SelectedClinics">
-            <summary>
-            Returns the |-delimited string of selected resource id's
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DAccessBlock">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointments">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DCancelAppt">
-            <summary>
-            Summary description for DCancelAppt.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DCancelAppt.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCancelAppt.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCancelAppt.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCancelAppt.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.RebookAccessType">
-            <summary>
-            Sets or returns the rebook access type:  -1 = use current type, -2 = use any type, 0 = prompt for a type
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.ClinicCancelled">
-            <summary>
-            Returns true if appt cancelled by Clinic, otherwise false
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.AutoRebook">
-            <summary>
-            Returns value of AutoRebook check box
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.CancelReason">
-            <summary>
-            Returns internal entry in the CANCELLATION REASON file (409.2)
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.CancelRemarks">
-            <summary>
-            Returns cancellation remarks.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.RebookStartDays">
-            <summary>
-            Sets or returns the number of days in the future to start searching for availability
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCancelAppt.RebookMaxDays">
-            <summary>
-            Sets and returns the maximum number of days in the future to look for rebook availability
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DPatientLookup">
-            <summary>
-            Summary description for DPatientLookup.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DPatientLookup.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLookup.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLookup.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DPatientLookup.PatientName">
-            <summary>
-            Gets or sets the name of the selected patient
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DPatientLookup.PatientIEN">
-            <summary>
-            RPMS Internal Entry Number in PATIENT file (DFN)
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DPatientLookup.HealthRecordNumber">
-            <summary>
-            The string representation of the Health Record Number
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DPatientLetter">
-            <summary>
-            Summary description for DPatientLetter.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DPatientLetter.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLetter.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DPatientLetter.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DCopyAppts">
-            <summary>
-            Summary description for DCopyAppts.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCopyAppts.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCopyAppts.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DCheckIn">
-            <summary>
-            Summary description for DCheckIn.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DCheckIn.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCheckIn.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCheckIn.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DCheckIn.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.ProviderIEN">
-            <summary>
-            Returns string representation of internal entry number of Provider in PROVIDER File
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PCCClinicIEN">
-            <summary>
-            Returns string representation of IEN of Clinic in VEN EHP CLINIC file
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PCCFormIEN">
-            <summary>
-            Returns string representation of IEN of template entry in VEN PCC TEMPLATE
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PCCOutGuide">
-            <summary>
-            Returns 'true' if outguide to be printed; otherwise returns 'false'
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.ClinicStopIEN">
-            <summary>
-            Returns string representation of IEN of CLINIC STOP
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.PrintRouteSlip">
-            <summary>
-            Returns 'true' if routing slip to be printed; otherwise 'false'
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.CheckInTime">
-            <summary>
-            Appointment checkin time
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DCheckIn.AuxTime">
-            <summary>
-            Appointment end time
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointmentChangedHandler">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DResourceGroup">
-            <summary>
-            Summary description for DResourceGroup.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DResourceGroup.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroup.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroup.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroup.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DResourceGroup.ResourceGroupName">
-            <summary>
-            Gets the name of the resource group
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DAccessGroupItem">
-            <summary>
-            Summary description for DAccessGroupItem.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DAccessGroupItem.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroupItem.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroupItem.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DAccessGroupItem.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DAccessGroupItem.AccessTypeID">
-            <summary>
-            Contains the IEN of the AccessType in the BSDX_ACCESS_TYPE file
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DAccessGroupItem.AccessTypeName">
-            <summary>
-            Contains the name of the AccessType
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGCell">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DSelectSchedules">
-            <summary>
-            Summary description for DSelectSchedules.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DSelectSchedules.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DSelectSchedules.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DSelectSchedules.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DSelectSchedules.SelectedClinics">
-            <summary>
-            Returns the an ArrayList of selected resource names
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGAVView">
-            <summary>
-            Summary description for CGAVView.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGAVView.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.CGAVView.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGAVView.CGrid">
-            <summary>
-            Access the CalendarGrid associated with this view
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.CGAVView.Document">
-            <summary>
-            Accesses the document associated with this view
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGAvailability">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointment">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DResourceGroupItem">
-            <summary>
-            Summary description for DResourceGroup.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DResourceGroupItem.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroupItem.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroupItem.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceGroupItem.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DResourceGroupItem.ResourceID">
-            <summary>
-            Contains the IEN of the Resource in the BSDX_RESOURCE file
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DResourceGroupItem.ResourceName">
-            <summary>
-            Contains the name of the Resource
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DNoShow">
-            <summary>
-            Summary description for DAutoRebook.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DNoShow.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DNoShow.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DNoShow.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DNoShow.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.RebookAccessType">
-            <summary>
-            Sets or returns the rebook access type:  -1 = use current type, -2 = use any type, 0 = prompt for a type
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.AutoRebook">
-            <summary>
-            Returns value of AutoRebook check box
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.RebookStartDays">
-            <summary>
-            Sets or returns the number of days in the future to start searching for availability
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DNoShow.RebookMaxDays">
-            <summary>
-            Sets and returns the maximum number of days in the future to look for rebook availability
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGCells">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.CGAppointmentChangedArgs">
-            <summary>
-            This class was regenerated from Calendargrid.dll using Reflector.exe
-            by Sam Habiel for WorldVista. The original source code is lost.
-            </summary>
-        </member>
-        <member name="T:IndianHealthService.ClinicalScheduling.DResourceUser">
-            <summary>
-            Summary description for DResourceUser.
-            </summary>
-        </member>
-        <member name="F:IndianHealthService.ClinicalScheduling.DResourceUser.components">
-            <summary>
-            Required designer variable.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceUser.Dispose(System.Boolean)">
-            <summary>
-            Clean up any resources being used.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceUser.InitializeComponent">
-            <summary>
-            Required method for Designer support - do not modify
-            the contents of this method with the code editor.
-            </summary>
-        </member>
-        <member name="M:IndianHealthService.ClinicalScheduling.DResourceUser.UpdateDialogData(System.Boolean)">
-            <summary>
-            If b is true, moves member vars into control data
-            otherwise, moves control data into member vars
-            </summary>
-            <param name="b"></param>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.UserID">
-            <summary>
-            The ID of the Resource User in the NEW PERSON file.
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.ModifySchedule">
-            <summary>
-            True if the user is allowed to modify the resource's scheduled availability
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.Overbook">
-            <summary>
-            True if the user is allowed to overbook beyond the resource's scheduled availability
-            </summary>
-        </member>
-        <member name="P:IndianHealthService.ClinicalScheduling.DResourceUser.Appoinmtments">
-            <summary>
-            True if the user is allowed to create, edit and delete appointments
+        <member name="T:IndianHealthService.ClinicalScheduling.CGDocumentManager">
+            <summary>
+            Summary description for DocumentManager.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.Dispose(System.Boolean)">
+            <summary>
+            Clean up any resources being used.
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.GetViewByResource(System.Collections.ArrayList)">
+            <summary>
+            Return the first view having a resource array matching sResourceArray
+            </summary>
+            <param name="sResourceArray"></param>
+            <returns></returns>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.UpdateViews(System.String,System.String)">
+            <summary>
+            Propogate availability updates to all sRresource's doc/views 
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.UpdateViews">
+            <summary>
+            Propogate availability updates to all doc/views 
+            </summary>
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.CloseAllViews(IndianHealthService.ClinicalScheduling.CGDocument)">
+            <summary>
+            Calls each view associated with document Doc and closes it.
+            </summary>		
+        </member>
+        <member name="M:IndianHealthService.ClinicalScheduling.CGDocumentManager.CloseAllViews(IndianHealthService.ClinicalScheduling.CGAVDocument)">
+            <summary>
+            Calls each view associated with Availability Doc and closes it.
+            </summary>		
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.ConnectInfo">
+            <summary>
+            Returns the document manager's BMXNetConnectInfo member
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.ScheduleManager">
+            <summary>
+            True if the current user holds the BSDXZMGR or XUPROGMODE keys in RPMS
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.WindowText">
+            <summary>
+            Holds the user and division
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.GlobalDataSet">
+            <summary>
+            This dataset contains tables used by the entire application
+            </summary>		
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.Current">
+            <summary>
+            Returns the single CGDocumentManager object
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.Views">
+            <summary>
+            Returns the list of currently opened documents
+            </summary>
+        </member>
+        <member name="P:IndianHealthService.ClinicalScheduling.CGDocumentManager.AvailabilityViews">
+            <summary>
+            Returns the list of currently opened CGAVViews
             </summary>
         </member>
Index: Scheduling/trunk/cs/bsdx0200GUISourceCode/crPatientApptDisplay.cs
===================================================================
--- Scheduling/trunk/cs/bsdx0200GUISourceCode/crPatientApptDisplay.cs	(revision 742)
+++ 	(revision )
@@ -1,159 +1,0 @@
-﻿//------------------------------------------------------------------------------
-// <auto-generated>
-//     This code was generated by a tool.
-//     Runtime Version:2.0.50727.42
-//
-//     Changes to this file may cause incorrect behavior and will be lost if
-//     the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace IndianHealthService.ClinicalScheduling {
-    using System;
-    using System.ComponentModel;
-    using CrystalDecisions.Shared;
-    using CrystalDecisions.ReportSource;
-    using CrystalDecisions.CrystalReports.Engine;
-    
-    
-    public class crPatientApptDisplay : ReportClass {
-        
-        public crPatientApptDisplay() {
-        }
-        
-        public override string ResourceName {
-            get {
-                return "crPatientApptDisplay.rpt";
-            }
-            set {
-                // Do nothing
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section1 {
-            get {
-                return this.ReportDefinition.Sections[0];
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section2 {
-            get {
-                return this.ReportDefinition.Sections[1];
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section6 {
-            get {
-                return this.ReportDefinition.Sections[2];
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section8 {
-            get {
-                return this.ReportDefinition.Sections[3];
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section3 {
-            get {
-                return this.ReportDefinition.Sections[4];
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section7 {
-            get {
-                return this.ReportDefinition.Sections[5];
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section4 {
-            get {
-                return this.ReportDefinition.Sections[6];
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public CrystalDecisions.CrystalReports.Engine.Section Section5 {
-            get {
-                return this.ReportDefinition.Sections[7];
-            }
-        }
-    }
-    
-    [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
-    public class CachedcrPatientApptDisplay : Component, ICachedReport {
-        
-        public CachedcrPatientApptDisplay() {
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public virtual bool IsCacheable {
-            get {
-                return true;
-            }
-            set {
-                // 
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public virtual bool ShareDBLogonInfo {
-            get {
-                return false;
-            }
-            set {
-                // 
-            }
-        }
-        
-        [Browsable(false)]
-        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
-        public virtual System.TimeSpan CacheTimeOut {
-            get {
-                return CachedReportConstants.DEFAULT_TIMEOUT;
-            }
-            set {
-                // 
-            }
-        }
-        
-        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
-            crPatientApptDisplay rpt = new crPatientApptDisplay();
-            rpt.Site = this.Site;
-            return rpt;
-        }
-        
-        public virtual string GetCustomizedCacheKey(RequestContext request) {
-            String key = null;
-            // // The following is the code used to generate the default
-            // // cache key for caching report jobs in the ASP.NET Cache.
-            // // Feel free to modify this code to suit your needs.
-            // // Returning key == null causes the default cache key to
-            // // be generated.
-            // 
-            // key = RequestContext.BuildCompleteCacheKey(
-            //     request,
-            //     null,       // sReportFilename
-            //     this.GetType(),
-            //     this.ShareDBLogonInfo );
-            return key;
-        }
-    }
-}
