diff --git a/.idea/.idea.FWA_MAIN/.idea/indexLayout.xml b/.idea/.idea.FWA_MAIN/.idea/indexLayout.xml index 7b08163..3b17e0a 100644 --- a/.idea/.idea.FWA_MAIN/.idea/indexLayout.xml +++ b/.idea/.idea.FWA_MAIN/.idea/indexLayout.xml @@ -2,7 +2,11 @@ - + + FWA_MAIN/Prescription.aspx + FWA_MAIN/physNew.aspx + FWA_MAIN/preNew.aspx + \ No newline at end of file diff --git a/.idea/config/applicationhost.config b/.idea/config/applicationhost.config index 976a66d..15916dc 100644 --- a/.idea/config/applicationhost.config +++ b/.idea/config/applicationhost.config @@ -155,7 +155,7 @@ - + diff --git a/FWA_MAIN/FWA_MAIN.csproj b/FWA_MAIN/FWA_MAIN.csproj index 63a1661..d8c8b0a 100644 --- a/FWA_MAIN/FWA_MAIN.csproj +++ b/FWA_MAIN/FWA_MAIN.csproj @@ -237,6 +237,8 @@ + + diff --git a/FWA_MAIN/PharmactDataTier.cs b/FWA_MAIN/PharmactDataTier.cs index 76e6464..0998d96 100644 --- a/FWA_MAIN/PharmactDataTier.cs +++ b/FWA_MAIN/PharmactDataTier.cs @@ -959,7 +959,7 @@ namespace FWA_MAIN } } - public static double GetNextRxNum() + public static string GetNextRxNum() { try { @@ -984,10 +984,17 @@ namespace FWA_MAIN { // MessageBox.Show("Error Getting next Rx Number", "ERROR", MessageBoxButtons.OK); } + string stringval = value.ToString(); + while (stringval.Length < 11) + { + stringval = "0" + stringval; + } // return dataSet - return value; + return stringval; + + } catch (Exception ex) { @@ -1307,6 +1314,51 @@ namespace FWA_MAIN myConn.Close(); } } + + + public static void CreatePrescription2( + string RxNum, + string Patient_id, + string Medication_id, + string Physician_id, + int Completed_refills, + int Max_refills, + DateTime start, + DateTime end) + { + try + { + myConn.Open(); + + cmdString.Parameters.Clear(); + + cmdString.Connection = myConn; + cmdString.CommandType = CommandType.StoredProcedure; + cmdString.CommandTimeout = 1500; + + cmdString.CommandText = "CreatePrescription2"; + + cmdString.Parameters.Add("@Medication_id", SqlDbType.VarChar, 7).Value = Medication_id; + cmdString.Parameters.Add("@numRefills", SqlDbType.VarChar, 60).Value = Max_refills; + cmdString.Parameters.Add("@pastNumRefills", SqlDbType.VarChar, 30).Value = Completed_refills; + cmdString.Parameters.Add("@Physician_id", SqlDbType.VarChar, 30).Value = Physician_id; + cmdString.Parameters.Add("@Patient_id", SqlDbType.VarChar, 100).Value = Patient_id; + cmdString.Parameters.Add("@RxNum", SqlDbType.VarChar, 30).Value = RxNum; + cmdString.Parameters.Add("@start", SqlDbType.DateTime).Value = start; + cmdString.Parameters.Add("@end", SqlDbType.DateTime).Value = end; + + cmdString.ExecuteNonQuery(); + + } + catch (Exception ex) + { + throw new ArgumentException(ex.Message); + } + finally + { + myConn.Close(); + } + } public static void UpdatePrescription( string RxNum, @@ -1349,6 +1401,50 @@ namespace FWA_MAIN myConn.Close(); } } + + public static void UpdatePrescription( + string RxNum, + string Patient_id, + string Medication_id, + string Physician_id, + int Completed_refills, + int Max_refills, + DateTime start, + DateTime end) + { + try + { + myConn.Open(); + + cmdString.Parameters.Clear(); + + cmdString.Connection = myConn; + cmdString.CommandType = CommandType.StoredProcedure; + cmdString.CommandTimeout = 1500; + + cmdString.CommandText = "UpdatePrescription2"; + + cmdString.Parameters.Add("@Medication_id", SqlDbType.VarChar, 7).Value = Medication_id; + cmdString.Parameters.Add("@numRefills", SqlDbType.VarChar, 60).Value = Max_refills; + cmdString.Parameters.Add("@pastNumRefills", SqlDbType.VarChar, 30).Value = Completed_refills; + cmdString.Parameters.Add("@Physician_id", SqlDbType.VarChar, 30).Value = Physician_id; + cmdString.Parameters.Add("@Patient_id", SqlDbType.VarChar, 100).Value = Patient_id; + cmdString.Parameters.Add("@RxNum", SqlDbType.VarChar, 30).Value = RxNum; + cmdString.Parameters.Add("@start", SqlDbType.DateTime).Value = start; + cmdString.Parameters.Add("@end", SqlDbType.DateTime).Value = end; + + cmdString.ExecuteNonQuery(); + + } + catch (Exception ex) + { + throw new ArgumentException(ex.Message); + } + finally + { + myConn.Close(); + } + } // public static void FillComboBox(string table, string ValueMember, string displayMember, ComboBox myComboBox) // { diff --git a/FWA_MAIN/Prescription.aspx b/FWA_MAIN/Prescription.aspx index 08e3115..2c68393 100644 --- a/FWA_MAIN/Prescription.aspx +++ b/FWA_MAIN/Prescription.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="Prescription" Language="C#" MasterPageFile="main.master" CodeBehind="Prescription.aspx.cs" Inherits="FWA_MAIN.Prescription" %> +<%@ Page Title="Prescription" EnableEventValidation="false" Language="C#" MasterPageFile="main.master" CodeBehind="Prescription.aspx.cs" Inherits="FWA_MAIN.Prescription" %> @@ -21,12 +21,11 @@
- -
-
- - - + + +
+ +
@@ -43,23 +42,40 @@

- -
-
- - - - - - + + +
+ +
- +
- - - + +
+ + + + + + + + + + + +
+ + style="display: none; width: auto"> +
    +
  • + +
  • +
  • + +
  • +
  • + +
  • + + <%-- --%> +
+ - +
\ No newline at end of file diff --git a/FWA_MAIN/Prescription.aspx.cs b/FWA_MAIN/Prescription.aspx.cs index 6e946a7..1b31679 100644 --- a/FWA_MAIN/Prescription.aspx.cs +++ b/FWA_MAIN/Prescription.aspx.cs @@ -1,5 +1,7 @@ using System; using System.Web.UI; +using System.Data; +using System.Web.UI.WebControls; namespace FWA_MAIN { @@ -8,19 +10,200 @@ namespace FWA_MAIN protected void Page_Load(object sender, EventArgs e) { + if (!IsPostBack) + { + + txtRxNum.Text = Convert.ToString(Session["vRxNum"]); + txtPhysID.Text = Convert.ToString(Session["vPhysID"]); + txtPatID.Text = Convert.ToString(Session["vPatID"]); + txtMedID.Text = Convert.ToString(Session["vMedID"]); + + btnPreSearch_OnClick(sender,e); + + } + } + private void BindData() + { + + DataSet ds = new DataSet(); + + string RxNum = Convert.ToString(Session["vRxNum"]); + string physID = Convert.ToString(Session["vPhysID"]); + string patID = Convert.ToString(Session["vPatID"]); + string medID = Convert.ToString(Session["vMedID"]); + + txtRxNum.Text = RxNum; + txtPhysID.Text = physID; + txtPatID.Text = patID; + txtMedID.Text = medID; + + // if (textHasValues) + // { + ds = PharmacyDataTier.PrescriptionInfoSearch(RxNum,patID, medID, physID); + // } + + + // ds = dt.GetStudents(); + gvPrescription.DataSource = ds.Tables[0]; + + if (Cache["PreData"] == null) + { + Cache.Add("PreData", new DataView(ds.Tables[0]), + null,System.Web.Caching.Cache.NoAbsoluteExpiration, + System.TimeSpan.FromMinutes(10), System.Web.Caching.CacheItemPriority.Default, + null); + } + gvPrescription.DataBind(); + + } + protected void btnPreSearch_OnClick(object sender, EventArgs e) { - throw new NotImplementedException(); + + if (txtPatID.Text.Trim().Length > 0 || txtRxNum.Text.Trim().Length > 0 || txtMedID.Text.Trim().Length > 0 || + txtPhysID.Text.Trim().Length > 0) + { + + + try + { + + Session["vRxNum"] = txtRxNum.Text.Trim(); + Session["vPhysID"] = txtPhysID.Text.Trim(); + Session["vPatID"] = txtPatID.Text.Trim(); + Session["vMedID"] = txtMedID.Text.Trim(); + + Cache.Remove("PreData"); + BindData(); + + + + } + catch (Exception exception) + { + } + } } - - - protected void btnNew_OnClick(object sender, EventArgs e) + + protected void gvPatient_OnRowDataBound(object sender, GridViewRowEventArgs e) + { + if (e.Row.RowType == DataControlRowType.DataRow) + { + e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(gvPrescription, "Select$" + e.Row.RowIndex); + e.Row.ToolTip = "Click to select this row."; + } + } + protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) + { + BindData(); + } + protected void gvPatient_OnRowCommand(object sender, GridViewCommandEventArgs e) + { + if (e.CommandName == "Select") + { + // Determine the index of the selected row + int index = Convert.ToInt32(e.CommandArgument); + + // Check if the selected row index is the same as the previous selected row index + if (gvPrescription.SelectedIndex == index) + { + // Deselect the row + gvPrescription.SelectedIndex = -1; + } + else + { + // Select the row + gvPrescription.SelectedIndex = index; + } + + // Refresh the GridView to update the style + gvPrescription.DataBind(); + } + } + protected void btnPreNew_OnClick(object sender, EventArgs e) { - Response.Redirect("preNew.aspx"); + string prescriptionID; + try + { + Session["vRxNum"] = txtRxNum.Text.Trim(); + Session["vPhysID"] = txtPhysID.Text.Trim(); + Session["vPatID"] = txtPatID.Text.Trim(); + Session["vMedID"] = txtMedID.Text.Trim(); + + // Use the patientID value as needed + try + { + + prescriptionID = PharmacyDataTier.GetNextRxNum(); + prescriptionID = Crypt.Encrypt(prescriptionID); + Response.Redirect("preNew.aspx" + "?" + "ID=" + prescriptionID, false); + } + catch (Exception exception) + { + } + + + } + catch (Exception ex) + { + throw new Exception(ex.Message, ex.InnerException); + } } + + protected void bntPreEdit_OnClick(object sender, EventArgs e) + { + string prescriptionID = "0"; + Int64 mEditedRecord = 0; + System.Text.StringBuilder sb = new System.Text.StringBuilder(); + + try + { + Session["vRxNum"] = txtRxNum.Text.Trim(); + Session["vPhysID"] = txtPhysID.Text.Trim(); + Session["vPatID"] = txtPatID.Text.Trim(); + Session["vMedID"] = txtMedID.Text.Trim(); + + + try + { + + prescriptionID = Crypt.Encrypt(gvPrescription.SelectedRow.Cells[0].Text); + Response.Redirect("preEdit.aspx" + "?" + "ID=" + prescriptionID, false); + } + catch (Exception exception) + { + } + + // Use the patientID value as needed + + + + } + catch (Exception ex) + { + throw new Exception(ex.Message, ex.InnerException); + } + } + + protected void btnPreDelete_OnClick(object sender, EventArgs e) + { + try + { + + PharmacyDataTier.DeletePrescription(gvPrescription.SelectedRow.Cells[0].Text); + BindData(); + } + catch (Exception exception) + { + + } + } + + + } } \ No newline at end of file diff --git a/FWA_MAIN/Prescription.aspx.designer.cs b/FWA_MAIN/Prescription.aspx.designer.cs index bb17373..5633c9f 100644 --- a/FWA_MAIN/Prescription.aspx.designer.cs +++ b/FWA_MAIN/Prescription.aspx.designer.cs @@ -42,40 +42,13 @@ namespace FWA_MAIN protected global::System.Web.UI.WebControls.TextBox txtPatID; /// - /// txtNumRefill control. + /// txtMedID control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.TextBox txtNumRefill; - - /// - /// txtPastRefill control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtPastRefill; - - /// - /// txtStart control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtStart; - - /// - /// txtPreEnd control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtPreEnd; + protected global::System.Web.UI.WebControls.TextBox txtMedID; /// /// btnPatSearch control. @@ -87,13 +60,40 @@ namespace FWA_MAIN protected global::System.Web.UI.WebControls.Button btnPatSearch; /// - /// gvPatient control. + /// gvPrescription control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.GridView gvPatient; + protected global::System.Web.UI.WebControls.GridView gvPrescription; + + /// + /// btnPreNew control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnPreNew; + + /// + /// bntPreEdit control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button bntPreEdit; + + /// + /// btnPreDelete control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnPreDelete; /// /// Master property. diff --git a/FWA_MAIN/Val.cs b/FWA_MAIN/Val.cs index c997c56..18b7bff 100644 --- a/FWA_MAIN/Val.cs +++ b/FWA_MAIN/Val.cs @@ -1,4 +1,5 @@ using System; +using System.Data; using System.Web.UI.WebControls; namespace FWA_MAIN @@ -62,6 +63,69 @@ namespace FWA_MAIN } } + public static string PatID(TextBox box) + { + + string word = box.Text.Trim(); + + while (word.Length < 8) + { + word = "0" + word; + } + + DataSet ds = PharmacyDataTier.PatientInfoSearch(word); + + if (ds.Tables[0].Rows.Count > 0) + { + return word; + } + else + { + return "00000000"; + } + + } + public static string MedID(TextBox box) + { + string word = box.Text.Trim(); + + while (word.Length < 7) + { + word = "0" + word; + } + + DataSet ds = PharmacyDataTier.MedicationInfoSearch(word); + + if (ds.Tables[0].Rows.Count > 0) + { + return word; + } + else + { + return "0000000"; + } + } + public static string PhyID(TextBox box) + { + string word = box.Text.Trim(); + + while (word.Length < 8) + { + word = "0" + word; + } + + DataSet ds = PharmacyDataTier.PhysicianInfoSearch(word); + + if (ds.Tables[0].Rows.Count > 0) + { + return word; + } + else + { + return "00000000"; + } + } + public static DateTime Date(TextBox box) { try diff --git a/FWA_MAIN/bin/FWA_MAIN.dll b/FWA_MAIN/bin/FWA_MAIN.dll index a3ace78..ba68137 100644 Binary files a/FWA_MAIN/bin/FWA_MAIN.dll and b/FWA_MAIN/bin/FWA_MAIN.dll differ diff --git a/FWA_MAIN/bin/FWA_MAIN.pdb b/FWA_MAIN/bin/FWA_MAIN.pdb index 4304d07..1522103 100644 Binary files a/FWA_MAIN/bin/FWA_MAIN.pdb and b/FWA_MAIN/bin/FWA_MAIN.pdb differ diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache index 0b111af..406c024 100644 Binary files a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache and b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache differ diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache index 6838c2c..8d86d9e 100644 --- a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache +++ b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -d2d2a219092f2f86c27fbbb67e6e1855b3e51df134233d4f20d9e880feaa1a41 +5479b0a2d9bb058bd3c97a17c7db049615ea9c4f5a1d67c3c95c0256920315d2 diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.dll b/FWA_MAIN/obj/Debug/FWA_MAIN.dll index a3ace78..ba68137 100644 Binary files a/FWA_MAIN/obj/Debug/FWA_MAIN.dll and b/FWA_MAIN/obj/Debug/FWA_MAIN.dll differ diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.pdb b/FWA_MAIN/obj/Debug/FWA_MAIN.pdb index 4304d07..1522103 100644 Binary files a/FWA_MAIN/obj/Debug/FWA_MAIN.pdb and b/FWA_MAIN/obj/Debug/FWA_MAIN.pdb differ diff --git a/FWA_MAIN/preEdit.aspx b/FWA_MAIN/preEdit.aspx index b2e0036..91d909b 100644 --- a/FWA_MAIN/preEdit.aspx +++ b/FWA_MAIN/preEdit.aspx @@ -17,13 +17,15 @@

Edit Prescription

-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -33,6 +35,8 @@
+
+
@@ -40,7 +44,7 @@
-
+

diff --git a/FWA_MAIN/preEdit.aspx.cs b/FWA_MAIN/preEdit.aspx.cs index ddf8383..e21d22b 100644 --- a/FWA_MAIN/preEdit.aspx.cs +++ b/FWA_MAIN/preEdit.aspx.cs @@ -1,23 +1,63 @@ using System; using System.Web.UI; +using System.Data; namespace FWA_MAIN { public partial class preEdit : Page { + protected string preID; protected void Page_Load(object sender, EventArgs e) { + preID = Crypt.Decrypt(Request.QueryString["ID"]); + + txtRxNum.Enabled = false; + + if (!IsPostBack) + { + + FillPrescription(preID); + } + } + protected void FillPrescription(string id) + { + + var ds = new DataSet(); + ds = PharmacyDataTier.PrescriptionInfoSearch(id); + + txtRxNum.Text = ds.Tables[0].Rows[0]["RxNum_id"].ToString(); + txtAllowed.Text = ds.Tables[0].Rows[0]["numRefills"].ToString(); + txtUsed.Text = ds.Tables[0].Rows[0]["pastNumRefills"].ToString(); + txtMedID.Text = ds.Tables[0].Rows[0]["Medication_id"].ToString(); + txtPhysID.Text = ds.Tables[0].Rows[0]["Physician_id"].ToString(); + txtPatID.Text = ds.Tables[0].Rows[0]["Patient_id"].ToString(); + DateTime date1 = DateTime.Parse(ds.Tables[0].Rows[0]["PrescriptionStart"].ToString()); + txtStart.Text = date1.ToString("d"); + DateTime date2 = DateTime.Parse(ds.Tables[0].Rows[0]["PrescriptionEnd"].ToString()); + txtEnd.Text = date2.ToString("d"); + } - protected void btnSavePre_OnClick(object sender, EventArgs e) { - throw new NotImplementedException(); + string rxnum = Val.varchar(txtRxNum, 11); + int allow = Val.IntType(txtAllowed); + int used = Val.IntType(txtUsed); + string medid = Val.varchar(txtMedID, 7); + string phyid = Val.varchar(txtPhysID, 8); + string patid = Val.varchar(txtPatID, 8); + DateTime start = Val.Date(txtStart); + DateTime end = Val.Date(txtEnd); + + PharmacyDataTier.UpdatePrescription(rxnum,patid,medid,phyid,used,allow,start,end); + + Response.Redirect("Prescription.aspx"); + } protected void btnCancelPre_OnClick(object sender, EventArgs e) { - throw new NotImplementedException(); + Response.Redirect("Prescription.aspx"); } } } \ No newline at end of file diff --git a/FWA_MAIN/preEdit.aspx.designer.cs b/FWA_MAIN/preEdit.aspx.designer.cs index 8300def..8216f4f 100644 --- a/FWA_MAIN/preEdit.aspx.designer.cs +++ b/FWA_MAIN/preEdit.aspx.designer.cs @@ -68,6 +68,24 @@ namespace FWA_MAIN /// protected global::System.Web.UI.WebControls.TextBox txtAllowed; + /// + /// txtStart control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtStart; + + /// + /// txtEnd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtEnd; + /// /// btnSavePat control. /// diff --git a/FWA_MAIN/preNew.aspx b/FWA_MAIN/preNew.aspx index c989a64..724f99d 100644 --- a/FWA_MAIN/preNew.aspx +++ b/FWA_MAIN/preNew.aspx @@ -7,27 +7,27 @@

New Prescription

-
-

-

-

-

-

-

-

-

- +
+
+
+
+
+
+
+
+
+
-

-

-

-

-

-

-

-

- +
+
+
+
+
+
+
+
+
@@ -36,7 +36,7 @@
-
+
\ No newline at end of file diff --git a/FWA_MAIN/preNew.aspx.cs b/FWA_MAIN/preNew.aspx.cs index 3ebd8c1..522a045 100644 --- a/FWA_MAIN/preNew.aspx.cs +++ b/FWA_MAIN/preNew.aspx.cs @@ -5,14 +5,35 @@ namespace FWA_MAIN { public partial class preNew : Page { + + protected string preID; protected void Page_Load(object sender, EventArgs e) { + preID = Crypt.Decrypt(Request.QueryString["ID"]); + txtRxNum.Enabled = false; + txtRxNum.Text = preID; } protected void btnCancelPre_OnClick(object sender, EventArgs e) { - throw new NotImplementedException(); + Response.Redirect("Prescription.aspx"); + } + + protected void btnSavePat_OnClick(object sender, EventArgs e) + { + string rxnum = Val.varchar(txtRxNum, 11); + int allow = Val.IntType(txtAllowed); + int used = Val.IntType(txtUsed); + string medid = Val.MedID(txtMedID); + string phyid = Val.PhyID(txtPhysID); + string patid = Val.PatID(txtPatID); + DateTime start = Val.Date(txtStart); + DateTime end = Val.Date(txtEnd); + + PharmacyDataTier.CreatePrescription2(rxnum,patid,medid,phyid,used,allow,start,end); + + Response.Redirect("Prescription.aspx"); } } } \ No newline at end of file diff --git a/FWA_MAIN/preNew.aspx.designer.cs b/FWA_MAIN/preNew.aspx.designer.cs index 7678379..3c48633 100644 --- a/FWA_MAIN/preNew.aspx.designer.cs +++ b/FWA_MAIN/preNew.aspx.designer.cs @@ -24,31 +24,13 @@ namespace FWA_MAIN protected global::System.Web.UI.WebControls.TextBox txtRxNum; /// - /// txtNumRefill control. + /// txtPatID control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.TextBox txtNumRefill; - - /// - /// txtPastRefill control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtPastRefill; - - /// - /// txtPhysID control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtPhysID; + protected global::System.Web.UI.WebControls.TextBox txtPatID; /// /// txtMedID control. @@ -60,31 +42,49 @@ namespace FWA_MAIN protected global::System.Web.UI.WebControls.TextBox txtMedID; /// - /// txtPatID control. + /// txtPhysID control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.TextBox txtPatID; + protected global::System.Web.UI.WebControls.TextBox txtPhysID; /// - /// txtPreStart control. + /// txtUsed control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.TextBox txtPreStart; + protected global::System.Web.UI.WebControls.TextBox txtUsed; /// - /// txtPreEnd control. + /// txtAllowed control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.TextBox txtPreEnd; + protected global::System.Web.UI.WebControls.TextBox txtAllowed; + + /// + /// txtStart control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtStart; + + /// + /// txtEnd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtEnd; /// /// btnSavePat control.