Reworked DAppointPage. Removed dependence of DPatientApptDisplay on Crystal Reports. Added UserControl UCPatientAppts to encapsulate functionality of DPatientApptDisplay; right now it does not include printing. DAppointPage now uses UCPatientAppts to provide functionality of seeing patient's previous appointments. DPatientApptDisplay does not yet, but will soon.
Exe is not included.
This commit is contained in:
parent
3f21980cd0
commit
6ebbda93db
|
@ -37,6 +37,12 @@
|
|||
<TargetFrameworkSubset>
|
||||
</TargetFrameworkSubset>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<ManifestCertificateThumbprint>3202DD11CA9F64F7E52CF7BBED5F17D6E8A1B395</ManifestCertificateThumbprint>
|
||||
<ManifestKeyFile>ClinicalScheduling_TemporaryKey.pfx</ManifestKeyFile>
|
||||
<GenerateManifests>false</GenerateManifests>
|
||||
<SignManifests>false</SignManifests>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
|
@ -47,9 +53,10 @@
|
|||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>2.0.0.%2a</ApplicationVersion>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationVersion>2.1.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
|
@ -103,22 +110,22 @@
|
|||
<HintPath>bin\Release\BMXNet20.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304">
|
||||
<Private>True</Private>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304">
|
||||
<Private>True</Private>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
|
@ -154,6 +161,7 @@
|
|||
<None Include="CGView.cd" />
|
||||
<None Include="ClassDiagram1.cd" />
|
||||
<None Include="ClassDiagram2.cd" />
|
||||
<None Include="ClinicalScheduling_TemporaryKey.pfx" />
|
||||
<None Include="dsPatientApptDisplay2.xsc">
|
||||
<DependentUpon>dsPatientApptDisplay2.xsd</DependentUpon>
|
||||
</None>
|
||||
|
@ -172,6 +180,7 @@
|
|||
<None Include="dsRebookAppts.xsx">
|
||||
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="Properties\app.manifest" />
|
||||
<Content Include="App.ico" />
|
||||
<Content Include="dsPatientApptDisplay2.xsd">
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
|
@ -231,12 +240,6 @@
|
|||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Include="crPatientApptDisplay.cs">
|
||||
<DependentUpon>crPatientApptDisplay.rpt</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Include="crPatientLetter.cs">
|
||||
<DependentUpon>crPatientLetter.rpt</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
|
@ -328,6 +331,12 @@
|
|||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UCPatientAppts.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UCPatientAppts.Designer.cs">
|
||||
<DependentUpon>UCPatientAppts.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="CGAVView.resx">
|
||||
<DependentUpon>CGAVView.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
@ -348,10 +357,6 @@
|
|||
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
|
||||
<LastGenOutput>crCancelLetter.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="crPatientApptDisplay.rpt">
|
||||
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
|
||||
<LastGenOutput>crPatientApptDisplay.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="crPatientLetter.rpt">
|
||||
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
|
||||
<LastGenOutput>crPatientLetter.cs</LastGenOutput>
|
||||
|
@ -448,6 +453,9 @@
|
|||
<DependentUpon>DSplash.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UCPatientAppts.resx">
|
||||
<DependentUpon>UCPatientAppts.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Service Include="{967B4E0D-AD0C-4609-AB67-0FA40C0206D8}" />
|
||||
|
|
Binary file not shown.
|
@ -34,9 +34,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
private System.Windows.Forms.TextBox txtPhoneOffice;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.TextBox txtPhoneHome;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.TextBox txtCommunity;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txtSSN;
|
||||
private System.Windows.Forms.Label label5;
|
||||
|
@ -53,13 +51,13 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.TextBox txtHRN;
|
||||
private System.Windows.Forms.Button cmdViewAppointments;
|
||||
private System.Windows.Forms.Button cmdPrintLetter;
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.Container components = null;
|
||||
private System.Windows.Forms.TextBox txtHRN;
|
||||
private System.Windows.Forms.Button cmdPrintLetter;
|
||||
private GroupBox groupBox4;
|
||||
private BindingSource dsPatientApptDisplay2BindingSource;
|
||||
private dsPatientApptDisplay2 dsPatientApptDisplay2;
|
||||
private BindingSource patientApptsBindingSource;
|
||||
private IContainer components;
|
||||
|
||||
public DAppointPage()
|
||||
{
|
||||
|
@ -73,6 +71,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||
this.tabAppointment = new System.Windows.Forms.TabPage();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
|
@ -87,8 +86,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.txtHRN = new System.Windows.Forms.TextBox();
|
||||
this.txtCommunity = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.txtSSN = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
|
@ -111,9 +108,12 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.txtStreet = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.cmdPrintLetter = new System.Windows.Forms.Button();
|
||||
this.cmdViewAppointments = new System.Windows.Forms.Button();
|
||||
this.cmdCancel = new System.Windows.Forms.Button();
|
||||
this.cmdOK = new System.Windows.Forms.Button();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.patientApptsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsPatientApptDisplay2BindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsPatientApptDisplay2 = new IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabAppointment.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
|
@ -121,6 +121,9 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.tabPatientInfo.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tabControl1
|
||||
|
@ -131,21 +134,24 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
this.tabControl1.Size = new System.Drawing.Size(463, 374);
|
||||
this.tabControl1.Size = new System.Drawing.Size(471, 526);
|
||||
this.tabControl1.TabIndex = 0;
|
||||
//
|
||||
// tabAppointment
|
||||
//
|
||||
this.tabAppointment.Controls.Add(this.groupBox4);
|
||||
this.tabAppointment.Controls.Add(this.groupBox3);
|
||||
this.tabAppointment.Controls.Add(this.groupBox1);
|
||||
this.tabAppointment.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabAppointment.Name = "tabAppointment";
|
||||
this.tabAppointment.Size = new System.Drawing.Size(455, 348);
|
||||
this.tabAppointment.Size = new System.Drawing.Size(463, 500);
|
||||
this.tabAppointment.TabIndex = 1;
|
||||
this.tabAppointment.Text = "Appointment";
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.groupBox3.Controls.Add(this.lblClinic);
|
||||
this.groupBox3.Controls.Add(this.label15);
|
||||
this.groupBox3.Controls.Add(this.txtNote);
|
||||
|
@ -154,9 +160,9 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.groupBox3.Controls.Add(this.lblStartTime);
|
||||
this.groupBox3.Controls.Add(this.label4);
|
||||
this.groupBox3.Controls.Add(this.label3);
|
||||
this.groupBox3.Location = new System.Drawing.Point(8, 136);
|
||||
this.groupBox3.Location = new System.Drawing.Point(8, 107);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(439, 168);
|
||||
this.groupBox3.Size = new System.Drawing.Size(439, 141);
|
||||
this.groupBox3.TabIndex = 13;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Appointment";
|
||||
|
@ -184,7 +190,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.txtNote.Location = new System.Drawing.Point(80, 72);
|
||||
this.txtNote.Multiline = true;
|
||||
this.txtNote.Name = "txtNote";
|
||||
this.txtNote.Size = new System.Drawing.Size(353, 88);
|
||||
this.txtNote.Size = new System.Drawing.Size(353, 60);
|
||||
this.txtNote.TabIndex = 17;
|
||||
//
|
||||
// label1
|
||||
|
@ -234,8 +240,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
//
|
||||
this.groupBox1.Controls.Add(this.label14);
|
||||
this.groupBox1.Controls.Add(this.txtHRN);
|
||||
this.groupBox1.Controls.Add(this.txtCommunity);
|
||||
this.groupBox1.Controls.Add(this.label7);
|
||||
this.groupBox1.Controls.Add(this.label6);
|
||||
this.groupBox1.Controls.Add(this.txtSSN);
|
||||
this.groupBox1.Controls.Add(this.label5);
|
||||
|
@ -244,7 +248,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.groupBox1.Controls.Add(this.txtPatientName);
|
||||
this.groupBox1.Location = new System.Drawing.Point(8, 8);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(439, 120);
|
||||
this.groupBox1.Size = new System.Drawing.Size(439, 93);
|
||||
this.groupBox1.TabIndex = 12;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Patient ID";
|
||||
|
@ -266,23 +270,6 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.txtHRN.Size = new System.Drawing.Size(120, 20);
|
||||
this.txtHRN.TabIndex = 12;
|
||||
//
|
||||
// txtCommunity
|
||||
//
|
||||
this.txtCommunity.Location = new System.Drawing.Point(96, 88);
|
||||
this.txtCommunity.Name = "txtCommunity";
|
||||
this.txtCommunity.ReadOnly = true;
|
||||
this.txtCommunity.Size = new System.Drawing.Size(337, 20);
|
||||
this.txtCommunity.TabIndex = 10;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Location = new System.Drawing.Point(24, 88);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(72, 16);
|
||||
this.label7.TabIndex = 11;
|
||||
this.label7.Text = "Community:";
|
||||
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Location = new System.Drawing.Point(224, 40);
|
||||
|
@ -339,7 +326,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.tabPatientInfo.Controls.Add(this.groupBox2);
|
||||
this.tabPatientInfo.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPatientInfo.Name = "tabPatientInfo";
|
||||
this.tabPatientInfo.Size = new System.Drawing.Size(455, 348);
|
||||
this.tabPatientInfo.Size = new System.Drawing.Size(463, 500);
|
||||
this.tabPatientInfo.TabIndex = 0;
|
||||
this.tabPatientInfo.Text = "Contact Information";
|
||||
//
|
||||
|
@ -469,35 +456,24 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.cmdPrintLetter);
|
||||
this.panel1.Controls.Add(this.cmdViewAppointments);
|
||||
this.panel1.Controls.Add(this.cmdCancel);
|
||||
this.panel1.Controls.Add(this.cmdOK);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 334);
|
||||
this.panel1.Location = new System.Drawing.Point(0, 486);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(463, 40);
|
||||
this.panel1.Size = new System.Drawing.Size(471, 40);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// cmdPrintLetter
|
||||
//
|
||||
this.cmdPrintLetter.CausesValidation = false;
|
||||
this.cmdPrintLetter.Location = new System.Drawing.Point(208, 8);
|
||||
this.cmdPrintLetter.Location = new System.Drawing.Point(12, 9);
|
||||
this.cmdPrintLetter.Name = "cmdPrintLetter";
|
||||
this.cmdPrintLetter.Size = new System.Drawing.Size(68, 24);
|
||||
this.cmdPrintLetter.TabIndex = 3;
|
||||
this.cmdPrintLetter.Text = "Print Letter";
|
||||
this.cmdPrintLetter.Click += new System.EventHandler(this.cmdPrintLetter_Click);
|
||||
//
|
||||
// cmdViewAppointments
|
||||
//
|
||||
this.cmdViewAppointments.CausesValidation = false;
|
||||
this.cmdViewAppointments.Location = new System.Drawing.Point(12, 8);
|
||||
this.cmdViewAppointments.Name = "cmdViewAppointments";
|
||||
this.cmdViewAppointments.Size = new System.Drawing.Size(112, 24);
|
||||
this.cmdViewAppointments.TabIndex = 2;
|
||||
this.cmdViewAppointments.Text = "View Appointments";
|
||||
this.cmdViewAppointments.Click += new System.EventHandler(this.cmdViewAppointments_Click);
|
||||
//
|
||||
// cmdCancel
|
||||
//
|
||||
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
|
@ -517,12 +493,36 @@ 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";
|
||||
this.patientApptsBindingSource.DataSource = this.dsPatientApptDisplay2BindingSource;
|
||||
//
|
||||
// dsPatientApptDisplay2BindingSource
|
||||
//
|
||||
this.dsPatientApptDisplay2BindingSource.DataSource = this.dsPatientApptDisplay2;
|
||||
this.dsPatientApptDisplay2BindingSource.Position = 0;
|
||||
//
|
||||
// dsPatientApptDisplay2
|
||||
//
|
||||
this.dsPatientApptDisplay2.DataSetName = "dsPatientApptDisplay2";
|
||||
this.dsPatientApptDisplay2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// DAppointPage
|
||||
//
|
||||
this.AcceptButton = this.cmdOK;
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||
this.CancelButton = this.cmdCancel;
|
||||
this.ClientSize = new System.Drawing.Size(463, 374);
|
||||
this.ClientSize = new System.Drawing.Size(471, 526);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
|
@ -540,6 +540,9 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
@ -606,7 +609,10 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
this.m_sPhoneHome = r["HOMEPHONE"].ToString();
|
||||
|
||||
this.UpdateDialogData(true);
|
||||
}
|
||||
Control UC = new UCPatientAppts(m_DocManager, int.Parse(m_sPatientIEN));
|
||||
UC.Dock = DockStyle.Fill;
|
||||
groupBox4.Controls.Add(UC);
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
MessageBox.Show("DAppointPage::InitializePage -- Unable to retrieve patient information from VistA. " + e.Message);
|
||||
|
|
|
@ -117,4 +117,19 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="patientApptsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>412, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>179, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>179, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -3,9 +3,6 @@ using System.Drawing;
|
|||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using CrystalDecisions.Windows;
|
||||
using CrystalDecisions.Shared;
|
||||
using CrystalDecisions.CrystalReports.Engine;
|
||||
using IndianHealthService.BMXNet;
|
||||
using System.Data;
|
||||
|
||||
|
@ -16,10 +13,9 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
/// </summary>
|
||||
public class DPatientApptDisplay : System.Windows.Forms.Form
|
||||
{
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private CrystalDecisions.Windows.Forms.CrystalReportViewer crViewer1;
|
||||
private System.Windows.Forms.CheckBox chkIncludePast;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.CheckBox chkIncludePast;
|
||||
private DataGridView dataGridView1;
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
|
@ -29,18 +25,9 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
{
|
||||
try
|
||||
{
|
||||
crViewer1.DisplayGroupTree = false;
|
||||
|
||||
ClinicalScheduling.crPatientApptDisplay cr = new crPatientApptDisplay();
|
||||
string sSql = "BSDX PATIENT APPT DISPLAY^" + nPatientID.ToString();
|
||||
|
||||
System.Data.DataSet ds = new System.Data.DataSet();
|
||||
DataTable dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
|
||||
ds.Tables.Add(dtAppt.Copy());
|
||||
|
||||
cr.Database.Tables[0].SetDataSource(ds);
|
||||
this.crViewer1.ReportSource = cr;
|
||||
|
||||
dataGridView1.DataSource = dtAppt;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -50,14 +37,7 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
|
||||
public DPatientApptDisplay()
|
||||
{
|
||||
//
|
||||
// Required for Windows Form Designer support
|
||||
//
|
||||
InitializeComponent();
|
||||
|
||||
//
|
||||
// TODO: Add any constructor code after InitializeComponent call
|
||||
//
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -82,63 +62,55 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.chkIncludePast = new System.Windows.Forms.CheckBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.crViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.chkIncludePast);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(664, 32);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// chkIncludePast
|
||||
//
|
||||
this.chkIncludePast.Location = new System.Drawing.Point(16, 8);
|
||||
this.chkIncludePast.Name = "chkIncludePast";
|
||||
this.chkIncludePast.Size = new System.Drawing.Size(184, 16);
|
||||
this.chkIncludePast.TabIndex = 0;
|
||||
this.chkIncludePast.Text = "Include Past Appointments";
|
||||
this.chkIncludePast.CheckedChanged += new System.EventHandler(this.chkIncludePast_CheckedChanged);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.crViewer1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 32);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(664, 446);
|
||||
this.panel2.TabIndex = 2;
|
||||
//
|
||||
// crViewer1
|
||||
//
|
||||
this.crViewer1.ActiveViewIndex = -1;
|
||||
this.crViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.crViewer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.crViewer1.Name = "crViewer1";
|
||||
this.crViewer1.ReportSource = null;
|
||||
this.crViewer1.Size = new System.Drawing.Size(664, 446);
|
||||
this.crViewer1.TabIndex = 1;
|
||||
//
|
||||
// DPatientApptDisplay
|
||||
//
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||
this.ClientSize = new System.Drawing.Size(664, 478);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "DPatientApptDisplay";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Patient Appointments";
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.chkIncludePast = new System.Windows.Forms.CheckBox();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.chkIncludePast);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(664, 32);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// chkIncludePast
|
||||
//
|
||||
this.chkIncludePast.Location = new System.Drawing.Point(16, 8);
|
||||
this.chkIncludePast.Name = "chkIncludePast";
|
||||
this.chkIncludePast.Size = new System.Drawing.Size(184, 16);
|
||||
this.chkIncludePast.TabIndex = 0;
|
||||
this.chkIncludePast.Text = "Include Past Appointments";
|
||||
this.chkIncludePast.CheckedChanged += new System.EventHandler(this.chkIncludePast_CheckedChanged);
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 32);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.ReadOnly = true;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(664, 446);
|
||||
this.dataGridView1.TabIndex = 2;
|
||||
//
|
||||
// DPatientApptDisplay
|
||||
//
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||
this.ClientSize = new System.Drawing.Size(664, 478);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "DPatientApptDisplay";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Patient Appointments";
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
@ -147,13 +119,13 @@ namespace IndianHealthService.ClinicalScheduling
|
|||
{
|
||||
if (chkIncludePast.Checked == true)
|
||||
{
|
||||
this.crViewer1.SelectionFormula = "TRUE"; //MJL 9/11/2007
|
||||
//this.crViewer1.SelectionFormula = "TRUE"; //MJL 9/11/2007
|
||||
}
|
||||
else
|
||||
{
|
||||
crViewer1.SelectionFormula = "{PatientAppts.ApptDate} >= CurrentDate";
|
||||
//crViewer1.SelectionFormula = "{PatientAppts.ApptDate} >= CurrentDate";
|
||||
}
|
||||
crViewer1.RefreshReport();
|
||||
//crViewer1.RefreshReport();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,96 +109,12 @@
|
|||
<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="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>8, 8</value>
|
||||
</data>
|
||||
<data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="chkIncludePast.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="chkIncludePast.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="chkIncludePast.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="panel2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="panel2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="panel2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="panel2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>8, 8</value>
|
||||
</data>
|
||||
<data name="panel2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="panel2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="crViewer1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="crViewer1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
<data name="crViewer1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>(Default)</value>
|
||||
</data>
|
||||
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="$this.Name">
|
||||
<value>DPatientApptDisplay</value>
|
||||
</data>
|
||||
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>8, 8</value>
|
||||
</data>
|
||||
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>80</value>
|
||||
</data>
|
||||
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
</data>
|
||||
</root>
|
|
@ -0,0 +1,202 @@
|
|||
namespace IndianHealthService.ClinicalScheduling
|
||||
{
|
||||
partial class UCPatientAppts
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.dgAppts = new System.Windows.Forms.DataGridView();
|
||||
this.apptDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.clinicDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aPPTMADEBYDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dATEAPPTMADEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nOTEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.patientApptsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsPatientApptDisplay2BindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsPatientApptDisplay2 = new IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.chkPastAppts = new System.Windows.Forms.CheckBox();
|
||||
this.btnPrint = new System.Windows.Forms.Button();
|
||||
this.printDialog1 = new System.Windows.Forms.PrintDialog();
|
||||
this.PrintPtAppts = new System.Drawing.Printing.PrintDocument();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgAppts)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dgAppts
|
||||
//
|
||||
this.dgAppts.AllowUserToAddRows = false;
|
||||
this.dgAppts.AllowUserToDeleteRows = false;
|
||||
this.dgAppts.AutoGenerateColumns = false;
|
||||
this.dgAppts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgAppts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.apptDateDataGridViewTextBoxColumn,
|
||||
this.clinicDataGridViewTextBoxColumn,
|
||||
this.aPPTMADEBYDataGridViewTextBoxColumn,
|
||||
this.dATEAPPTMADEDataGridViewTextBoxColumn,
|
||||
this.nOTEDataGridViewTextBoxColumn});
|
||||
this.dgAppts.DataSource = this.patientApptsBindingSource;
|
||||
this.dgAppts.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgAppts.Location = new System.Drawing.Point(0, 32);
|
||||
this.dgAppts.Name = "dgAppts";
|
||||
this.dgAppts.ReadOnly = true;
|
||||
this.dgAppts.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dgAppts.ShowEditingIcon = false;
|
||||
this.dgAppts.Size = new System.Drawing.Size(544, 171);
|
||||
this.dgAppts.TabIndex = 2;
|
||||
//
|
||||
// apptDateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.apptDateDataGridViewTextBoxColumn.DataPropertyName = "ApptDate";
|
||||
this.apptDateDataGridViewTextBoxColumn.HeaderText = "Date";
|
||||
this.apptDateDataGridViewTextBoxColumn.Name = "apptDateDataGridViewTextBoxColumn";
|
||||
this.apptDateDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// clinicDataGridViewTextBoxColumn
|
||||
//
|
||||
this.clinicDataGridViewTextBoxColumn.DataPropertyName = "Clinic";
|
||||
this.clinicDataGridViewTextBoxColumn.HeaderText = "Clinic";
|
||||
this.clinicDataGridViewTextBoxColumn.Name = "clinicDataGridViewTextBoxColumn";
|
||||
this.clinicDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// aPPTMADEBYDataGridViewTextBoxColumn
|
||||
//
|
||||
this.aPPTMADEBYDataGridViewTextBoxColumn.DataPropertyName = "APPT_MADE_BY";
|
||||
this.aPPTMADEBYDataGridViewTextBoxColumn.HeaderText = "Made By";
|
||||
this.aPPTMADEBYDataGridViewTextBoxColumn.Name = "aPPTMADEBYDataGridViewTextBoxColumn";
|
||||
this.aPPTMADEBYDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// dATEAPPTMADEDataGridViewTextBoxColumn
|
||||
//
|
||||
this.dATEAPPTMADEDataGridViewTextBoxColumn.DataPropertyName = "DATE_APPT_MADE";
|
||||
this.dATEAPPTMADEDataGridViewTextBoxColumn.HeaderText = "Made on";
|
||||
this.dATEAPPTMADEDataGridViewTextBoxColumn.Name = "dATEAPPTMADEDataGridViewTextBoxColumn";
|
||||
this.dATEAPPTMADEDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// nOTEDataGridViewTextBoxColumn
|
||||
//
|
||||
this.nOTEDataGridViewTextBoxColumn.DataPropertyName = "NOTE";
|
||||
this.nOTEDataGridViewTextBoxColumn.HeaderText = "Note";
|
||||
this.nOTEDataGridViewTextBoxColumn.Name = "nOTEDataGridViewTextBoxColumn";
|
||||
this.nOTEDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// patientApptsBindingSource
|
||||
//
|
||||
this.patientApptsBindingSource.DataMember = "PatientAppts";
|
||||
this.patientApptsBindingSource.DataSource = this.dsPatientApptDisplay2BindingSource;
|
||||
//
|
||||
// dsPatientApptDisplay2BindingSource
|
||||
//
|
||||
this.dsPatientApptDisplay2BindingSource.DataSource = this.dsPatientApptDisplay2;
|
||||
this.dsPatientApptDisplay2BindingSource.Position = 0;
|
||||
//
|
||||
// dsPatientApptDisplay2
|
||||
//
|
||||
this.dsPatientApptDisplay2.DataSetName = "dsPatientApptDisplay2";
|
||||
this.dsPatientApptDisplay2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnPrint);
|
||||
this.panel1.Controls.Add(this.chkPastAppts);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(544, 32);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// chkPastAppts
|
||||
//
|
||||
this.chkPastAppts.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.chkPastAppts.AutoSize = true;
|
||||
this.chkPastAppts.Location = new System.Drawing.Point(389, 3);
|
||||
this.chkPastAppts.Name = "chkPastAppts";
|
||||
this.chkPastAppts.Size = new System.Drawing.Size(152, 17);
|
||||
this.chkPastAppts.TabIndex = 0;
|
||||
this.chkPastAppts.Text = "Include Past Appointments";
|
||||
this.chkPastAppts.UseVisualStyleBackColor = true;
|
||||
this.chkPastAppts.CheckedChanged += new System.EventHandler(this.chkPastAppts_CheckedChanged);
|
||||
//
|
||||
// btnPrint
|
||||
//
|
||||
this.btnPrint.Location = new System.Drawing.Point(3, 3);
|
||||
this.btnPrint.Name = "btnPrint";
|
||||
this.btnPrint.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPrint.TabIndex = 1;
|
||||
this.btnPrint.Text = "Print";
|
||||
this.btnPrint.UseVisualStyleBackColor = true;
|
||||
this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
|
||||
//
|
||||
// printDialog1
|
||||
//
|
||||
this.printDialog1.Document = this.PrintPtAppts;
|
||||
this.printDialog1.UseEXDialog = true;
|
||||
//
|
||||
// PrintPtAppts
|
||||
//
|
||||
this.PrintPtAppts.DocumentName = "Print Patient Appointments";
|
||||
this.PrintPtAppts.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.PrintPtAppts_PrintPage);
|
||||
//
|
||||
// UCPatientAppts
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.dgAppts);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "UCPatientAppts";
|
||||
this.Size = new System.Drawing.Size(544, 203);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgAppts)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView dgAppts;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn apptDateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn clinicDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aPPTMADEBYDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dATEAPPTMADEDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn nOTEDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.BindingSource patientApptsBindingSource;
|
||||
private System.Windows.Forms.BindingSource dsPatientApptDisplay2BindingSource;
|
||||
private dsPatientApptDisplay2 dsPatientApptDisplay2;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.CheckBox chkPastAppts;
|
||||
private System.Windows.Forms.Button btnPrint;
|
||||
private System.Windows.Forms.PrintDialog printDialog1;
|
||||
private System.Drawing.Printing.PrintDocument PrintPtAppts;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using IndianHealthService.BMXNet;
|
||||
|
||||
namespace IndianHealthService.ClinicalScheduling
|
||||
{
|
||||
/// <summary>
|
||||
/// User Control that shows patient's appointments and allows printing
|
||||
/// </summary>
|
||||
public partial class UCPatientAppts : UserControl
|
||||
{
|
||||
DataTable dtAppt;
|
||||
DataView dvAppt;
|
||||
/// <summary>
|
||||
/// Ctor
|
||||
/// </summary>
|
||||
/// <param name="docManager">Document Manager from main context</param>
|
||||
/// <param name="nPatientID">Patient IEN</param>
|
||||
public UCPatientAppts(CGDocumentManager docManager, int nPatientID)
|
||||
{
|
||||
InitializeComponent();
|
||||
try
|
||||
{
|
||||
string sSql = "BSDX PATIENT APPT DISPLAY^" + nPatientID.ToString();
|
||||
dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
|
||||
}
|
||||
catch (Exception ex) { MessageBox.Show(ex.Message); }
|
||||
|
||||
dvAppt = new DataView(dtAppt);
|
||||
dvAppt.Sort = "ApptDate ASC";
|
||||
SetPastFilter(false);
|
||||
dgAppts.DataSource = dvAppt;
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Sets the filter for the DataView on whether to show past appointments or not
|
||||
/// </summary>
|
||||
/// <param name="ShowPastAppts">boolean - self explanatory</param>
|
||||
void SetPastFilter(bool ShowPastAppts)
|
||||
{
|
||||
if (ShowPastAppts) dvAppt.RowFilter = "";
|
||||
else dvAppt.RowFilter = "ApptDate > " + "#" + DateTime.Today.ToShortDateString() + "#"; ;
|
||||
}
|
||||
|
||||
private void chkPastAppts_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (chkPastAppts.Checked) SetPastFilter(true);
|
||||
else SetPastFilter(false);
|
||||
}
|
||||
|
||||
private void PrintPtAppts_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
|
||||
{
|
||||
Graphics g = e.Graphics;
|
||||
using (Font font = new Font("Lucida Console", 72))
|
||||
{
|
||||
g.DrawString("Hello,\nPrinter", font, Brushes.Black, e.MarginBounds);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult res = printDialog1.ShowDialog();
|
||||
if (res == DialogResult.OK) this.printDialog1.Document.Print();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,144 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="patientApptsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>412, 17</value>
|
||||
</metadata>
|
||||
<metadata name="patientApptsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>412, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>179, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2BindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>179, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPatientApptDisplay2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="printDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>597, 17</value>
|
||||
</metadata>
|
||||
<metadata name="PrintPtAppts.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>709, 17</value>
|
||||
</metadata>
|
||||
</root>
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -1,159 +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 crPatientApptDisplay : ReportClass {
|
||||
|
||||
public crPatientApptDisplay() {
|
||||
}
|
||||
|
||||
public override string ResourceName {
|
||||
get {
|
||||
return "crPatientApptDisplay.rpt";
|
||||
}
|
||||
set {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section1 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[0];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section2 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[1];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[2];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[3];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section3 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[4];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[5];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[6];
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
|
||||
get {
|
||||
return this.ReportDefinition.Sections[7];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
|
||||
public class CachedcrPatientApptDisplay : Component, ICachedReport {
|
||||
|
||||
public CachedcrPatientApptDisplay() {
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public virtual bool IsCacheable {
|
||||
get {
|
||||
return true;
|
||||
}
|
||||
set {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public virtual bool ShareDBLogonInfo {
|
||||
get {
|
||||
return false;
|
||||
}
|
||||
set {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
||||
public virtual System.TimeSpan CacheTimeOut {
|
||||
get {
|
||||
return CachedReportConstants.DEFAULT_TIMEOUT;
|
||||
}
|
||||
set {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
|
||||
crPatientApptDisplay rpt = new crPatientApptDisplay();
|
||||
rpt.Site = this.Site;
|
||||
return rpt;
|
||||
}
|
||||
|
||||
public virtual string GetCustomizedCacheKey(RequestContext request) {
|
||||
String key = null;
|
||||
// // The following is the code used to generate the default
|
||||
// // cache key for caching report jobs in the ASP.NET Cache.
|
||||
// // Feel free to modify this code to suit your needs.
|
||||
// // Returning key == null causes the default cache key to
|
||||
// // be generated.
|
||||
//
|
||||
// key = RequestContext.BuildCompleteCacheKey(
|
||||
// request,
|
||||
// null, // sReportFilename
|
||||
// this.GetType(),
|
||||
// this.ShareDBLogonInfo );
|
||||
return key;
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue