From 6ebbda93dbea2c421ec70133a9b8172533868df1 Mon Sep 17 00:00:00 2001 From: sam Date: Fri, 7 May 2010 22:38:39 +0000 Subject: [PATCH] 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. --- .../ClinicalScheduling.csproj | 44 +- .../ClinicalScheduling.suo | Bin 75264 -> 75264 bytes cs/bsdx0200GUISourceCode/DAppointPage.cs | 116 +- cs/bsdx0200GUISourceCode/DAppointPage.resx | 15 + .../DPatientApptDisplay.cs | 140 +- .../DPatientApptDisplay.resx | 126 +- .../UCPatientAppts.Designer.cs | 202 ++ cs/bsdx0200GUISourceCode/UCPatientAppts.cs | 71 + cs/bsdx0200GUISourceCode/UCPatientAppts.resx | 144 ++ .../bin/Release/ClinicalScheduling.XML | 1920 +++++++++-------- .../bin/Release/ClinicalScheduling.exe | Bin 593920 -> 589824 bytes .../crPatientApptDisplay.cs | 159 -- .../crPatientApptDisplay.rpt | Bin 16384 -> 0 bytes 13 files changed, 1581 insertions(+), 1356 deletions(-) create mode 100644 cs/bsdx0200GUISourceCode/UCPatientAppts.Designer.cs create mode 100644 cs/bsdx0200GUISourceCode/UCPatientAppts.cs create mode 100644 cs/bsdx0200GUISourceCode/UCPatientAppts.resx delete mode 100644 cs/bsdx0200GUISourceCode/crPatientApptDisplay.cs delete mode 100644 cs/bsdx0200GUISourceCode/crPatientApptDisplay.rpt diff --git a/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj b/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj index 44f83d2..9287458 100644 --- a/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj +++ b/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj @@ -37,6 +37,12 @@ false + 3202DD11CA9F64F7E52CF7BBED5F17D6E8A1B395 + ClinicalScheduling_TemporaryKey.pfx + false + false + LocalIntranet + Properties\app.manifest publish\ true Disk @@ -47,9 +53,10 @@ false false true - 0 - 2.0.0.%2a + 1 + 2.1.0.%2a false + true true @@ -103,22 +110,22 @@ bin\Release\BMXNet20.dll - True + False - True + False - True + False - True + False - True + False - True + False System @@ -154,6 +161,7 @@ + dsPatientApptDisplay2.xsd @@ -172,6 +180,7 @@ dsRebookAppts.xsd + MSDataSetGenerator @@ -231,12 +240,6 @@ True True - - crPatientApptDisplay.rpt - Component - True - True - crPatientLetter.rpt Component @@ -328,6 +331,12 @@ True dsRebookAppts.xsd + + UserControl + + + UCPatientAppts.cs + CGAVView.cs Designer @@ -348,10 +357,6 @@ CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator crCancelLetter.cs - - CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator - crPatientApptDisplay.cs - CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator crPatientLetter.cs @@ -448,6 +453,9 @@ DSplash.cs Designer + + UCPatientAppts.cs + diff --git a/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo b/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo index f8fcafead4737e33bbce7de4078fbe9742ccbc61..b16946318a9c7eb741ec9f74d5ff849cf30b5fbc 100644 GIT binary patch delta 6807 zcmb_g3s98T75?x3y9@Gid5FAO5ELJ*y9gKrBFlovdx@f`s31##h_JGY@>15MNlao5 za-!Inhe>9VOp-~&-m-Iv4EgXUNjTS~R6Shk4vspj1iE(pS6U)nKAHLw|Q05!lCU>k6AY;3F!r46VD?gtux zM&JQ}_cx>b3FTgtJAqcf4!D3efYUfpwgbC>-9QJ>1w1SWK|(hwJ-{A-6W^p8q9ec> z`JVImzs@reUtKn-OC6z7JKGYTX24q?0C#AfU?n6~g_a30fe!N$o$Ya&oRMV%o?0dlDZPLjM>SUoIvlj$FVYq-{8B=Ve2ra7>xy$g(nx} zXsEn>K7BeriB8P+qG)Fd)fnRG*phxton=LJ9=Vc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1_C5hW!*ukY^8HTLSkR5SUgceO%-VM^j}9mR0Nsim4!C#~w#_ zWupe-f+s~747P}ngx6=(N#e`~zzgMN!J8Anh{u)=N$X!|*PzqA1p8l)m)2iw2kf8Q zhoUDAdy1o_(3KRxt_!iTE7^;5BCe%GvzhMsT1tX_YzMSDJERq#cJBz0qcItKTZvmwvGC4RB?TVeBt#ZjapXF1Avw||7 z8b^XgM%i4j5|wkIR8*p!X~>lIgQA07FN9 z@^n-G*v?D3qKAEO?>(DZ?|FZ+Wl-pC9Yk|qqNWJYV=lqL^SNR7yu5hup@-#pvGVgz zXA0WvQ&TJHRQQ&B{k}@*kqZ*FY%dFs$NZ}X={LtaN6Ql`H`Su(aU_=iE9Hsuen#Ht zMSl~Y!V@=ISjboR6Dur^PVOAg;NFlK8$!>Hijxgccc~i0Q5Xh*19Rv z3h|fpUaKY8lS1-EiI9n2tH{YJME*yqRnUJRz$tyOFbZtJfk^Q1SKWmiA?S;OMd-F> j9vz4Rk3l - /// Required designer variable. - /// - 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 /// 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); diff --git a/cs/bsdx0200GUISourceCode/DAppointPage.resx b/cs/bsdx0200GUISourceCode/DAppointPage.resx index ff31a6d..b7b8211 100644 --- a/cs/bsdx0200GUISourceCode/DAppointPage.resx +++ b/cs/bsdx0200GUISourceCode/DAppointPage.resx @@ -117,4 +117,19 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 412, 17 + + + 179, 17 + + + 179, 17 + + + 17, 17 + + + 17, 17 + \ No newline at end of file diff --git a/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs b/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs index 3f7016d..c47673b 100644 --- a/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs +++ b/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs @@ -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 /// 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; /// /// Required designer variable. /// @@ -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 - // } /// @@ -82,63 +62,55 @@ namespace IndianHealthService.ClinicalScheduling /// 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(); } } } diff --git a/cs/bsdx0200GUISourceCode/DPatientApptDisplay.resx b/cs/bsdx0200GUISourceCode/DPatientApptDisplay.resx index 931feae..ff31a6d 100644 --- a/cs/bsdx0200GUISourceCode/DPatientApptDisplay.resx +++ b/cs/bsdx0200GUISourceCode/DPatientApptDisplay.resx @@ -3,7 +3,7 @@ + + + + + + + + + + + + + + + + + + - + + @@ -89,96 +109,12 @@ text/microsoft-resx - 1.3 + 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - False - - - True - - - Private - - - 8, 8 - - - True - - - Private - - - False - - - Private - - - Private - - - False - - - True - - - Private - - - 8, 8 - - - True - - - Private - - - Private - - - Private - - - False - - - False - - - (Default) - - - False - - - DPatientApptDisplay - - - False - - - 8, 8 - - - True - - - 80 - - - True - - - Private - \ No newline at end of file diff --git a/cs/bsdx0200GUISourceCode/UCPatientAppts.Designer.cs b/cs/bsdx0200GUISourceCode/UCPatientAppts.Designer.cs new file mode 100644 index 0000000..0407562 --- /dev/null +++ b/cs/bsdx0200GUISourceCode/UCPatientAppts.Designer.cs @@ -0,0 +1,202 @@ +namespace IndianHealthService.ClinicalScheduling +{ + partial class UCPatientAppts + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + 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; + } +} diff --git a/cs/bsdx0200GUISourceCode/UCPatientAppts.cs b/cs/bsdx0200GUISourceCode/UCPatientAppts.cs new file mode 100644 index 0000000..17d2923 --- /dev/null +++ b/cs/bsdx0200GUISourceCode/UCPatientAppts.cs @@ -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 +{ + /// + /// User Control that shows patient's appointments and allows printing + /// + public partial class UCPatientAppts : UserControl + { + DataTable dtAppt; + DataView dvAppt; + /// + /// Ctor + /// + /// Document Manager from main context + /// Patient IEN + 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; + + } + /// + /// Sets the filter for the DataView on whether to show past appointments or not + /// + /// boolean - self explanatory + 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(); + } + + } +} diff --git a/cs/bsdx0200GUISourceCode/UCPatientAppts.resx b/cs/bsdx0200GUISourceCode/UCPatientAppts.resx new file mode 100644 index 0000000..a3f0225 --- /dev/null +++ b/cs/bsdx0200GUISourceCode/UCPatientAppts.resx @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 412, 17 + + + 412, 17 + + + 179, 17 + + + 179, 17 + + + 17, 17 + + + 17, 17 + + + 597, 17 + + + 709, 17 + + \ No newline at end of file diff --git a/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML b/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML index 125f92e..9b8df03 100644 --- a/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML +++ b/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML @@ -4,41 +4,849 @@ ClinicalScheduling - + + + Summary description for DPatientApptDisplay. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + Summary description for DPatientLookup. + + + + + Required designer variable. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Clean up any resources being used. + + + + + Gets or sets the name of the selected patient + + + + + RPMS Internal Entry Number in PATIENT file (DFN) + + + + + The string representation of the Health Record Number + + + + + Summary description for DManagement. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Summary description for DAccessType. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Summary description for DResourceGroup. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Gets the name of the resource group + + + + + Summary description for DPatientLetter. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + Represents a strongly typed in-memory cache of data. - + Represents the strongly named DataTable class. - + Represents the strongly named DataTable class. - + Represents strongly named DataRow class. - + Represents strongly named DataRow class. - + Row event argument class - + Row event argument class + + + Summary description for DCancelAppt. + + + + + Required designer variable. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Sets or returns the rebook access type: -1 = use current type, -2 = use any type, 0 = prompt for a type + + + + + Returns true if appt cancelled by Clinic, otherwise false + + + + + Returns value of AutoRebook check box + + + + + Returns internal entry in the CANCELLATION REASON file (409.2) + + + + + Returns cancellation remarks. + + + + + Sets or returns the number of days in the future to start searching for availability + + + + + Sets and returns the maximum number of days in the future to look for rebook availability + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + Summary description for DResourceUser. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + The ID of the Resource User in the NEW PERSON file. + + + + + True if the user is allowed to modify the resource's scheduled availability + + + + + True if the user is allowed to overbook beyond the resource's scheduled availability + + + + + True if the user is allowed to create, edit and delete appointments + + + + + Summary description for DAccessTemplate. + + + + + Required designer variable. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Returns the open file dialog object + + + + + Sets or returns the start date to apply the template + + + + + Sets or returns the number of weeks to apply the template + + + + + Summary description for DAutoRebook. + + + + + Required designer variable. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Sets or returns the rebook access type: -1 = use current type, -2 = use any type, 0 = prompt for a type + + + + + Returns value of AutoRebook check box + + + + + Sets or returns the number of days in the future to start searching for availability + + + + + Sets and returns the maximum number of days in the future to look for rebook availability + + + + + Summary description for DAccessGroup. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Gets the name of the Access Group; + + + + + Summary description for CGView. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Clean up any resources being used. + + + + + Marks all selected appointments as No Show + + + + + + + Delete appointment ApptID + + + + + + + Delete all selected appointments + + + + + Access the CalendarGrid associated with this view + + + + + Accesses the document associated with this view + + + + + Summary description for DResourceGroup. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Contains the IEN of the Resource in the BSDX_RESOURCE file + + + + + Contains the name of the Resource + + + + + Summary description for DResource. + + + + + Required designer variable. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Clean up any resources being used. + + + + + Summary description for DCheckIn. + + + + + Required designer variable. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Returns string representation of internal entry number of Provider in PROVIDER File + + + + + Returns string representation of IEN of Clinic in VEN EHP CLINIC file + + + + + Returns string representation of IEN of template entry in VEN PCC TEMPLATE + + + + + Returns 'true' if outguide to be printed; otherwise returns 'false' + + + + + Returns string representation of IEN of CLINIC STOP + + + + + Returns 'true' if routing slip to be printed; otherwise 'false' + + + + + Appointment checkin time + + + + + Appointment end time + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + User Control that shows patient's appointments and allows printing + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Ctor + + Document Manager from main context + Patient IEN + + + + Sets the filter for the DataView on whether to show past appointments or not + + boolean - self explanatory + + + + Summary description for DSelectLetterClinics. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Returns the |-delimited string of selected resource id's + + + + + Appointment Info Dialog + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Move data from member variables to controls (b == true) + or from controls to member variables (b == false) + + + + + + Clean up any resources being used. + + + + + Summary description for DAccessGroupItem. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + If b is true, moves member vars into control data + otherwise, moves control data into member vars + + + + + + Contains the IEN of the AccessType in the BSDX_ACCESS_TYPE file + + + + + Contains the name of the AccessType + + + + + Summary description for dInputText. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + CGSchedLib contains static functions that are called from throughout the + scheduling application. + + + + + Summary description for CGAVView. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Clean up any resources being used. + + + + + Access the CalendarGrid associated with this view + + + + + Accesses the document associated with this view + + + + + Summary description for DSelectSchedules. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Returns the an ArrayList of selected resource names + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + Summary description for DApptSearch. @@ -77,19 +885,177 @@ Gets the date selected by the user + + + Contains the array of appointments and availabily that make up the document class + + + + + Update schedule based on info in RPMS + + + + + Given a selected date, + Calculates StartDay and End Day and returns them in output params. + nWeeks == number of Weeks to display + nColumnCount is number of days displayed per week. If 5 columns, begin on + Monday, if 7 Columns, begin on Sunday + + Returns TRUE if the document's data needs refreshing based on + this newly selected date. + + + + + Calls RPMS to create appointment then + adds appointment to the m_appointments collection + Returns the IEN of the appointment in the RPMS BSDX APPOINTMENT file. + + + + + + + Use this overload to create a walkin appointment + + + + + + + + Returns the latest refresh time for this document + + + + + The list of Resource names + + + + + The array of CGAvailabilities that contains appt type and slots + + + + + Contains the hashtable of appointments + + + + + Holds the date selected by the user in CGView.dateTimePicker1 + + + + + Contains the beginning date of the appointment document + + + + + Represents a strongly typed in-memory cache of data. + + + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + + + + Row event argument class + + + + + Row event argument class + + + + + Summary description for DCopyAppts. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + This class was regenerated from Calendargrid.dll using Reflector.exe + by Sam Habiel for WorldVista. The original source code is lost. + + + + + Summary description for DSplash. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Gets or sets the value of the Status displayed on the splash screen + + This class was regenerated from Calendargrid.dll using Reflector.exe by Sam Habiel for WorldVista. The original source code is lost. - + This class was regenerated from Calendargrid.dll using Reflector.exe by Sam Habiel for WorldVista. The original source code is lost. - + This class was regenerated from Calendargrid.dll using Reflector.exe by Sam Habiel for WorldVista. The original source code is lost. @@ -167,942 +1133,6 @@ Returns the list of currently opened CGAVViews - - - Summary description for DAccessTemplate. - - - - - Required designer variable. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Returns the open file dialog object - - - - - Sets or returns the start date to apply the template - - - - - Sets or returns the number of weeks to apply the template - - - - - Summary description for CGView. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Clean up any resources being used. - - - - - Marks all selected appointments as No Show - - - - - - - Delete appointment ApptID - - - - - - - Delete all selected appointments - - - - - Access the CalendarGrid associated with this view - - - - - Accesses the document associated with this view - - - - - Summary description for dInputText. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Summary description for DResource. - - - - - Required designer variable. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Clean up any resources being used. - - - - - CGSchedLib contains static functions that are called from throughout the - scheduling application. - - - - - Represents a strongly typed in-memory cache of data. - - - - - Represents the strongly named DataTable class. - - - - - Represents the strongly named DataTable class. - - - - - Represents strongly named DataRow class. - - - - - Represents strongly named DataRow class. - - - - - Row event argument class - - - - - Row event argument class - - - - - Summary description for DAccessGroup. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Gets the name of the Access Group; - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - Summary description for DSplash. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Gets or sets the value of the Status displayed on the splash screen - - - - - Summary description for DPatientApptDisplay. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Appointment Info Dialog - - - - - Required designer variable. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Move data from member variables to controls (b == true) - or from controls to member variables (b == false) - - - - - - Clean up any resources being used. - - - - - Summary description for DAccessType. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Contains the array of appointments and availabily that make up the document class - - - - - Update schedule based on info in RPMS - - - - - Given a selected date, - Calculates StartDay and End Day and returns them in output params. - nWeeks == number of Weeks to display - nColumnCount is number of days displayed per week. If 5 columns, begin on - Monday, if 7 Columns, begin on Sunday - - Returns TRUE if the document's data needs refreshing based on - this newly selected date. - - - - - Calls RPMS to create appointment then - adds appointment to the m_appointments collection - Returns the IEN of the appointment in the RPMS BSDX APPOINTMENT file. - - - - - - - Use this overload to create a walkin appointment - - - - - - - - Returns the latest refresh time for this document - - - - - The list of Resource names - - - - - The array of CGAvailabilities that contains appt type and slots - - - - - Contains the hashtable of appointments - - - - - Holds the date selected by the user in CGView.dateTimePicker1 - - - - - Contains the beginning date of the appointment document - - - - - Summary description for DManagement. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - Summary description for DSelectLetterClinics. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Returns the |-delimited string of selected resource id's - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - Summary description for DCancelAppt. - - - - - Required designer variable. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Sets or returns the rebook access type: -1 = use current type, -2 = use any type, 0 = prompt for a type - - - - - Returns true if appt cancelled by Clinic, otherwise false - - - - - Returns value of AutoRebook check box - - - - - Returns internal entry in the CANCELLATION REASON file (409.2) - - - - - Returns cancellation remarks. - - - - - Sets or returns the number of days in the future to start searching for availability - - - - - Sets and returns the maximum number of days in the future to look for rebook availability - - - - - Summary description for DPatientLookup. - - - - - Required designer variable. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Clean up any resources being used. - - - - - Gets or sets the name of the selected patient - - - - - RPMS Internal Entry Number in PATIENT file (DFN) - - - - - The string representation of the Health Record Number - - - - - Summary description for DPatientLetter. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Summary description for DCopyAppts. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Summary description for DCheckIn. - - - - - Required designer variable. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Returns string representation of internal entry number of Provider in PROVIDER File - - - - - Returns string representation of IEN of Clinic in VEN EHP CLINIC file - - - - - Returns string representation of IEN of template entry in VEN PCC TEMPLATE - - - - - Returns 'true' if outguide to be printed; otherwise returns 'false' - - - - - Returns string representation of IEN of CLINIC STOP - - - - - Returns 'true' if routing slip to be printed; otherwise 'false' - - - - - Appointment checkin time - - - - - Appointment end time - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - Summary description for DResourceGroup. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Gets the name of the resource group - - - - - Summary description for DAccessGroupItem. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Contains the IEN of the AccessType in the BSDX_ACCESS_TYPE file - - - - - Contains the name of the AccessType - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - Summary description for DSelectSchedules. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Returns the an ArrayList of selected resource names - - - - - Summary description for CGAVView. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Clean up any resources being used. - - - - - Access the CalendarGrid associated with this view - - - - - Accesses the document associated with this view - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - Summary description for DResourceGroup. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Contains the IEN of the Resource in the BSDX_RESOURCE file - - - - - Contains the name of the Resource - - - - - Summary description for DAutoRebook. - - - - - Required designer variable. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Sets or returns the rebook access type: -1 = use current type, -2 = use any type, 0 = prompt for a type - - - - - Returns value of AutoRebook check box - - - - - Sets or returns the number of days in the future to start searching for availability - - - - - Sets and returns the maximum number of days in the future to look for rebook availability - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - This class was regenerated from Calendargrid.dll using Reflector.exe - by Sam Habiel for WorldVista. The original source code is lost. - - - - - Summary description for DResourceUser. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - If b is true, moves member vars into control data - otherwise, moves control data into member vars - - - - - - The ID of the Resource User in the NEW PERSON file. - - - - - True if the user is allowed to modify the resource's scheduled availability - - - - - True if the user is allowed to overbook beyond the resource's scheduled availability - - - - - True if the user is allowed to create, edit and delete appointments - - Contains array of availability blocks for a scheduling resource diff --git a/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe b/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe index ff1383c157872be0b8214acc1e61a52ecce8b145..cc05d8001cc40b928520cc7397209ef857ebfeb2 100644 GIT binary patch delta 409 zcmZozpwiHwGND6C+eg-$0SX>4Ffnp7axgGl0AhuSi?Wy;_$Mj~PgZ1X=W^f&DdJ>c z5SYA)QJd)lNArEg_WO(=%ml>DK+FQftU%1R{XQdmcN&WhpQv|xUIzR2ybO*>{sMbM zUoPIhf13a7QpJ@^pFeinF0g~+pSn0R12fQI4F-k=J|GO<#&q2W9O9Y{KrTpn z29Ra}(i?y@kU|2C3=H)Q3@4`N0+q8o07_54@PI>v=?BB~a}PMg7&)e&1xheVKqw6` z6>0(0G=qhc;RO@IpaynM1`VJ%46NYbWXNEH@qpgu=VUNIa2Y%pIT?IFPJ;rU=@TDv z%x7FP-S82IGGoW~&_^8hOw1k({L`mD;V>4lV9;YQWUyo~0zyNmmhBmwtW{jo1Kx8O POkc#ya&Rjn=YM_xMg&|% delta 986 zcma)3&rcIk5T4f-*hMHMm`L=ptRxyqe_%-@q!mfj(5Qif7;d_5U+L=Z+jZZzp;SO2875lA^>b*q}HC_3t9bZLj&tWWVzew_Ya8x()wF65(4p2oh;XhA0dn| zMg*e+qtmOCt|x`aNc3ahGAnj@tSCI4iG7csGavs>Prv$hd+yVCW6X4dDd2)S}rI-D#24BwE9X&k+%Jd`kg7bct}bxuR9r5kx37EOafH4$I!#H?F zvEyO48`~99)!ldRGn0#kE|saxHIrrK(L_p?C{xY6#ul>j+|8@;aarPy!t#o4GMbeu zl*^MBd%H6V=hV2XS0of*JS&%MHo?^*H548XPn%jjXKj z94njmsVz$-ZAw)s$CoT9I;X+4Bt#~8h@Cy}$phvy$@VkgflPAmCt>1kzvytI9{DBw G?fVB1c?GEe diff --git a/cs/bsdx0200GUISourceCode/crPatientApptDisplay.cs b/cs/bsdx0200GUISourceCode/crPatientApptDisplay.cs deleted file mode 100644 index 32a6148..0000000 --- a/cs/bsdx0200GUISourceCode/crPatientApptDisplay.cs +++ /dev/null @@ -1,159 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -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; - } - } -} diff --git a/cs/bsdx0200GUISourceCode/crPatientApptDisplay.rpt b/cs/bsdx0200GUISourceCode/crPatientApptDisplay.rpt deleted file mode 100644 index e60d4706c3fe6bdf0881c201e0d046a70ee1dbc3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeI22Ut`~mVlcKl5>&f(i(TO-6#`EICR>0a0?! ziV`GguXnbx)nDy40cfE$LKB5#2QGZ$uo10Xsax zgJJ(F9}T35kH3?^U}PW-C3jDJv#IV@yZS@Sg- zRPHLp&%)B6b*Np7AD@o@;0}NPGZ_pW?YMnN|9y$S&tU{vm5?(7!GdYRoM5)#GWqfB z*FZlkL7yCc)AN~7T_P0JSfcBwzbKHmDD)U=;ebB-QL><^&6Fj{mxc*UFKWqH; zCk1F9x)nO$_dY)~x7neI4&=BlG$y~E|Ho^>e>DH0eE?eTNdeG4Kn{S0loCJ%pa#$Y zXaRHpdH@3eS~nn=K$;oA0yqO;1)K$(1F!+k11 zet-brGC&X@1P}&@07L;|fGYrTfCS(wKoTGYkOs&AWC3yjd4K}o8bA?n9iRkI2B-j3 z0cwCh`#N|CW(+3qo~eMOja^l1lAI^FFwXNO!;oM6Z60Lr6!63Gz8?p^Lw=VGfc$3w z0Qt}q0CKMt0JN8U13>G_=3S01Zt~HK3urMjvR% z-^_uAe9i`Fs1Hb>A&CYW>c<>t9P%s32i3rQhGy^2b%hy>^F46g1v$`aWBXU@4YVHo zuJS2TeNA zAQ>10G?)Y-b!fU(=GExD!G$Y~9_kHyftB>`Xu&s##`+2joS*i@sSM7}S?Ac6k1Mz_ z>um^g+C4)r>cFnnL7dAI@?ApAwc``Bg~W60yXd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