context: using System;
  using System.Drawing;
  using System.Collections;
  using System.ComponentModel;
  using System.Globalization;
  using System.IO;
  using System.Text.RegularExpressions;
  using System.Windows.Forms;
  using OpenDentBusiness;
  using System.Collections.Generic;
  
  namespace OpenDental{
  	/// <summary>
  	/// Summary description for FormBasicTemplate.
  	/// </summary>
  	public class FormClearinghouseEdit : System.Windows.Forms.Form{
  		private OpenDental.UI.Button butCancel;
  		private OpenDental.UI.Button butOK;
  		/// <summary>
  		/// Required designer variable.
  		/// </summary>
  		private System.ComponentModel.Container components = null;
  		private System.Windows.Forms.Label labelExportPath;
  		private System.Windows.Forms.Label label6;
  		private OpenDental.UI.Button butDelete;
  		private System.Windows.Forms.TextBox textDescription;
  		private System.Windows.Forms.Label label1;
  		private System.Windows.Forms.TextBox textBox2;
  		private System.Windows.Forms.TextBox textPayors;
  		///<summary></summary>
  		public bool IsNew;
  		private System.Windows.Forms.TextBox textExportPath;
  		private System.Windows.Forms.Label label4;
  		private System.Windows.Forms.TextBox textISA08;
  		private System.Windows.Forms.Label label5;
  		private System.Windows.Forms.Label labelReportPath;
  		private System.Windows.Forms.Label labelPassword;
  		private System.Windows.Forms.ComboBox comboFormat;
  		private System.Windows.Forms.Label label7;
  		private System.Windows.Forms.TextBox textPassword;
  		private System.Windows.Forms.Label labelClientProgram;
  		private System.Windows.Forms.TextBox textResponsePath;
  		private System.Windows.Forms.ComboBox comboCommBridge;
  		private System.Windows.Forms.TextBox textClientProgram;
  		private System.Windows.Forms.Label label12;
  		private System.Windows.Forms.TextBox textModemPort;
  		private System.Windows.Forms.Label label13;
  		private System.Windows.Forms.Label label14;
  		private System.Windows.Forms.TextBox textLoginID;
  		private System.Windows.Forms.Label labelLoginID;
  		private GroupBox groupBox1;
  		private Label label9;
  		private TextBox textISA05;
  		private Label label16;
  		private TextBox textSenderTIN;
  		private Label label19;
  		private TextBox textISA07;
  		private Label label20;
  		private Label label21;
  		private Label label22;
  		private TextBox textISA15;
  		private Label label23;
  		private GroupBox groupBox2;
  		private Label labelSenderTelephone;
  		private Label labelSenderName;
  		private Label labelTIN;
  		private TextBox textSenderTelephone;
  		private TextBox textSenderName;
  		private RadioButton radioSenderBelow;
  		private RadioButton radioSenderOD;
  		private Label label17;
  		private Label label18;
  		private TextBox textGS03;
  		private Label label24;
  		private Label label29;
  		private Label label30;
  		private Label label31;
  		private TextBox textISA02;
  		private Label label32;
  		private Label label3;
  		private TextBox textISA04;
  		private Label label28;
  		private GroupBox groupBox3;
  		private Label label33;
  		private TextBox textSeparatorData;
  		private Label label34;
  		private Label label35;
  		private TextBox textISA16;
  		private Label label36;
  		private Label label37;
  		private TextBox textSeparatorSegment;
  		private Label label38;
  		private Label labelInfo;
  		private ComboBox comboClinic;
  		private Clearinghouse ClearinghouseClin;
  		///<summary>This must be set externally before opening the form.  The HQ version of the clearinghouse.  
  		///This may not be null.  Assign a new clearinghouse object to this if creating a new clearinghouse.</summary>
  		public Clearinghouse ClearinghouseHq;
  		///<summary>This is never edited from within this form.  Set externally for reference to use in the Sync() method.</summary>		
  		///This may not be null.  Assign a new clearinghouse object to this if creating a new clearinghouse.</summary>
  		public Clearinghouse ClearinghouseHqOld;
  		///<summary>This must be set externally before opening the form.  This is the clearinghouse used to display, with properly overridden fields.
  		///This may not be null.  Assign a new clearinghouse object to this if creating a new clearinghouse.</summary>
  		public Clearinghouse ClearinghouseCur;
  		///<summary>Set this outside of the form.  0 for HQ.</summary>
  		public long ClinicNum;
  		/// <summary>List of all available clinics.  Cannot be null.</summary>
  		public List<Clinic> ListClinics;
  		///<summary>List of all clinic-level clearinghouses for the current clearinghousenum.  
  		///May not be null.  Assign a new list of clearinghouse objects to this if creating a new clearinghouse.</summary>
  		public List<Clearinghouse> ListClearinghousesClinCur;
  		///<summary>This is never edited from within this form.  Set externally for reference to use in the Sync() method.
  		///May not be null.  Assign a new list of clearinghouse objects to this if creating a new clearinghouse.</summary>
  		public List<Clearinghouse> ListClearinghousesClinOld;
  		private Label labelClinic;
  		private int clinicSelectionLastIndex=-1;
  
  		///<summary></summary>
  		public FormClearinghouseEdit()
  		{
  			//
  			// Required for Windows Form Designer support
  			//
  			InitializeComponent();
  			Lan.F(this);
  			Lan.C(this, new System.Windows.Forms.Control[]
  			{
  				this.textBox2
  			});
  		}
  
  		/// <summary>
  		/// Clean up any resources being used.
  		/// </summary>
  		protected override void Dispose( bool disposing )
  		{
  			if( disposing )
  			{
  				if(components != null)
  				{
  					components.Dispose();
  				}
  			}
  			base.Dispose( disposing );
  		}
  
  		#region Windows Form 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()
  		{
  			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormClearinghouseEdit));
  			this.textDescription = new System.Windows.Forms.TextBox();
  			this.labelExportPath = new System.Windows.Forms.Label();
  			this.textExportPath = new System.Windows.Forms.TextBox();
  			this.label6 = new System.Windows.Forms.Label();
  			this.textPayors = new System.Windows.Forms.TextBox();
  			this.label1 = new System.Windows.Forms.Label();
  			this.textBox2 = new System.Windows.Forms.TextBox();
  			this.label4 = new System.Windows.Forms.Label();
  			this.textISA08 = new System.Windows.Forms.TextBox();
  			this.label5 = new System.Windows.Forms.Label();
  			this.textResponsePath = new System.Windows.Forms.TextBox();
  			this.labelReportPath = new System.Windows.Forms.Label();
  			this.textPassword = new System.Windows.Forms.TextBox();
  			this.labelPassword = new System.Windows.Forms.Label();
  			this.comboFormat = new System.Windows.Forms.ComboBox();
  			this.comboCommBridge = new System.Windows.Forms.ComboBox();
  			this.label7 = new System.Windows.Forms.Label();
  			this.textClientProgram = new System.Windows.Forms.TextBox();
  			this.labelClientProgram = new System.Windows.Forms.Label();
  			this.label12 = new System.Windows.Forms.Label();
  			this.textModemPort = new System.Windows.Forms.TextBox();
  			this.label13 = new System.Windows.Forms.Label();
  			this.label14 = new System.Windows.Forms.Label();
  			this.textLoginID = new System.Windows.Forms.TextBox();
  			this.labelLoginID = new System.Windows.Forms.Label();
  			this.groupBox1 = new System.Windows.Forms.GroupBox();
  			this.groupBox3 = new System.Windows.Forms.GroupBox();
  			this.label37 = new System.Windows.Forms.Label();
  			this.textSeparatorSegment = new System.Windows.Forms.TextBox();
  			this.label38 = new System.Windows.Forms.Label();
  			this.label35 = new System.Windows.Forms.Label();
  			this.textISA16 = new System.Windows.Forms.TextBox();
  			this.label36 = new System.Windows.Forms.Label();
  			this.label33 = new System.Windows.Forms.Label();
  			this.textSeparatorData = new System.Windows.Forms.TextBox();
  			this.label34 = new System.Windows.Forms.Label();
  			this.label31 = new System.Windows.Forms.Label();
  			this.textISA02 = new System.Windows.Forms.TextBox();
  			this.label32 = new System.Windows.Forms.Label();
  			this.label3 = new System.Windows.Forms.Label();
  			this.textISA04 = new System.Windows.Forms.TextBox();
  			this.label28 = new System.Windows.Forms.Label();
  			this.label18 = new System.Windows.Forms.Label();
  			this.textGS03 = new System.Windows.Forms.TextBox();
  			this.label24 = new System.Windows.Forms.Label();
  			this.groupBox2 = new System.Windows.Forms.GroupBox();
  			this.label30 = new System.Windows.Forms.Label();
  			this.label29 = new System.Windows.Forms.Label();
  			this.textSenderTelephone = new System.Windows.Forms.TextBox();
  			this.textSenderName = new System.Windows.Forms.TextBox();
  			this.radioSenderBelow = new System.Windows.Forms.RadioButton();
  			this.radioSenderOD = new System.Windows.Forms.RadioButton();
  			this.labelSenderTelephone = new System.Windows.Forms.Label();
  			this.labelSenderName = new System.Windows.Forms.Label();
  			this.labelTIN = new System.Windows.Forms.Label();
  			this.textSenderTIN = new System.Windows.Forms.TextBox();
  			this.label22 = new System.Windows.Forms.Label();
  			this.textISA15 = new System.Windows.Forms.TextBox();
  			this.label23 = new System.Windows.Forms.Label();
  			this.label21 = new System.Windows.Forms.Label();
  			this.label19 = new System.Windows.Forms.Label();
  			this.textISA07 = new System.Windows.Forms.TextBox();
  			this.label20 = new System.Windows.Forms.Label();
  			this.label16 = new System.Windows.Forms.Label();
  			this.textISA05 = new System.Windows.Forms.TextBox();
  			this.label9 = new System.Windows.Forms.Label();
  			this.label17 = new System.Windows.Forms.Label();
  			this.labelInfo = new System.Windows.Forms.Label();
  			this.comboClinic = new System.Windows.Forms.ComboBox();
  			this.butDelete = new OpenDental.UI.Button();
  			this.butOK = new OpenDental.UI.Button();
  			this.butCancel = new OpenDental.UI.Button();
  			this.labelClinic = new System.Windows.Forms.Label();
  			this.groupBox1.SuspendLayout();
  			this.groupBox3.SuspendLayout();
  			this.groupBox2.SuspendLayout();
  			this.SuspendLayout();
  			// 
  			// textDescription
  			// 
  			this.textDescription.Location = new System.Drawing.Point(251, 26);
  			this.textDescription.MaxLength = 255;
  			this.textDescription.Name = "textDescription";
  			this.textDescription.Size = new System.Drawing.Size(226, 20);
  			this.textDescription.TabIndex = 1;
  			// 
  			// labelExportPath
  			// 
  			this.labelExportPath.Location = new System.Drawing.Point(78, 416);
  			this.labelExportPath.Name = "labelExportPath";
  			this.labelExportPath.Size = new System.Drawing.Size(172, 17);
  			this.labelExportPath.TabIndex = 0;
  			this.labelExportPath.Text = "Claim Export Path";
  			this.labelExportPath.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// textExportPath
  			// 
  			this.textExportPath.Location = new System.Drawing.Point(251, 413);
  			this.textExportPath.MaxLength = 255;
  			this.textExportPath.Name = "textExportPath";
  			this.textExportPath.Size = new System.Drawing.Size(317, 20);
  			this.textExportPath.TabIndex = 5;
  			// 
  			// label6
  			// 
  			this.label6.Location = new System.Drawing.Point(35, 29);
  			this.label6.Name = "label6";
  			this.label6.Size = new System.Drawing.Size(214, 17);
  			this.label6.TabIndex = 0;
  			this.label6.Text = "Description";
  			this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// textPayors
  			// 
  			this.textPayors.Location = new System.Drawing.Point(251, 541);
  			this.textPayors.MaxLength = 255;
  			this.textPayors.Multiline = true;
  			this.textPayors.Name = "textPayors";
  			this.textPayors.Size = new System.Drawing.Size(377, 60);
  			this.textPayors.TabIndex = 11;
  			// 
  			// label1
  			// 
  			this.label1.Location = new System.Drawing.Point(99, 544);
  			this.label1.Name = "label1";
  			this.label1.Size = new System.Drawing.Size(151, 17);
  			this.label1.TabIndex = 0;
  			this.label1.Text = "Payors";
  			this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// textBox2
  			// 
  			this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
  			this.textBox2.Location = new System.Drawing.Point(251, 604);
  			this.textBox2.MaxLength = 255;
  			this.textBox2.Multiline = true;
  			this.textBox2.Name = "textBox2";
  			this.textBox2.ReadOnly = true;
  			this.textBox2.Size = new System.Drawing.Size(390, 44);
  			this.textBox2.TabIndex = 0;
  			this.textBox2.TabStop = false;
  			this.textBox2.Text = "The list of payor IDs should be separated by commas with no spaces or other punct" +
      "uation.  For instance: 01234,23456 is valid.  You do not have to enter any payor" +
      " ID\'s for a default Clearinghouse.";
  			// 
  			// label4
  			// 
  			this.label4.Location = new System.Drawing.Point(99, 457);
  			this.label4.Name = "label4";
  			this.label4.Size = new System.Drawing.Size(151, 17);
  			this.label4.TabIndex = 0;
  			this.label4.Text = "Format";
  			this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// textISA08
  			// 
  			this.textISA08.Location = new System.Drawing.Point(242, 231);
  			this.textISA08.MaxLength = 255;
  			this.textISA08.Name = "textISA08";
  			this.textISA08.Size = new System.Drawing.Size(96, 20);
  			this.textISA08.TabIndex = 7;
  			// 
  			// label5
  			// 
  			this.label5.Location = new System.Drawing.Point(9, 232);
  			this.label5.Name = "label5";
  			this.label5.Size = new System.Drawing.Size(232, 17);
  			this.label5.TabIndex = 0;
  			this.label5.Text = "Clearinghouse ID (ISA08)";
  			this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  			// 
  			// textResponsePath
  			// 
  			this.textResponsePath.Location = new System.Drawing.Point(251, 434);
  			this.textResponsePath.MaxLength = 255;
  			this.textResponsePath.Name = "textResponsePath";
  			this.textResponsePath.Size = new System.Drawing.Size(317, 20);
  			this.textResponsePath.TabIndex = 6;
  			// 
  			// labelReportPath
  			// 
  			this.labelReportPath.Location = new System.Drawing.Point(78, 437);
  			this.labelReportPath.Name = "labelReportPath";
  			this.labelReportPath.Size = new System.Drawing.Size(172, 17);
  			this.labelReportPath.TabIndex = 0;
  			this.labelReportPath.Text = "Report Path";
  			this.labelReportPath.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// textPassword
  			// 
  			this.textPassword.Location = new System.Drawing.Point(251, 392);
  			this.textPassword.MaxLength = 255;
  			this.textPassword.Name = "textPassword";
  			this.textPassword.Size = new System.Drawing.Size(96, 20);
  			this.textPassword.TabIndex = 4;
  			// 
  			// labelPassword
  			// 
  			this.labelPassword.Location = new System.Drawing.Point(98, 395);
  			this.labelPassword.Name = "labelPassword";
  			this.labelPassword.Size = new System.Drawing.Size(151, 17);
  			this.labelPassword.TabIndex = 0;
  			this.labelPassword.Text = "Password";
  			this.labelPassword.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// comboFormat
  			// 
  			this.comboFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  			this.comboFormat.Location = new System.Drawing.Point(251, 455);
  			this.comboFormat.Name = "comboFormat";
  			this.comboFormat.Size = new System.Drawing.Size(145, 21);
  			this.comboFormat.TabIndex = 7;
  			// 
  			// comboCommBridge
  			// 
  			this.comboCommBridge.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  			this.comboCommBridge.Location = new System.Drawing.Point(251, 477);
  			this.comboCommBridge.MaxDropDownItems = 20;
  			this.comboCommBridge.Name = "comboCommBridge";
  			this.comboCommBridge.Size = new System.Drawing.Size(145, 21);
  			this.comboCommBridge.TabIndex = 8;
  			// 
  			// label7
  			// 
  			this.label7.Location = new System.Drawing.Point(98, 480);
  			this.label7.Name = "label7";
  			this.label7.Size = new System.Drawing.Size(151, 17);
  			this.label7.TabIndex = 0;
  			this.label7.Text = "Comm Bridge";
  			this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// textClientProgram
  			// 
  			this.textClientProgram.Location = new System.Drawing.Point(251, 520);
  			this.textClientProgram.MaxLength = 255;
  			this.textClientProgram.Name = "textClientProgram";
  			this.textClientProgram.Size = new System.Drawing.Size(317, 20);
  			this.textClientProgram.TabIndex = 10;
  			// 
  			// labelClientProgram
  			// 
  			this.labelClientProgram.Location = new System.Drawing.Point(78, 523);
  			this.labelClientProgram.Name = "labelClientProgram";
  			this.labelClientProgram.Size = new System.Drawing.Size(172, 17);
  			this.labelClientProgram.TabIndex = 0;
  			this.labelClientProgram.Text = "Launch Client Program";
  			this.labelClientProgram.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// label12
  			// 
  			this.label12.Location = new System.Drawing.Point(248, 350);
  			this.label12.Name = "label12";
  			this.label12.Size = new System.Drawing.Size(358, 18);
  			this.label12.TabIndex = 0;
  			this.label12.Text = "Not all values are required by each clearinghouse / carrier.";
  			this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  			// 
  			// textModemPort
  			// 
  			this.textModemPort.Location = new System.Drawing.Point(251, 499);
  			this.textModemPort.MaxLength = 255;
  			this.textModemPort.Name = "textModemPort";
  			this.textModemPort.Size = new System.Drawing.Size(32, 20);
  			this.textModemPort.TabIndex = 9;
  			this.textModemPort.Visible = false;
  			// 
  			// label13
  			// 
  			this.label13.Location = new System.Drawing.Point(78, 502);
  			this.label13.Name = "label13";
  			this.label13.Size = new System.Drawing.Size(172, 17);
  			this.label13.TabIndex = 0;
  			this.label13.Text = "Modem Port (1-4)";
  			this.label13.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			this.label13.Visible = false;
  			// 
  			// label14
  			// 
  			this.label14.Location = new System.Drawing.Point(287, 503);
  			this.label14.Name = "label14";
  			this.label14.Size = new System.Drawing.Size(267, 17);
  			this.label14.TabIndex = 0;
  			this.label14.Text = "(only if dialup)";
  			this.label14.Visible = false;
  			// 
  			// textLoginID
  			// 
  			this.textLoginID.Location = new System.Drawing.Point(251, 371);
  			this.textLoginID.MaxLength = 255;
  			this.textLoginID.Name = "textLoginID";
  			this.textLoginID.Size = new System.Drawing.Size(96, 20);
  			this.textLoginID.TabIndex = 3;
  			// 
  			// labelLoginID
  			// 
  			this.labelLoginID.Location = new System.Drawing.Point(98, 374);
  			this.labelLoginID.Name = "labelLoginID";
  			this.labelLoginID.Size = new System.Drawing.Size(151, 17);
  			this.labelLoginID.TabIndex = 0;
  			this.labelLoginID.Text = "Login ID";
  			this.labelLoginID.TextAlign = System.Drawing.ContentAlignment.TopRight;
  			// 
  			// groupBox1
  			// 
  			this.groupBox1.Controls.Add(this.groupBox3);
  			this.groupBox1.Controls.Add(this.label31);
  			this.groupBox1.Controls.Add(this.textISA02);
  			this.groupBox1.Controls.Add(this.label32);
  			this.groupBox1.Controls.Add(this.label3);
  			this.groupBox1.Controls.Add(this.textISA04);
  			this.groupBox1.Controls.Add(this.label28);
  			this.groupBox1.Controls.Add(this.label18);
  			this.groupBox1.Controls.Add(this.textGS03);
  			this.groupBox1.Controls.Add(this.label24);
  			this.groupBox1.Controls.Add(this.groupBox2);
  			this.groupBox1.Controls.Add(this.label22);
  			this.groupBox1.Controls.Add(this.textISA15);
  			this.groupBox1.Controls.Add(this.label23);
  			this.groupBox1.Controls.Add(this.label21);
  			this.groupBox1.Controls.Add(this.label19);
  			this.groupBox1.Controls.Add(this.textISA07);
  			this.groupBox1.Controls.Add(this.label20);
  			this.groupBox1.Controls.Add(this.label16);
  			this.groupBox1.Controls.Add(this.textISA05);
  			this.groupBox1.Controls.Add(this.label9);
  			this.groupBox1.Controls.Add(this.textISA08);
  			this.groupBox1.Controls.Add(this.label5);
  			this.groupBox1.Location = new System.Drawing.Point(9, 50);
  			this.groupBox1.Name = "groupBox1";
  			this.groupBox1.Size = new System.Drawing.Size(924, 298);
  			this.groupBox1.TabIndex = 2;
  			this.groupBox1.TabStop = false;
  			this.groupBox1.Text = "X12 Required Fields - Provided by Clearinghouse or Carrier";
  			// 
  			// groupBox3
  			// 
  			this.groupBox3.Controls.Add(this.label37);
  			this.groupBox3.Controls.Add(this.textSeparatorSegment);
  			this.groupBox3.Controls.Add(this.label38);
  			this.groupBox3.Controls.Add(this.label35);
  			this.groupBox3.Controls.Add(this.textISA16);
  			this.groupBox3.Controls.Add(this.label36);
  			this.groupBox3.Controls.Add(this.label33);
  			this.groupBox3.Controls.Add(this.textSeparatorData);
  			this.groupBox3.Controls.Add(this.label34);
  			this.groupBox3.Location = new System.Drawing.Point(484, 83);
  			this.groupBox3.Name = "groupBox3";
  			this.groupBox3.Size = new System.Drawing.Size(435, 124);
  			this.groupBox3.TabIndex = 5;
  			this.groupBox3.TabStop = false;
  			this.groupBox3.Text = "Hexadecimal Delimiters (Always blank except for Denti-Cal)";
  			// 
  			// label37
  			// 
  			this.label37.Location = new System.Drawing.Point(318, 62);
  			this.label37.Name = "label37";
  			this.label37.Size = new System.Drawing.Size(107, 15);
  			this.label37.TabIndex = 0;
  			this.label37.Text = "\"1C\" for Denti-Cal.";
  			this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  			// 
  			// textSeparatorSegment
  			// 
  			this.textSeparatorSegment.Location = new System.Drawing.Point(221, 60);
  			this.textSeparatorSegment.MaxLength = 255;
  			this.textSeparatorSegment.Name = "textSeparatorSegment";
  			this.textSeparatorSegment.Size = new System.Drawing.Size(96, 20);
  			this.textSeparatorSegment.TabIndex = 3;
  			// 
  			// label38
  			// 
  			this.label38.Location = new System.Drawing.Point(6, 61);
  			this.label38.Name = "label38";
  			this.label38.Size = new System.Drawing.Size(209, 16);
  			this.label38.TabIndex = 0;
  			this.label38.Text = "Segment Terminator";
  			this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  			// 
  			// label35
  			// 
  			this.label35.Location = new System.Drawing.Point(318, 40);
  			this.label35.Name = "label35";
  			this.label35.Size = new System.Drawing.Size(107, 15);
  			this.label35.TabIndex = 0;
  			this.label35.Text = "\"22\" for Denti-Cal.";
  			this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  			// 
  			// textISA16
  			// 
  			this.textISA16.Location = new System.Drawing.Point(221, 38);
  			this.textISA16.MaxLength = 255;
  			this.textISA16.Name = "textISA16";
  			this.textISA16.Size = new System.Drawing.Size(96, 20);
  			this.textISA16.TabIndex = 2;
  			// 
  			// label36
  			// 
  			this.label36.Location = new System.Drawing.Point(6, 39);
  			this.label36.Name = "label36";
  			this.label36.Size = new System.Drawing.Size(209, 16);
  			this.label36.TabIndex = 0;
  			this.label36.Text = "Component Element Separator (ISA16)";
  			this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  			// 
  			// label33
  			// 
  			this.label33.Location = new System.Drawing.Point(318, 18);
  			this.label33.Name = "label33";
  			this.label33.Size = new System.Drawing.Size(107, 18);
  			this.label33.TabIndex = 0;
  			this.label33.Text = "\"1D\" for Denti-Cal.";
  			this.label33.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  			// 
  			// textSeparatorData
  			// 
  			this.textSeparatorData.Location = new System.Drawing.Point(221, 16);
  			this.textSeparatorData.MaxLength = 255;
  			this.textSeparatorData.Name = "textSeparatorData";
  			this.textSeparatorData.Size = new System.Drawing.Size(96, 20);
  			this.textSeparatorData.TabIndex = 1;
  			// 
  			// label34
  			// 
  			this.label34.Location = new System.Drawing.Point(9, 17);
  			this.label34.Name = "label34";
  			this.label34.Size = new System.Drawing.Size(206, 16);
  			this.label34.TabIndex = 0;
  			this.label34.Text = "Data Element Separator";
  			this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  			// 
  			// label31
  			// 
  			this.label31.Location = new System.Drawing.Point(339, 17);
  			this.label31.Name = "label31";
  			this.label31.Size = new System.Drawing.Size(231, 15);
  			this.label31.TabIndex = 0;
  			this.label31.Text = "Usually blank. \"DENTICAL\" for Denti-Cal.";
  			this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  			// 
  			// textISA02
  			// 
  			this.textISA02.Location = new System.Drawing.Point(242, 15);
  			this.textISA02.MaxLength = 255;
  			this.textISA02.Name = "textISA02";
  			this.textISA02.Size = new System.Drawing.Size(96, 20);
  			this.textISA02.TabIndex = 1;
  			// 
  			// label32
  			// 
  			this.label32.Location = new System.Drawing.Point(6, 16);
  			this.label32.Name = "label32";
  			this.label32.Size = new System.Drawing.Size(235, 17);
  			this.label32.TabIndex = 0;
  			this.label32.Text = "Authorization Information (ISA02)";
  			this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  			// 
  			// label3
  			// 
  			this.label3.Location = new System.Drawing.Point(339, 39);
  			this.label3.Name = "label3";
  			this.label3.Size = new System.Drawing.Size(231, 15);
  			this.label3.TabIndex = 0;
  			this.label3.Text = "Usually blank. \"NONE\" for Denti-Cal.";
  			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  			// 
  			// textISA04
  			// 
  			this.textISA04.Location = new System.Drawing.Point(242, 37);
  			this.textISA04.MaxLength = 255;
  			this.textISA04.Name = "textISA04";
  			this.textISA04.Size = new System.Drawing.Size(96, 20);
  			this.textISA04.TabIndex = 2;
  			// 
  			// label28
  			// 
  			this.label28.Location = new System.Drawing.Point(6, 38);
  			this.label28.Name = "label28";
  			this.label28.Size = new System.Drawing.Size(235, 17);
  			this.label28.TabIndex = 0;
  
gt: 			this.label28.Text = "Security Information (ISA04)";