Removal of Crystal Reports
Partial Rework of Clinic Patient List report Other reports that used Crystal don't work yet. Fixes for Strongly typed DataTables (change the RESOURCEID from uint to int) to support table merge from untyped table. Support for command line arguments: /s= for server /p= for port /a= for access code /v= for verify code Only the following combinations work: none; /s and /p; /s, /p, /a, /v
This commit is contained in:
parent
67492a320c
commit
fdee4b85c0
|
@ -10,6 +10,7 @@ using System.Threading;
|
|||
using System.IO;
|
||||
using IndianHealthService.BMXNet;
|
||||
using System.Configuration;
|
||||
using Mono.Options;
|
||||
|
||||
namespace IndianHealthService.ClinicalScheduling
|
||||
{
|
||||
|
@ -27,6 +28,10 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
private bool m_bSchedManager;
|
||||
private bool m_bExitOK = true;
|
||||
public string m_sHandle = "0";
|
||||
private string m_AccessCode="";
|
||||
private string m_VerifyCode="";
|
||||
private string m_Server="";
|
||||
private int m_Port=0;
|
||||
|
||||
//M Connection member variables
|
||||
private DataSet m_dsGlobal = null;
|
||||
|
@ -250,9 +255,16 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
}
|
||||
else
|
||||
{
|
||||
//Use autologin
|
||||
_current.m_ConnectInfo.LoadConnectInfo();
|
||||
}
|
||||
if (m_Server != String.Empty && m_Port != 0 && m_AccessCode != String.Empty
|
||||
&& m_VerifyCode != String.Empty)
|
||||
m_ConnectInfo.LoadConnectInfo(m_Server, m_Port, m_AccessCode, m_VerifyCode);
|
||||
|
||||
else if (m_Server != String.Empty && m_Port != 0)
|
||||
m_ConnectInfo.LoadConnectInfo(m_Server, m_Port);
|
||||
|
||||
else
|
||||
m_ConnectInfo.LoadConnectInfo();
|
||||
}
|
||||
bRetry = false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
@ -291,7 +303,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
//decimal fBuild = Convert.ToDecimal(sBuild);
|
||||
|
||||
//Set application context
|
||||
m_ds.SetStatus("Setting Application Context...");
|
||||
m_ds.SetStatus("Setting Application Context to BSDXRPC...");
|
||||
m_ds.Refresh();
|
||||
m_ConnectInfo.AppContext = "BSDXRPC";
|
||||
|
||||
|
@ -334,13 +346,22 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
}
|
||||
}
|
||||
|
||||
[STAThread()] static void Main()
|
||||
[STAThread()] static void Main(string[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
//Store the current manager
|
||||
//Store the current manager
|
||||
_current = new CGDocumentManager();
|
||||
|
||||
var opset = new OptionSet () {
|
||||
{ "s=", s => _current.m_Server = s },
|
||||
{ "p=", p => _current.m_Port = int.Parse(p) },
|
||||
{ "a=", a => _current.m_AccessCode = a },
|
||||
{ "v=", v => _current.m_VerifyCode = v }
|
||||
};
|
||||
|
||||
opset.Parse(args);
|
||||
|
||||
try
|
||||
{
|
||||
_current.InitializeApp();
|
||||
|
|
|
@ -375,6 +375,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
// mnuPrintClinicSchedules
|
||||
//
|
||||
this.mnuPrintClinicSchedules.Index = 9;
|
||||
this.mnuPrintClinicSchedules.Shortcut = System.Windows.Forms.Shortcut.CtrlP;
|
||||
this.mnuPrintClinicSchedules.Text = "&Print Clinic Schedules";
|
||||
this.mnuPrintClinicSchedules.Click += new System.EventHandler(this.mnuPrintClinicSchedules_Click);
|
||||
//
|
||||
|
@ -2370,50 +2371,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
|
||||
}
|
||||
|
||||
private void PrintPatientLetter()
|
||||
{
|
||||
//Prompt for patient and
|
||||
//Print letter for individual patient
|
||||
try
|
||||
{
|
||||
//Display a dialog to collect Patient Name
|
||||
DPatientLookup dPat = new DPatientLookup();
|
||||
dPat.DocManager = m_DocManager;
|
||||
if (dPat.ShowDialog(this) == DialogResult.Cancel)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Assert(dPat.PatientIEN != "");
|
||||
int nPatientID = Convert.ToInt32(dPat.PatientIEN);
|
||||
PrintPatientLetter(nPatientID);
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
}
|
||||
}
|
||||
|
||||
private void PrintPatientLetter(int PatientID)
|
||||
{
|
||||
//Print letter for individual patient
|
||||
try
|
||||
{
|
||||
DPatientLetter dPa = new DPatientLetter();
|
||||
dPa.InitializeForm(DocManager, PatientID);
|
||||
|
||||
if (dPa.ShowDialog(this) != DialogResult.Cancel)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Methods
|
||||
|
||||
#region Events
|
||||
|
@ -3019,7 +2976,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
|
||||
private void mnuPrintPatientLetter_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
PrintPatientLetter();
|
||||
ViewPatientAppointments();
|
||||
}
|
||||
|
||||
private void mnuRPMSDivision_Click(object sender, System.EventArgs e)
|
||||
|
|
|
@ -109,24 +109,6 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\Release\BMXNet20.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304">
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304">
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
|
@ -228,30 +210,6 @@
|
|||
<Compile Include="CGView.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="crAppointmentList.cs">
|
||||
<DependentUpon>crAppointmentList.rpt</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Include="crCancelLetter.cs">
|
||||
<DependentUpon>crCancelLetter.rpt</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Include="crPatientLetter.cs">
|
||||
<DependentUpon>crPatientLetter.rpt</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Include="crRebookLetter.cs">
|
||||
<DependentUpon>crRebookLetter.rpt</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Include="DAccessBlock.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
@ -326,11 +284,17 @@
|
|||
<Compile Include="DSplash.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dsRebookAppts.cs">
|
||||
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dsRebookAppts.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Options.cs" />
|
||||
<Compile Include="Printing.cs" />
|
||||
<Compile Include="UCPatientAppts.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
|
@ -349,22 +313,6 @@
|
|||
<DependentUpon>CGView.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="crAppointmentList.rpt">
|
||||
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
|
||||
<LastGenOutput>crAppointmentList.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="crCancelLetter.rpt">
|
||||
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
|
||||
<LastGenOutput>crCancelLetter.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="crPatientLetter.rpt">
|
||||
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
|
||||
<LastGenOutput>crPatientLetter.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="crRebookLetter.rpt">
|
||||
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
|
||||
<LastGenOutput>crRebookLetter.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="DAccessGroup.resx">
|
||||
<DependentUpon>DAccessGroup.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
<RemoteDebugMachine>
|
||||
</RemoteDebugMachine>
|
||||
<StartAction>Project</StartAction>
|
||||
<StartArguments>http://homedev.ihs.gov/otherprgms/clinicalscheduling/ClinicalScheduling.exe</StartArguments>
|
||||
<StartArguments>
|
||||
</StartArguments>
|
||||
<StartPage>
|
||||
</StartPage>
|
||||
<StartProgram>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\IEExec.exe</StartProgram>
|
||||
|
|
Binary file not shown.
|
@ -52,7 +52,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.TextBox txtHRN;
|
||||
private System.Windows.Forms.Button cmdPrintLetter;
|
||||
private GroupBox groupBox4;
|
||||
private BindingSource dsPatientApptDisplay2BindingSource;
|
||||
private dsPatientApptDisplay2 dsPatientApptDisplay2;
|
||||
|
@ -74,6 +73,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.components = new System.ComponentModel.Container();
|
||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||
this.tabAppointment = new System.Windows.Forms.TabPage();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.lblClinic = new System.Windows.Forms.Label();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
|
@ -107,10 +107,8 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.txtStreet = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.cmdPrintLetter = 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();
|
||||
|
@ -148,6 +146,15 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.tabAppointment.TabIndex = 1;
|
||||
this.tabAppointment.Text = "Appointment";
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
|
@ -455,7 +462,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.cmdPrintLetter);
|
||||
this.panel1.Controls.Add(this.cmdCancel);
|
||||
this.panel1.Controls.Add(this.cmdOK);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
|
@ -464,16 +470,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.panel1.Size = new System.Drawing.Size(471, 40);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// cmdPrintLetter
|
||||
//
|
||||
this.cmdPrintLetter.CausesValidation = false;
|
||||
this.cmdPrintLetter.Location = new System.Drawing.Point(12, 9);
|
||||
this.cmdPrintLetter.Name = "cmdPrintLetter";
|
||||
this.cmdPrintLetter.Size = new System.Drawing.Size(68, 24);
|
||||
this.cmdPrintLetter.TabIndex = 3;
|
||||
this.cmdPrintLetter.Text = "Print Letter";
|
||||
this.cmdPrintLetter.Click += new System.EventHandler(this.cmdPrintLetter_Click);
|
||||
//
|
||||
// cmdCancel
|
||||
//
|
||||
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
|
@ -493,15 +489,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.cmdOK.Text = "OK";
|
||||
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";
|
||||
|
@ -529,7 +516,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.Name = "DAppointPage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Patient Appointment";
|
||||
this.Load += new System.EventHandler(this.DAppointPage_Load);
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabAppointment.ResumeLayout(false);
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
|
@ -673,70 +659,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
base.Dispose( disposing );
|
||||
}
|
||||
|
||||
private void cmdViewAppointments_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
Debug.Assert(m_sPatientIEN != "");
|
||||
int nPatientID = Convert.ToInt32(m_sPatientIEN);
|
||||
ViewPatientAppointments(nPatientID);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
}
|
||||
}
|
||||
|
||||
public void ViewPatientAppointments(int PatientID)
|
||||
{
|
||||
DPatientApptDisplay dPa = new DPatientApptDisplay();
|
||||
|
||||
dPa.InitializeForm(this.DocManager, PatientID);
|
||||
|
||||
if (dPa.ShowDialog(this) != DialogResult.Cancel)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void cmdPrintLetter_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
Debug.Assert(m_sPatientIEN != "");
|
||||
int nPatientID = Convert.ToInt32(m_sPatientIEN);
|
||||
PrintPatientLetter(nPatientID);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
}
|
||||
}
|
||||
|
||||
private void PrintPatientLetter(int PatientID)
|
||||
{
|
||||
//Print letter for individual patient
|
||||
try
|
||||
{
|
||||
DPatientLetter dPa = new DPatientLetter();
|
||||
dPa.InitializeForm(DocManager, PatientID);
|
||||
|
||||
if (dPa.ShowDialog(this) != DialogResult.Cancel)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
private void DAppointPage_Load(object sender, System.EventArgs e)
|
||||
{
|
||||
cmdPrintLetter.Enabled = !(m_dStartTime < DateTime.Today);
|
||||
}
|
||||
|
||||
#endregion //Methods
|
||||
|
||||
|
|
|
@ -123,12 +123,6 @@
|
|||
<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>
|
||||
|
|
|
@ -1,77 +1,29 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Data;
|
||||
using CrystalDecisions.Windows;
|
||||
using CrystalDecisions.Shared;
|
||||
using CrystalDecisions.CrystalReports.Engine;
|
||||
using IndianHealthService.BMXNet;
|
||||
using System.Drawing.Printing;
|
||||
using System.Drawing;
|
||||
|
||||
namespace IndianHealthService.ClinicalScheduling
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for DPatientLetter.
|
||||
/// </summary>
|
||||
public class DPatientLetter : System.Windows.Forms.Form
|
||||
{
|
||||
private CrystalDecisions.Windows.Forms.CrystalReportViewer crViewer1;
|
||||
public class DPatientLetter : System.Windows.Forms.PrintPreviewDialog
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.Container components = null;
|
||||
private System.ComponentModel.Container components = null;
|
||||
private System.Drawing.Printing.PrintDocument printDocument1;
|
||||
|
||||
#region Fields
|
||||
|
||||
private string m_sBodyText;
|
||||
DateTime _dtBegin, _dtEnd; //global fields to use in passing to printing method
|
||||
int _currentResourcePrinting = 0;
|
||||
int _currentApptPrinting = 0;
|
||||
dsPatientApptDisplay2 _ds;
|
||||
#endregion Fields
|
||||
|
||||
#region Properties
|
||||
|
||||
public string BodyText
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_sBodyText;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_sBodyText = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Properties
|
||||
|
||||
public void InitializeForm(CGDocumentManager docManager, int nPatientID)
|
||||
{
|
||||
try
|
||||
{
|
||||
crViewer1.DisplayGroupTree = true;
|
||||
|
||||
ClinicalScheduling.crPatientLetter cr = new crPatientLetter();
|
||||
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());
|
||||
|
||||
System.Data.DataTable dt =
|
||||
docManager.GlobalDataSet.Tables["Resources"].Copy();
|
||||
ds.Tables.Add(dt);
|
||||
|
||||
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
|
||||
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
|
||||
|
||||
crViewer1.SelectionFormula = "{PatientAppts.ApptDate} >= CurrentDate";
|
||||
this.crViewer1.ReportSource = cr;
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
public void InitializeFormClinicSchedule(CGDocumentManager docManager,
|
||||
string sClinicList,
|
||||
DateTime dtBegin,
|
||||
|
@ -83,19 +35,19 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
{
|
||||
throw new Exception("At least one clinic must be selected.");
|
||||
}
|
||||
_dtBegin = dtBegin;
|
||||
_dtEnd = dtEnd;
|
||||
string sBegin = dtBegin.ToShortDateString();
|
||||
string sEnd = dtEnd.ToShortDateString();
|
||||
crViewer1.DisplayGroupTree = true;
|
||||
this.Text="Clinic Schedules";
|
||||
|
||||
ClinicalScheduling.crAppointmentList cr = new crAppointmentList();
|
||||
string sSql = "BSDX CLINIC LETTERS^" + sClinicList + "^" + sBegin + "^" + sEnd;
|
||||
string sSql2 = "BSDX RESOURCE LETTERS^" + sClinicList;
|
||||
|
||||
DataTable dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
|
||||
cr.Database.Tables["PatientAppts"].SetDataSource(dtAppt);
|
||||
|
||||
this.crViewer1.ReportSource = cr;
|
||||
}
|
||||
_ds = new dsPatientApptDisplay2();
|
||||
_ds.BSDXResource.Merge(docManager.RPMSDataTable(sSql2, "Resources"));
|
||||
_ds.PatientAppts.Merge(docManager.RPMSDataTable(sSql, "PatientAppts"));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
|
@ -112,9 +64,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
{
|
||||
throw new Exception("At least one clinic must be selected.");
|
||||
}
|
||||
crViewer1.DisplayGroupTree = true;
|
||||
|
||||
ClinicalScheduling.crRebookLetter cr = new crRebookLetter();
|
||||
|
||||
System.Data.DataSet ds = new System.Data.DataSet();
|
||||
ds.Tables.Add(dtLetters.Copy());
|
||||
|
@ -122,12 +71,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
string sSql = "BSDX RESOURCE LETTERS^" + sClinicList;
|
||||
DataTable dt = docManager.RPMSDataTable(sSql, "Resources");
|
||||
ds.Tables.Add(dt.Copy());
|
||||
|
||||
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
|
||||
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
|
||||
|
||||
this.crViewer1.ReportSource = cr;
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -145,9 +88,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
{
|
||||
throw new Exception("At least one clinic must be selected.");
|
||||
}
|
||||
crViewer1.DisplayGroupTree = true;
|
||||
|
||||
ClinicalScheduling.crCancelLetter cr = new crCancelLetter();
|
||||
|
||||
System.Data.DataSet ds = new System.Data.DataSet();
|
||||
ds.Tables.Add(dtLetters.Copy());
|
||||
|
@ -156,11 +96,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
DataTable dt = docManager.RPMSDataTable(sSql, "Resources");
|
||||
ds.Tables.Add(dt.Copy());
|
||||
|
||||
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
|
||||
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
|
||||
|
||||
this.crViewer1.ReportSource = cr;
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -182,9 +117,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
|
||||
string sBegin = dtBegin.ToShortDateString();
|
||||
string sEnd = dtEnd.ToShortDateString();
|
||||
crViewer1.DisplayGroupTree = true;
|
||||
|
||||
ClinicalScheduling.crPatientLetter cr = new crPatientLetter();
|
||||
string sSql = "BSDX CLINIC LETTERS^" + sClinicList + "^" + sBegin + "^" + sEnd;
|
||||
|
||||
System.Data.DataSet ds = new System.Data.DataSet();
|
||||
|
@ -195,11 +128,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
DataTable dt = docManager.RPMSDataTable(sSql, "Resources");
|
||||
ds.Tables.Add(dt.Copy());
|
||||
|
||||
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
|
||||
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
|
||||
|
||||
this.crViewer1.ReportSource = cr;
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -242,30 +170,44 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.crViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// 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(648, 398);
|
||||
this.crViewer1.TabIndex = 0;
|
||||
//
|
||||
// DPatientLetter
|
||||
//
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||
this.ClientSize = new System.Drawing.Size(648, 398);
|
||||
this.Controls.Add(this.crViewer1);
|
||||
this.Name = "DPatientLetter";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Patient Letter";
|
||||
this.ResumeLayout(false);
|
||||
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// printDocument1
|
||||
//
|
||||
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
|
||||
//
|
||||
// DPatientLetter
|
||||
//
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||
this.ClientSize = new System.Drawing.Size(648, 398);
|
||||
this.Document = this.printDocument1;
|
||||
this.Name = "DPatientLetter";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Patient Letter";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
|
||||
{
|
||||
// _currentResourcePrinting starts with zero. There will be at least this one.
|
||||
ClinicalScheduling.Printing.PrintAppointments(_ds, e, _dtBegin, _dtEnd,
|
||||
_currentResourcePrinting, ref _currentApptPrinting);
|
||||
|
||||
//If the printing routine says it needs more pages to print the appointments,
|
||||
//return here and have it print again.
|
||||
if (e.HasMorePages == true) return;
|
||||
|
||||
// if there are more resouces to print, increment. Setting HasMorePages to true
|
||||
// calls this routine again, so printing will happen with the incremented _currentResourcePrinting
|
||||
if (_currentResourcePrinting < _ds.BSDXResource.Rows.Count - 1)
|
||||
{
|
||||
_currentResourcePrinting++;
|
||||
e.HasMorePages = true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 1.3
|
||||
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
|
||||
|
@ -14,16 +14,17 @@
|
|||
|
||||
... 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>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
@ -35,7 +36,7 @@
|
|||
Classes that don't support this are serialized and stored with the
|
||||
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:
|
||||
|
||||
|
@ -45,7 +46,7 @@
|
|||
|
||||
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.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
|
@ -59,18 +60,37 @@
|
|||
: 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" 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>
|
||||
<xsd:element name="resheader">
|
||||
|
@ -89,51 +109,15 @@
|
|||
<value>text/microsoft-resx</value>
|
||||
</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="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.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.Name">
|
||||
<value>DPatientLetter</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>
|
||||
<metadata name="printDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>116, 17</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -8,8 +8,19 @@ using System.Data;
|
|||
namespace IndianHealthService.ClinicalScheduling
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for DSelectLetterClinics.
|
||||
/// Use this dialog to select resources and dates (begin and end) for their examination.
|
||||
/// <example>
|
||||
/// DSelectLetterClinics ds = new DSelectLetterClinics();
|
||||
/// ds.InitializePage(this.m_DocManager.GlobalDataSet, "Print Clinic Cancellation Letters");
|
||||
/// ds.ShowDialog(this)
|
||||
///
|
||||
/// //get the resource names and call the letter printer
|
||||
/// string sClinics = ds.SelectedClinics;
|
||||
/// DateTime dtBegin = ds.BeginDate;
|
||||
/// DateTime dtEnd = ds.EndDate;
|
||||
/// </example>
|
||||
/// </summary>
|
||||
///
|
||||
public class DSelectLetterClinics : System.Windows.Forms.Form
|
||||
{
|
||||
private System.Windows.Forms.Button cmdCancel;
|
||||
|
@ -30,9 +41,14 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
private System.Windows.Forms.CheckBox chkSelectAll;
|
||||
private System.ComponentModel.Container components = null;
|
||||
|
||||
public DSelectLetterClinics()
|
||||
/// <summary>
|
||||
/// Ctor; also sets default enter and cancel buttons
|
||||
/// </summary>
|
||||
public DSelectLetterClinics()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.AcceptButton = cmdOK;
|
||||
this.CancelButton = cmdCancel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,79 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Drawing.Printing;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
||||
namespace IndianHealthService.ClinicalScheduling
|
||||
{
|
||||
/// <summary>
|
||||
/// Class that encapsulates printing functions in Clinical Scheduling
|
||||
/// </summary>
|
||||
public static class Printing
|
||||
{
|
||||
/// <summary>
|
||||
/// Print Appointments
|
||||
/// </summary>
|
||||
/// <param name="ds">Strongly Typed DataSet contains Resources and Appointments</param>
|
||||
/// <param name="e">PrintPageEventArgs from PrintDocument Print handler</param>
|
||||
/// <param name="beg">Begin Datetime to print appointments</param>
|
||||
/// <param name="end">End Datetime to print appointments</param>
|
||||
/// <remarks>beg and end have no effect on operation--they are there for documentation for user only</remarks>
|
||||
public static void PrintAppointments(dsPatientApptDisplay2 ds, PrintPageEventArgs e, DateTime beg, DateTime end,
|
||||
int resourceToPrint, ref int apptPrinted)
|
||||
{
|
||||
Graphics g = e.Graphics;
|
||||
//g.PageUnit = GraphicsUnit.Millimeter;
|
||||
//SizeF szVCB = g.VisibleClipBounds.Size;
|
||||
//PointF[] ptszVCB = {new PointF(szVCB.Width,szVCB.Height)};
|
||||
//g.TransformPoints(CoordinateSpace.Page, CoordinateSpace.Device, ptszVCB);
|
||||
//Create Fonts
|
||||
Font f8 = new Font(FontFamily.GenericSerif, 8);
|
||||
Font f10 = new Font(FontFamily.GenericSerif, 10);
|
||||
Font f14bold = new Font(FontFamily.GenericSerif, 14, FontStyle.Bold);
|
||||
|
||||
//Center Alignment for some stuff
|
||||
StringFormat sf = new StringFormat();
|
||||
sf.Alignment = StringAlignment.Center;
|
||||
|
||||
g.DrawString("Confidential Patient Information", f8, Brushes.Black, e.PageBounds, sf);
|
||||
|
||||
//Typical manipulable print area
|
||||
Rectangle printArea = e.MarginBounds;
|
||||
|
||||
dsPatientApptDisplay2.BSDXResourceRow r = ds.BSDXResource[resourceToPrint];
|
||||
|
||||
string toprint;
|
||||
if (beg == end) toprint = "Appointments for " + r.RESOURCE_NAME + " on " + beg.ToLongDateString();
|
||||
else toprint = "Appointments for " + r.RESOURCE_NAME + " from " + beg.ToShortDateString() + " to "
|
||||
+ end.ToShortDateString();
|
||||
g.DrawString(toprint, f14bold, Brushes.Black, printArea);
|
||||
|
||||
printArea.Y += (int)f14bold.GetHeight();
|
||||
g.DrawLine(new Pen(Brushes.Black, 0), printArea.X, printArea.Y, printArea.X + printArea.Width, printArea.Y);
|
||||
printArea.Y += 5;
|
||||
|
||||
System.Data.DataRow[] appts = r.GetChildRows(ds.Relations[0]); //only one relation
|
||||
|
||||
toprint = "";
|
||||
StringFormat sf2 = new StringFormat();
|
||||
sf2.SetTabStops(50, new float[] { 100, 200, 200 });
|
||||
|
||||
foreach (dsPatientApptDisplay2.PatientApptsRow a in appts)
|
||||
{
|
||||
toprint += a.ApptDate.ToString() + "\t" + a.Name +"(" + a.Sex + ")" + "\t" + "DOB: " + a.DOB.ToString("dd-MMM-yyyy") + "\t" + "ID: " + a.HRN;
|
||||
toprint += "\n";
|
||||
toprint += "Home Phone: " + a.HOMEPHONE + "\t" + "Address: " + a.STREET + ", " + a.CITY + ", " + a.STATE + " " + a.ZIP;
|
||||
toprint += "\n";
|
||||
toprint += "Note: " + a.NOTE;
|
||||
toprint += "\n";
|
||||
toprint += "Appointment made by " + a.APPT_MADE_BY + " on " + a.DATE_APPT_MADE;
|
||||
toprint += "\n\n";
|
||||
}
|
||||
g.DrawString(toprint, f10, Brushes.Black, printArea, sf2);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -499,6 +499,21 @@
|
|||
Accesses the document associated with this view
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:IndianHealthService.ClinicalScheduling.Printing">
|
||||
<summary>
|
||||
Class that encapsulates printing functions in Clinical Scheduling
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:IndianHealthService.ClinicalScheduling.Printing.PrintAppointments(IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2,System.Drawing.Printing.PrintPageEventArgs,System.DateTime,System.DateTime,System.Int32,System.Int32@)">
|
||||
<summary>
|
||||
Print Appointments
|
||||
</summary>
|
||||
<param name="ds">Strongly Typed DataSet contains Resources and Appointments</param>
|
||||
<param name="e">PrintPageEventArgs from PrintDocument Print handler</param>
|
||||
<param name="beg">Begin Datetime to print appointments</param>
|
||||
<param name="end">End Datetime to print appointments</param>
|
||||
<remarks>beg and end have no effect on operation--they are there for documentation for user only</remarks>
|
||||
</member>
|
||||
<member name="T:IndianHealthService.ClinicalScheduling.DResourceGroupItem">
|
||||
<summary>
|
||||
Summary description for DResourceGroup.
|
||||
|
@ -675,8 +690,24 @@
|
|||
<param name="ShowPastAppts">boolean - self explanatory</param>
|
||||
</member>
|
||||
<member name="T:IndianHealthService.ClinicalScheduling.DSelectLetterClinics">
|
||||
<summary>
|
||||
Use this dialog to select resources and dates (begin and end) for their examination.
|
||||
<example>
|
||||
DSelectLetterClinics ds = new DSelectLetterClinics();
|
||||
ds.InitializePage(this.m_DocManager.GlobalDataSet, "Print Clinic Cancellation Letters");
|
||||
ds.ShowDialog(this)
|
||||
|
||||
//get the resource names and call the letter printer
|
||||
string sClinics = ds.SelectedClinics;
|
||||
DateTime dtBegin = ds.BeginDate;
|
||||
DateTime dtEnd = ds.EndDate;
|
||||
</example>
|
||||
</summary>
|
||||
|
||||
</member>
|
||||
<member name="M:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.#ctor">
|
||||
<summary>
|
||||
Summary description for DSelectLetterClinics.
|
||||
Ctor; also sets default enter and cancel buttons
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:IndianHealthService.ClinicalScheduling.DSelectLetterClinics.Dispose(System.Boolean)">
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,167 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.832
|
||||
//
|
||||
// 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 crAppointmentList : ReportClass {
|
||||
|
||||
public crAppointmentList() {
|
||||
}
|
||||
|
||||
public override string ResourceName {
|
||||
get {
|
||||
return "crAppointmentList.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 Section9 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[5];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[6];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[7];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[8];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
|
||||
public class CachedcrAppointmentList : Component, ICachedReport {
|
||||
|
||||
public CachedcrAppointmentList() {
|
||||
}
|
||||
|
||||
[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() {
|
||||
crAppointmentList rpt = new crAppointmentList();
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -1,167 +0,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 crCancelLetter : ReportClass {
|
||||
|
||||
public crCancelLetter() {
|
||||
}
|
||||
|
||||
public override string ResourceName {
|
||||
get {
|
||||
return "crCancelLetter.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 Section3 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[2];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[3];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section SectionBody {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[4];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[5];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[6];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[7];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[8];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
|
||||
public class CachedcrCancelLetter : Component, ICachedReport {
|
||||
|
||||
public CachedcrCancelLetter() {
|
||||
}
|
||||
|
||||
[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() {
|
||||
crCancelLetter rpt = new crCancelLetter();
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -1,167 +0,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 crPatientLetter : ReportClass {
|
||||
|
||||
public crPatientLetter() {
|
||||
}
|
||||
|
||||
public override string ResourceName {
|
||||
get {
|
||||
return "crPatientLetter.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 Section3 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[2];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[3];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section SectionBody {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[4];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[5];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[6];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[7];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[8];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
|
||||
public class CachedcrPatientLetter : Component, ICachedReport {
|
||||
|
||||
public CachedcrPatientLetter() {
|
||||
}
|
||||
|
||||
[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() {
|
||||
crPatientLetter rpt = new crPatientLetter();
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -1,167 +0,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 crRebookLetter : ReportClass {
|
||||
|
||||
public crRebookLetter() {
|
||||
}
|
||||
|
||||
public override string ResourceName {
|
||||
get {
|
||||
return "crRebookLetter.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 Section3 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[2];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[3];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section SectionBody {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[4];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[5];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[6];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[7];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[8];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
|
||||
public class CachedcrRebookLetter : Component, ICachedReport {
|
||||
|
||||
public CachedcrRebookLetter() {
|
||||
}
|
||||
|
||||
[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() {
|
||||
crRebookLetter rpt = new crRebookLetter();
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3053
|
||||
// Runtime Version:2.0.50727.3603
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -29,7 +29,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
|
||||
private BSDXResourceDataTable tableBSDXResource;
|
||||
|
||||
private global::System.Data.DataRelation relationBSDXResourcePatientAppts;
|
||||
private global::System.Data.DataRelation relationFK_BSDXResource_PatientAppts;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
|
||||
|
@ -206,7 +206,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
this.tableBSDXResource.InitVars();
|
||||
}
|
||||
}
|
||||
this.relationBSDXResourcePatientAppts = this.Relations["BSDXResourcePatientAppts"];
|
||||
this.relationFK_BSDXResource_PatientAppts = this.Relations["FK_BSDXResource_PatientAppts"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
|
@ -221,17 +221,17 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
this.tableBSDXResource = new BSDXResourceDataTable();
|
||||
base.Tables.Add(this.tableBSDXResource);
|
||||
global::System.Data.ForeignKeyConstraint fkc;
|
||||
fkc = new global::System.Data.ForeignKeyConstraint("BSDXResourcePatientAppts", new global::System.Data.DataColumn[] {
|
||||
fkc = new global::System.Data.ForeignKeyConstraint("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] {
|
||||
this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
|
||||
this.tablePatientAppts.RESOURCEIDColumn});
|
||||
this.tablePatientAppts.Constraints.Add(fkc);
|
||||
fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
|
||||
fkc.DeleteRule = global::System.Data.Rule.Cascade;
|
||||
fkc.UpdateRule = global::System.Data.Rule.Cascade;
|
||||
this.relationBSDXResourcePatientAppts = new global::System.Data.DataRelation("BSDXResourcePatientAppts", new global::System.Data.DataColumn[] {
|
||||
this.relationFK_BSDXResource_PatientAppts = new global::System.Data.DataRelation("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] {
|
||||
this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
|
||||
this.tablePatientAppts.RESOURCEIDColumn}, false);
|
||||
this.Relations.Add(this.relationBSDXResourcePatientAppts);
|
||||
this.Relations.Add(this.relationFK_BSDXResource_PatientAppts);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
|
@ -520,7 +520,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
System.DateTime ApptDate,
|
||||
string Clinic,
|
||||
string TypeStatus,
|
||||
BSDXResourceRow parentBSDXResourceRowByBSDXResourcePatientAppts,
|
||||
BSDXResourceRow parentBSDXResourceRowByFK_BSDXResource_PatientAppts,
|
||||
string APPT_MADE_BY,
|
||||
System.DateTime DATE_APPT_MADE,
|
||||
string NOTE,
|
||||
|
@ -547,8 +547,8 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
STATE,
|
||||
ZIP,
|
||||
HOMEPHONE};
|
||||
if ((parentBSDXResourceRowByBSDXResourcePatientAppts != null)) {
|
||||
columnValuesArray[7] = parentBSDXResourceRowByBSDXResourcePatientAppts[0];
|
||||
if ((parentBSDXResourceRowByFK_BSDXResource_PatientAppts != null)) {
|
||||
columnValuesArray[7] = parentBSDXResourceRowByFK_BSDXResource_PatientAppts[0];
|
||||
}
|
||||
rowPatientApptsRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowPatientApptsRow);
|
||||
|
@ -603,7 +603,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
base.Columns.Add(this.columnClinic);
|
||||
this.columnTypeStatus = new global::System.Data.DataColumn("TypeStatus", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnTypeStatus);
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(uint), null, global::System.Data.MappingType.Element);
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRESOURCEID);
|
||||
this.columnAPPT_MADE_BY = new global::System.Data.DataColumn("APPT_MADE_BY", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnAPPT_MADE_BY);
|
||||
|
@ -832,7 +832,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public BSDXResourceRow AddBSDXResourceRow(uint RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT) {
|
||||
public BSDXResourceRow AddBSDXResourceRow(int RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT) {
|
||||
BSDXResourceRow rowBSDXResourceRow = ((BSDXResourceRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
RESOURCEID,
|
||||
|
@ -864,7 +864,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitClass() {
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(uint), null, global::System.Data.MappingType.Element);
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRESOURCEID);
|
||||
this.columnRESOURCE_NAME = new global::System.Data.DataColumn("RESOURCE_NAME", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRESOURCE_NAME);
|
||||
|
@ -1111,10 +1111,10 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public uint RESOURCEID {
|
||||
public int RESOURCEID {
|
||||
get {
|
||||
try {
|
||||
return ((uint)(this[this.tablePatientAppts.RESOURCEIDColumn]));
|
||||
return ((int)(this[this.tablePatientAppts.RESOURCEIDColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'RESOURCEID\' in table \'PatientAppts\' is DBNull.", e);
|
||||
|
@ -1248,10 +1248,10 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public BSDXResourceRow BSDXResourceRow {
|
||||
get {
|
||||
return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations["BSDXResourcePatientAppts"])));
|
||||
return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations["FK_BSDXResource_PatientAppts"])));
|
||||
}
|
||||
set {
|
||||
this.SetParentRow(value, this.Table.ParentRelations["BSDXResourcePatientAppts"]);
|
||||
this.SetParentRow(value, this.Table.ParentRelations["FK_BSDXResource_PatientAppts"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1431,9 +1431,9 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public uint RESOURCEID {
|
||||
public int RESOURCEID {
|
||||
get {
|
||||
return ((uint)(this[this.tableBSDXResource.RESOURCEIDColumn]));
|
||||
return ((int)(this[this.tableBSDXResource.RESOURCEIDColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableBSDXResource.RESOURCEIDColumn] = value;
|
||||
|
@ -1492,11 +1492,11 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public PatientApptsRow[] GetPatientApptsRows() {
|
||||
if ((this.Table.ChildRelations["BSDXResourcePatientAppts"] == null)) {
|
||||
if ((this.Table.ChildRelations["FK_BSDXResource_PatientAppts"] == null)) {
|
||||
return new PatientApptsRow[0];
|
||||
}
|
||||
else {
|
||||
return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["BSDXResourcePatientAppts"])));
|
||||
return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_BSDXResource_PatientAppts"])));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,9 @@
|
|||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TableUISettings />
|
||||
</DataSetUISetting>
|
|
@ -1,51 +1,57 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<xs:schema id="dsPatientApptDisplay2" targetNamespace="http://tempuri.org/dsPatientApptDisplay2.xsd"
|
||||
elementFormDefault="qualified" attributeFormDefault="qualified" xmlns="http://tempuri.org/dsPatientApptDisplay2.xsd"
|
||||
xmlns:mstns="http://tempuri.org/dsPatientApptDisplay2.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xs:element name="dsPatientApptDisplay2" msdata:IsDataSet="true">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:element name="PatientAppts">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DOB" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Sex" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HRN" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="ApptDate" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Clinic" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="TypeStatus" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="RESOURCEID" type="xs:unsignedInt" minOccurs="0" />
|
||||
<xs:element name="APPT_MADE_BY" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DATE_APPT_MADE" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="NOTE" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STREET" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="CITY" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STATE" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="ZIP" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HOMEPHONE" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="BSDXResource">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="RESOURCEID" type="xs:unsignedInt" minOccurs="0" />
|
||||
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="LETTER_TEXT" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:key name="kBSDXResourceID">
|
||||
<xs:selector xpath=".//mstns:BSDXResource" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:key>
|
||||
<xs:keyref name="BSDXResourcePatientAppts" refer="kBSDXResourceID">
|
||||
<xs:selector xpath=".//mstns:PatientAppts" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema id="dsPatientApptDisplay2" targetNamespace="http://tempuri.org/dsPatientApptDisplay2.xsd" xmlns:mstns="http://tempuri.org/dsPatientApptDisplay2.xsd" xmlns="http://tempuri.org/dsPatientApptDisplay2.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:annotation>
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections />
|
||||
<Tables />
|
||||
<Sources />
|
||||
</DataSource>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element name="dsPatientApptDisplay2" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dsPatientApptDisplay2" msprop:Generator_DataSetName="dsPatientApptDisplay2">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="PatientAppts" msprop:Generator_UserTableName="PatientAppts" msprop:Generator_RowDeletedName="PatientApptsRowDeleted" msprop:Generator_TableClassName="PatientApptsDataTable" msprop:Generator_RowChangedName="PatientApptsRowChanged" msprop:Generator_RowClassName="PatientApptsRow" msprop:Generator_RowChangingName="PatientApptsRowChanging" msprop:Generator_RowEvArgName="PatientApptsRowChangeEvent" msprop:Generator_RowEvHandlerName="PatientApptsRowChangeEventHandler" msprop:Generator_TablePropName="PatientAppts" msprop:Generator_TableVarName="tablePatientAppts" msprop:Generator_RowDeletingName="PatientApptsRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DOB" msprop:Generator_UserColumnName="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Sex" msprop:Generator_UserColumnName="Sex" msprop:Generator_ColumnPropNameInRow="Sex" msprop:Generator_ColumnVarNameInTable="columnSex" msprop:Generator_ColumnPropNameInTable="SexColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HRN" msprop:Generator_UserColumnName="HRN" msprop:Generator_ColumnPropNameInRow="HRN" msprop:Generator_ColumnVarNameInTable="columnHRN" msprop:Generator_ColumnPropNameInTable="HRNColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="ApptDate" msprop:Generator_UserColumnName="ApptDate" msprop:Generator_ColumnPropNameInRow="ApptDate" msprop:Generator_ColumnVarNameInTable="columnApptDate" msprop:Generator_ColumnPropNameInTable="ApptDateColumn" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Clinic" msprop:Generator_UserColumnName="Clinic" msprop:Generator_ColumnPropNameInRow="Clinic" msprop:Generator_ColumnVarNameInTable="columnClinic" msprop:Generator_ColumnPropNameInTable="ClinicColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="TypeStatus" msprop:Generator_UserColumnName="TypeStatus" msprop:Generator_ColumnPropNameInRow="TypeStatus" msprop:Generator_ColumnVarNameInTable="columnTypeStatus" msprop:Generator_ColumnPropNameInTable="TypeStatusColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="RESOURCEID" msprop:Generator_UserColumnName="RESOURCEID" msprop:Generator_ColumnPropNameInRow="RESOURCEID" msprop:Generator_ColumnVarNameInTable="columnRESOURCEID" msprop:Generator_ColumnPropNameInTable="RESOURCEIDColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="APPT_MADE_BY" msprop:Generator_UserColumnName="APPT_MADE_BY" msprop:Generator_ColumnPropNameInRow="APPT_MADE_BY" msprop:Generator_ColumnVarNameInTable="columnAPPT_MADE_BY" msprop:Generator_ColumnPropNameInTable="APPT_MADE_BYColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DATE_APPT_MADE" msprop:Generator_UserColumnName="DATE_APPT_MADE" msprop:Generator_ColumnPropNameInRow="DATE_APPT_MADE" msprop:Generator_ColumnVarNameInTable="columnDATE_APPT_MADE" msprop:Generator_ColumnPropNameInTable="DATE_APPT_MADEColumn" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="NOTE" msprop:Generator_UserColumnName="NOTE" msprop:Generator_ColumnPropNameInRow="NOTE" msprop:Generator_ColumnVarNameInTable="columnNOTE" msprop:Generator_ColumnPropNameInTable="NOTEColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STREET" msprop:Generator_UserColumnName="STREET" msprop:Generator_ColumnPropNameInRow="STREET" msprop:Generator_ColumnVarNameInTable="columnSTREET" msprop:Generator_ColumnPropNameInTable="STREETColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="CITY" msprop:Generator_UserColumnName="CITY" msprop:Generator_ColumnPropNameInRow="CITY" msprop:Generator_ColumnVarNameInTable="columnCITY" msprop:Generator_ColumnPropNameInTable="CITYColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STATE" msprop:Generator_UserColumnName="STATE" msprop:Generator_ColumnPropNameInRow="STATE" msprop:Generator_ColumnVarNameInTable="columnSTATE" msprop:Generator_ColumnPropNameInTable="STATEColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="ZIP" msprop:Generator_UserColumnName="ZIP" msprop:Generator_ColumnPropNameInRow="ZIP" msprop:Generator_ColumnVarNameInTable="columnZIP" msprop:Generator_ColumnPropNameInTable="ZIPColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HOMEPHONE" msprop:Generator_UserColumnName="HOMEPHONE" msprop:Generator_ColumnPropNameInRow="HOMEPHONE" msprop:Generator_ColumnVarNameInTable="columnHOMEPHONE" msprop:Generator_ColumnPropNameInTable="HOMEPHONEColumn" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="BSDXResource" msprop:Generator_UserTableName="BSDXResource" msprop:Generator_RowDeletedName="BSDXResourceRowDeleted" msprop:Generator_TableClassName="BSDXResourceDataTable" msprop:Generator_RowChangedName="BSDXResourceRowChanged" msprop:Generator_RowClassName="BSDXResourceRow" msprop:Generator_RowChangingName="BSDXResourceRowChanging" msprop:Generator_RowEvArgName="BSDXResourceRowChangeEvent" msprop:Generator_RowEvHandlerName="BSDXResourceRowChangeEventHandler" msprop:Generator_TablePropName="BSDXResource" msprop:Generator_TableVarName="tableBSDXResource" msprop:Generator_RowDeletingName="BSDXResourceRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="RESOURCEID" msprop:Generator_UserColumnName="RESOURCEID" msprop:Generator_ColumnPropNameInRow="RESOURCEID" msprop:Generator_ColumnVarNameInTable="columnRESOURCEID" msprop:Generator_ColumnPropNameInTable="RESOURCEIDColumn" type="xs:int" />
|
||||
<xs:element name="RESOURCE_NAME" msprop:Generator_UserColumnName="RESOURCE_NAME" msprop:Generator_ColumnPropNameInRow="RESOURCE_NAME" msprop:Generator_ColumnVarNameInTable="columnRESOURCE_NAME" msprop:Generator_ColumnPropNameInTable="RESOURCE_NAMEColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="LETTER_TEXT" msprop:Generator_UserColumnName="LETTER_TEXT" msprop:Generator_ColumnPropNameInRow="LETTER_TEXT" msprop:Generator_ColumnVarNameInTable="columnLETTER_TEXT" msprop:Generator_ColumnPropNameInTable="LETTER_TEXTColumn" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="kBSDXResourceID">
|
||||
<xs:selector xpath=".//mstns:BSDXResource" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:unique>
|
||||
<xs:keyref name="FK_BSDXResource_PatientAppts" refer="kBSDXResourceID" msprop:rel_Generator_UserRelationName="FK_BSDXResource_PatientAppts" msprop:rel_Generator_RelationVarName="relationFK_BSDXResource_PatientAppts" msprop:rel_Generator_UserChildTable="PatientAppts" msprop:rel_Generator_UserParentTable="BSDXResource" msprop:rel_Generator_ParentPropName="BSDXResourceRow" msprop:rel_Generator_ChildPropName="GetPatientApptsRows">
|
||||
<xs:selector xpath=".//mstns:PatientAppts" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
</xs:schema>
|
|
@ -1 +1,26 @@
|
|||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool to store the dataset designer's layout information.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:PatientAppts" ZOrder="3" X="70" Y="70" Height="231" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="227" />
|
||||
<Shape ID="DesignTable:BSDXResource" ZOrder="2" X="290" Y="70" Height="78" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="74" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_BSDXResource_PatientAppts" ZOrder="1" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>290</X>
|
||||
<Y>109</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>220</X>
|
||||
<Y>109</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
</Connectors>
|
||||
</DiagramLayout>
|
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3053
|
||||
// Runtime Version:2.0.50727.3603
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -29,7 +29,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
|
||||
private BSDXResourceDataTable tableBSDXResource;
|
||||
|
||||
private global::System.Data.DataRelation relationBSDXResourcePatientAppts;
|
||||
private global::System.Data.DataRelation relationFK_BSDXResource_PatientAppts;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
|
||||
|
@ -206,7 +206,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
this.tableBSDXResource.InitVars();
|
||||
}
|
||||
}
|
||||
this.relationBSDXResourcePatientAppts = this.Relations["BSDXResourcePatientAppts"];
|
||||
this.relationFK_BSDXResource_PatientAppts = this.Relations["FK_BSDXResource_PatientAppts"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
|
@ -221,17 +221,17 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
this.tableBSDXResource = new BSDXResourceDataTable();
|
||||
base.Tables.Add(this.tableBSDXResource);
|
||||
global::System.Data.ForeignKeyConstraint fkc;
|
||||
fkc = new global::System.Data.ForeignKeyConstraint("BSDXResourcePatientAppts", new global::System.Data.DataColumn[] {
|
||||
fkc = new global::System.Data.ForeignKeyConstraint("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] {
|
||||
this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
|
||||
this.tablePatientAppts.RESOURCEIDColumn});
|
||||
this.tablePatientAppts.Constraints.Add(fkc);
|
||||
fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
|
||||
fkc.DeleteRule = global::System.Data.Rule.Cascade;
|
||||
fkc.UpdateRule = global::System.Data.Rule.Cascade;
|
||||
this.relationBSDXResourcePatientAppts = new global::System.Data.DataRelation("BSDXResourcePatientAppts", new global::System.Data.DataColumn[] {
|
||||
this.relationFK_BSDXResource_PatientAppts = new global::System.Data.DataRelation("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] {
|
||||
this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
|
||||
this.tablePatientAppts.RESOURCEIDColumn}, false);
|
||||
this.Relations.Add(this.relationBSDXResourcePatientAppts);
|
||||
this.Relations.Add(this.relationFK_BSDXResource_PatientAppts);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
|
@ -529,7 +529,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
System.DateTime NewApptDate,
|
||||
string Clinic,
|
||||
string TypeStatus,
|
||||
BSDXResourceRow parentBSDXResourceRowByBSDXResourcePatientAppts,
|
||||
BSDXResourceRow parentBSDXResourceRowByFK_BSDXResource_PatientAppts,
|
||||
string APPT_MADE_BY,
|
||||
System.DateTime DATE_APPT_MADE,
|
||||
string NOTE,
|
||||
|
@ -558,8 +558,8 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
ZIP,
|
||||
HOMEPHONE,
|
||||
OldApptDate};
|
||||
if ((parentBSDXResourceRowByBSDXResourcePatientAppts != null)) {
|
||||
columnValuesArray[7] = parentBSDXResourceRowByBSDXResourcePatientAppts[0];
|
||||
if ((parentBSDXResourceRowByFK_BSDXResource_PatientAppts != null)) {
|
||||
columnValuesArray[7] = parentBSDXResourceRowByFK_BSDXResource_PatientAppts[0];
|
||||
}
|
||||
rowPatientApptsRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowPatientApptsRow);
|
||||
|
@ -615,7 +615,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
base.Columns.Add(this.columnClinic);
|
||||
this.columnTypeStatus = new global::System.Data.DataColumn("TypeStatus", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnTypeStatus);
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(uint), null, global::System.Data.MappingType.Element);
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRESOURCEID);
|
||||
this.columnAPPT_MADE_BY = new global::System.Data.DataColumn("APPT_MADE_BY", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnAPPT_MADE_BY);
|
||||
|
@ -864,7 +864,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public BSDXResourceRow AddBSDXResourceRow(uint RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT, string NO_SHOW_LETTER, string CLINIC_CANCELLATION_LETTER) {
|
||||
public BSDXResourceRow AddBSDXResourceRow(int RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT, string NO_SHOW_LETTER, string CLINIC_CANCELLATION_LETTER) {
|
||||
BSDXResourceRow rowBSDXResourceRow = ((BSDXResourceRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
RESOURCEID,
|
||||
|
@ -900,7 +900,7 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitClass() {
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(uint), null, global::System.Data.MappingType.Element);
|
||||
this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRESOURCEID);
|
||||
this.columnRESOURCE_NAME = new global::System.Data.DataColumn("RESOURCE_NAME", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRESOURCE_NAME);
|
||||
|
@ -1151,10 +1151,10 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public uint RESOURCEID {
|
||||
public int RESOURCEID {
|
||||
get {
|
||||
try {
|
||||
return ((uint)(this[this.tablePatientAppts.RESOURCEIDColumn]));
|
||||
return ((int)(this[this.tablePatientAppts.RESOURCEIDColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'RESOURCEID\' in table \'PatientAppts\' is DBNull.", e);
|
||||
|
@ -1303,10 +1303,10 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public BSDXResourceRow BSDXResourceRow {
|
||||
get {
|
||||
return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations["BSDXResourcePatientAppts"])));
|
||||
return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations["FK_BSDXResource_PatientAppts"])));
|
||||
}
|
||||
set {
|
||||
this.SetParentRow(value, this.Table.ParentRelations["BSDXResourcePatientAppts"]);
|
||||
this.SetParentRow(value, this.Table.ParentRelations["FK_BSDXResource_PatientAppts"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1496,9 +1496,9 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public uint RESOURCEID {
|
||||
public int RESOURCEID {
|
||||
get {
|
||||
return ((uint)(this[this.tableBSDXResource.RESOURCEIDColumn]));
|
||||
return ((int)(this[this.tableBSDXResource.RESOURCEIDColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableBSDXResource.RESOURCEIDColumn] = value;
|
||||
|
@ -1608,11 +1608,11 @@ namespace IndianHealthService.ClinicalScheduling {
|
|||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public PatientApptsRow[] GetPatientApptsRows() {
|
||||
if ((this.Table.ChildRelations["BSDXResourcePatientAppts"] == null)) {
|
||||
if ((this.Table.ChildRelations["FK_BSDXResource_PatientAppts"] == null)) {
|
||||
return new PatientApptsRow[0];
|
||||
}
|
||||
else {
|
||||
return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["BSDXResourcePatientAppts"])));
|
||||
return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_BSDXResource_PatientAppts"])));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
namespace IndianHealthService.ClinicalScheduling {
|
||||
|
||||
|
||||
public partial class dsRebookAppts {
|
||||
partial class BSDXResourceDataTable
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1 +1,9 @@
|
|||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TableUISettings />
|
||||
</DataSetUISetting>
|
|
@ -1,53 +1,60 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<xs:schema id="dsRebookAppts" targetNamespace="http://tempuri.org/dsRebookAppts.xsd" elementFormDefault="qualified"
|
||||
attributeFormDefault="qualified" xmlns="http://tempuri.org/dsRebookAppts.xsd" xmlns:mstns="http://tempuri.org/dsRebookAppts.xsd"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xs:element name="dsRebookAppts" msdata:IsDataSet="true">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:element name="PatientAppts">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DOB" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Sex" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HRN" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="NewApptDate" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Clinic" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="TypeStatus" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="RESOURCEID" type="xs:unsignedInt" minOccurs="0" />
|
||||
<xs:element name="APPT_MADE_BY" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DATE_APPT_MADE" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="NOTE" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STREET" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="CITY" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STATE" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="ZIP" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HOMEPHONE" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="OldApptDate" type="xs:date" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="BSDXResource">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="RESOURCEID" type="xs:unsignedInt" minOccurs="0" />
|
||||
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="LETTER_TEXT" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="NO_SHOW_LETTER" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="CLINIC_CANCELLATION_LETTER" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:key name="kBSDXResourceID">
|
||||
<xs:selector xpath=".//mstns:BSDXResource" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:key>
|
||||
<xs:keyref name="BSDXResourcePatientAppts" refer="kBSDXResourceID">
|
||||
<xs:selector xpath=".//mstns:PatientAppts" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema id="dsRebookAppts" targetNamespace="http://tempuri.org/dsRebookAppts.xsd" xmlns:mstns="http://tempuri.org/dsRebookAppts.xsd" xmlns="http://tempuri.org/dsRebookAppts.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:annotation>
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections />
|
||||
<Tables />
|
||||
<Sources />
|
||||
</DataSource>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element name="dsRebookAppts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dsRebookAppts" msprop:Generator_DataSetName="dsRebookAppts">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="PatientAppts" msprop:Generator_UserTableName="PatientAppts" msprop:Generator_RowDeletedName="PatientApptsRowDeleted" msprop:Generator_TableClassName="PatientApptsDataTable" msprop:Generator_RowChangedName="PatientApptsRowChanged" msprop:Generator_RowClassName="PatientApptsRow" msprop:Generator_RowChangingName="PatientApptsRowChanging" msprop:Generator_RowEvArgName="PatientApptsRowChangeEvent" msprop:Generator_RowEvHandlerName="PatientApptsRowChangeEventHandler" msprop:Generator_TablePropName="PatientAppts" msprop:Generator_TableVarName="tablePatientAppts" msprop:Generator_RowDeletingName="PatientApptsRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DOB" msprop:Generator_UserColumnName="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Sex" msprop:Generator_UserColumnName="Sex" msprop:Generator_ColumnPropNameInRow="Sex" msprop:Generator_ColumnVarNameInTable="columnSex" msprop:Generator_ColumnPropNameInTable="SexColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HRN" msprop:Generator_UserColumnName="HRN" msprop:Generator_ColumnPropNameInRow="HRN" msprop:Generator_ColumnVarNameInTable="columnHRN" msprop:Generator_ColumnPropNameInTable="HRNColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="NewApptDate" msprop:Generator_UserColumnName="NewApptDate" msprop:Generator_ColumnPropNameInRow="NewApptDate" msprop:Generator_ColumnVarNameInTable="columnNewApptDate" msprop:Generator_ColumnPropNameInTable="NewApptDateColumn" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="Clinic" msprop:Generator_UserColumnName="Clinic" msprop:Generator_ColumnPropNameInRow="Clinic" msprop:Generator_ColumnVarNameInTable="columnClinic" msprop:Generator_ColumnPropNameInTable="ClinicColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="TypeStatus" msprop:Generator_UserColumnName="TypeStatus" msprop:Generator_ColumnPropNameInRow="TypeStatus" msprop:Generator_ColumnVarNameInTable="columnTypeStatus" msprop:Generator_ColumnPropNameInTable="TypeStatusColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="RESOURCEID" msprop:Generator_UserColumnName="RESOURCEID" msprop:Generator_ColumnPropNameInRow="RESOURCEID" msprop:Generator_ColumnVarNameInTable="columnRESOURCEID" msprop:Generator_ColumnPropNameInTable="RESOURCEIDColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="APPT_MADE_BY" msprop:Generator_UserColumnName="APPT_MADE_BY" msprop:Generator_ColumnPropNameInRow="APPT_MADE_BY" msprop:Generator_ColumnVarNameInTable="columnAPPT_MADE_BY" msprop:Generator_ColumnPropNameInTable="APPT_MADE_BYColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="DATE_APPT_MADE" msprop:Generator_UserColumnName="DATE_APPT_MADE" msprop:Generator_ColumnPropNameInRow="DATE_APPT_MADE" msprop:Generator_ColumnVarNameInTable="columnDATE_APPT_MADE" msprop:Generator_ColumnPropNameInTable="DATE_APPT_MADEColumn" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="NOTE" msprop:Generator_UserColumnName="NOTE" msprop:Generator_ColumnPropNameInRow="NOTE" msprop:Generator_ColumnVarNameInTable="columnNOTE" msprop:Generator_ColumnPropNameInTable="NOTEColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STREET" msprop:Generator_UserColumnName="STREET" msprop:Generator_ColumnPropNameInRow="STREET" msprop:Generator_ColumnVarNameInTable="columnSTREET" msprop:Generator_ColumnPropNameInTable="STREETColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="CITY" msprop:Generator_UserColumnName="CITY" msprop:Generator_ColumnPropNameInRow="CITY" msprop:Generator_ColumnVarNameInTable="columnCITY" msprop:Generator_ColumnPropNameInTable="CITYColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="STATE" msprop:Generator_UserColumnName="STATE" msprop:Generator_ColumnPropNameInRow="STATE" msprop:Generator_ColumnVarNameInTable="columnSTATE" msprop:Generator_ColumnPropNameInTable="STATEColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="ZIP" msprop:Generator_UserColumnName="ZIP" msprop:Generator_ColumnPropNameInRow="ZIP" msprop:Generator_ColumnVarNameInTable="columnZIP" msprop:Generator_ColumnPropNameInTable="ZIPColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="HOMEPHONE" msprop:Generator_UserColumnName="HOMEPHONE" msprop:Generator_ColumnPropNameInRow="HOMEPHONE" msprop:Generator_ColumnVarNameInTable="columnHOMEPHONE" msprop:Generator_ColumnPropNameInTable="HOMEPHONEColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="OldApptDate" msprop:Generator_UserColumnName="OldApptDate" msprop:Generator_ColumnPropNameInRow="OldApptDate" msprop:Generator_ColumnVarNameInTable="columnOldApptDate" msprop:Generator_ColumnPropNameInTable="OldApptDateColumn" type="xs:date" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="BSDXResource" msprop:Generator_UserTableName="BSDXResource" msprop:Generator_RowDeletedName="BSDXResourceRowDeleted" msprop:Generator_TableClassName="BSDXResourceDataTable" msprop:Generator_RowChangedName="BSDXResourceRowChanged" msprop:Generator_RowClassName="BSDXResourceRow" msprop:Generator_RowChangingName="BSDXResourceRowChanging" msprop:Generator_RowEvArgName="BSDXResourceRowChangeEvent" msprop:Generator_RowEvHandlerName="BSDXResourceRowChangeEventHandler" msprop:Generator_TablePropName="BSDXResource" msprop:Generator_TableVarName="tableBSDXResource" msprop:Generator_RowDeletingName="BSDXResourceRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="RESOURCEID" msprop:Generator_UserColumnName="RESOURCEID" msprop:Generator_ColumnPropNameInRow="RESOURCEID" msprop:Generator_ColumnVarNameInTable="columnRESOURCEID" msprop:Generator_ColumnPropNameInTable="RESOURCEIDColumn" type="xs:int" />
|
||||
<xs:element name="RESOURCE_NAME" msprop:Generator_UserColumnName="RESOURCE_NAME" msprop:Generator_ColumnPropNameInRow="RESOURCE_NAME" msprop:Generator_ColumnVarNameInTable="columnRESOURCE_NAME" msprop:Generator_ColumnPropNameInTable="RESOURCE_NAMEColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="LETTER_TEXT" msprop:Generator_UserColumnName="LETTER_TEXT" msprop:Generator_ColumnPropNameInRow="LETTER_TEXT" msprop:Generator_ColumnVarNameInTable="columnLETTER_TEXT" msprop:Generator_ColumnPropNameInTable="LETTER_TEXTColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="NO_SHOW_LETTER" msprop:Generator_UserColumnName="NO_SHOW_LETTER" msprop:Generator_ColumnPropNameInRow="NO_SHOW_LETTER" msprop:Generator_ColumnVarNameInTable="columnNO_SHOW_LETTER" msprop:Generator_ColumnPropNameInTable="NO_SHOW_LETTERColumn" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="CLINIC_CANCELLATION_LETTER" msprop:Generator_UserColumnName="CLINIC_CANCELLATION_LETTER" msprop:Generator_ColumnPropNameInRow="CLINIC_CANCELLATION_LETTER" msprop:Generator_ColumnVarNameInTable="columnCLINIC_CANCELLATION_LETTER" msprop:Generator_ColumnPropNameInTable="CLINIC_CANCELLATION_LETTERColumn" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="kBSDXResourceID">
|
||||
<xs:selector xpath=".//mstns:BSDXResource" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:unique>
|
||||
<xs:keyref name="FK_BSDXResource_PatientAppts" refer="kBSDXResourceID" msprop:rel_Generator_UserRelationName="FK_BSDXResource_PatientAppts" msprop:rel_Generator_RelationVarName="relationFK_BSDXResource_PatientAppts" msprop:rel_Generator_UserChildTable="PatientAppts" msprop:rel_Generator_UserParentTable="BSDXResource" msprop:rel_Generator_ParentPropName="BSDXResourceRow" msprop:rel_Generator_ChildPropName="GetPatientApptsRows">
|
||||
<xs:selector xpath=".//mstns:PatientAppts" />
|
||||
<xs:field xpath="mstns:RESOURCEID" />
|
||||
</xs:keyref>
|
||||
</xs:element>
|
||||
</xs:schema>
|
|
@ -1 +1,26 @@
|
|||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool to store the dataset designer's layout information.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:PatientAppts" ZOrder="3" X="70" Y="70" Height="231" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="227" />
|
||||
<Shape ID="DesignTable:BSDXResource" ZOrder="2" X="290" Y="70" Height="112" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="108" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_BSDXResource_PatientAppts" ZOrder="1" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>290</X>
|
||||
<Y>126</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>220</X>
|
||||
<Y>126</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
</Connectors>
|
||||
</DiagramLayout>
|
Loading…
Reference in New Issue