protected void btnDelete_Click(object sender, EventArgs e) { int iReturn = 0; Bill_Sys_DoctorBO obj = new Bill_Sys_DoctorBO(); string SzUserName = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ID; for (int i = 0; i < grdDoctorleaves.Rows.Count; i++) { CheckBox chk = (CheckBox)grdDoctorleaves.Rows[i].FindControl("ChkDelete"); if (chk.Checked) { string szleaveid = grdDoctorleaves.DataKeys[i]["I_LEAVE_ID"].ToString(); string szdoctorid = grdDoctorleaves.DataKeys[i]["SZ_DOCTOR_ID"].ToString(); iReturn = obj.DeleteEvent(txtCompanyID.Text, szleaveid, szdoctorid); } } //Bill_Sys_DoctorBO _obj = new Bill_Sys_DoctorBO(); //int iReturn = obj.DeleteEvent(txtCompanyID.Text, txtDoctorID.Text ); if (iReturn > 0) { usrMessage.PutMessage("Visit deleted Successfully ...!"); usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_UserMessage); usrMessage.Show(); grdDoctorleaves.XGridBindSearch(); } else { usrMessage.PutMessage("Not able to delete visit"); usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_ErrorMessage); usrMessage.Show(); } }
protected void GetDoctorName() { Bill_Sys_DoctorBO objDoctor = new Bill_Sys_DoctorBO(); string strDoctorName = objDoctor.GetDoctorForBill(txtCompanyID.Text, txtBillNumber.Text); txtDoctorName.Text = strDoctorName; }
protected void btnSearch_onclick(object sender, EventArgs e) { Bill_Sys_DoctorBO obj = new Bill_Sys_DoctorBO(); int iReturn = 0; if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { txtDoctorID.Text = ddlReferringDoctor.SelectedValue.ToString(); iReturn = obj.saveLeave(txtCompanyID.Text, txtDoctorID.Text, ddlReferringDoctor.SelectedItem.Text, txtReason.Text, txtDate.Text); } else { txtDoctorID.Text = ddlDoctor.SelectedValue.ToString(); iReturn = obj.saveLeave(txtCompanyID.Text, txtDoctorID.Text, ddlDoctor.SelectedItem.Text, txtReason.Text, txtDate.Text); } if (iReturn > 0) { usrMessage.PutMessage("Leave Added Successfully ...!"); usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_UserMessage); usrMessage.Show(); grdDoctorleaves.XGridBindSearch(); } else { usrMessage.PutMessage("Not able to add Leave"); usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_ErrorMessage); usrMessage.Show(); } }
public void getDoctorDefaultList() { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } try { Bill_Sys_DoctorBO billSysDoctorBO = new Bill_Sys_DoctorBO(); DataSet doctorList = billSysDoctorBO.GetDoctorList(((Bill_Sys_BillingCompanyObject)this.Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); this.ddlDoctor.DataSource = doctorList; this.ddlDoctor.DataTextField = "DESCRIPTION"; this.ddlDoctor.DataValueField = "CODE"; this.ddlDoctor.DataBind(); this.ddlDoctor.Items.Insert(0, "---select---"); } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
public void BindDoctor() {//Logging Start string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } try { Bill_Sys_DoctorBO objDocBO = new Bill_Sys_DoctorBO(); DataSet doctorList = objDocBO.GetDoctorList(((Bill_Sys_BillingCompanyObject)this.Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; ddlDoctor.DataSource = doctorList; ddlDoctor.TextField = "DESCRIPTION"; ddlDoctor.ValueField = "CODE"; ddlDoctor.DataBind(); DevExpress.Web.ListEditItem Item = new DevExpress.Web.ListEditItem("---Select---", "NA"); ddlDoctor.Items.Insert(0, Item); ddlDoctor.SelectedIndex = 0; Bill_Sys_ScanDco objScanDoc = new Bill_Sys_ScanDco(); DataSet providerList = objScanDoc.GetProviderList(((Bill_Sys_BillingCompanyObject)this.Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); ddlRefferingProvider.DataSource = providerList; ddlRefferingProvider.TextField = "DESCRIPTION"; ddlRefferingProvider.ValueField = "CODE"; ddlRefferingProvider.DataBind(); DevExpress.Web.ListEditItem providerItem = new DevExpress.Web.ListEditItem("---Select---", "NA"); ddlRefferingProvider.Items.Insert(0, providerItem); ddlRefferingProvider.SelectedIndex = 0; DevExpress.Web.ListEditItem ReffDoctor = new DevExpress.Web.ListEditItem("---Select---", "NA"); ddlRefferingDoctor.Items.Insert(0, ReffDoctor); ddlRefferingDoctor.SelectedIndex = 0; } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
public void getDoctorDefaultList() { //Logging Start string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } try { Bill_Sys_DoctorBO _obj = new Bill_Sys_DoctorBO(); DataSet dsDoctorName = _obj.GetDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); DDLAttendingDoctors.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); DDLAttendingDoctors.DataTextField = "DESCRIPTION"; DDLAttendingDoctors.DataValueField = "CODE"; DDLAttendingDoctors.DataBind(); DDLAttendingDoctors.Items.Insert(0, objLI); if (CheckDC == "") { Bill_Sys_Visit_BO _bill_Sys_Visit_BO = new Bill_Sys_Visit_BO(); DataSet dset = _bill_Sys_Visit_BO.GetBillDoctorList(sz_CompanyID, sz_BillNo, "GetBillDoctor"); DDLAttendingDoctors.DataSource = dset.Tables[0]; string nm = dset.Tables[0].Rows[0]["DOCTORID"].ToString(); DDLAttendingDoctors.SelectedValue = nm; FillDoctorInfo(); } } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } finally { } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
private void LoadData() {//Logging Start string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } _editOperation = new EditOperation(); Bill_Sys_DoctorBO _Bill_Sys_DoctorBO = new Bill_Sys_DoctorBO(); DataSet dsdocinfo = new DataSet(); { if (Session["caseid"] != null) { txtCaseID.Text = Session["caseid"].ToString(); } try { dsdocinfo = GetDoctorinfoc4_2(txtCompanyID.Text, txtCaseID.Text, txtbillingGroup.Text); if (dsdocinfo.Tables.Count > 0) { if (dsdocinfo.Tables[0].Rows.Count > 0) { txtbillingGroup.Text = dsdocinfo.Tables[0].Rows[0]["SZ_BILLING_GROUP"].ToString(); } } _editOperation.Primary_Value = txtDoctorID.Text; _editOperation.WebPage = this.Page; _editOperation.Xml_File = "DoctorInformation.xml"; _editOperation.LoadData(); if (txtTaxType.Text != "" && txtTaxType.Text != null) { rdlstTaxType.SelectedIndex = Convert.ToInt32(txtTaxType.Text); } } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } } }
public void passInformationToLoadData() { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } DataSet dsdoctorinfo = new DataSet(); Bill_Sys_DoctorBO _Bill_Sys_DoctorBO = new Bill_Sys_DoctorBO(); try { dsdoctorinfo = _Bill_Sys_DoctorBO.GetDoctorinfofortaxid(txtDoctorID.Text, txtCompanyID.Text); if (dsdoctorinfo.Tables.Count > 0) { if (dsdoctorinfo.Tables[0].Rows.Count > 0) { if (dsdoctorinfo.Tables[0].Rows[0].ToString() != "" && dsdoctorinfo.Tables[0].Rows[0].ToString() != null) { string taxidtype = dsdoctorinfo.Tables[0].Rows[0]["BIT_TAX_ID_TYPE"].ToString(); if (taxidtype == "True") { rdlstTaxType.SelectedIndex = 1; } else if (taxidtype == "False") { rdlstTaxType.SelectedIndex = 0; } } } } } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } //string strError = ex.Message.ToString(); //strError = strError.Replace("\n", " "); //Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError); }
protected void test_click(object sender, EventArgs e) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } Bill_Sys_DoctorBO obj = new Bill_Sys_DoctorBO(); int i = 0; // if (hdVlaue.Value == "1") { hdVlaue.Value = "0"; try { i = obj.InsertDoctorMaster(txtDoctorName.Text, txtAssignNumber.Text, txtLicenseNumber.Text, extddlOffice.Text.ToString(), extddlDoctorType.Text.ToString(), txtCompanyID.Text); } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } if (i > 0) { grdRffDoc.XGridBindSearch(); usrMessage.PutMessage("Doctor Saved Successfully ...!"); usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_UserMessage); usrMessage.Show(); } else { usrMessage.PutMessage("Insertion Failed"); usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_ErrorMessage); usrMessage.Show(); } } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
private void UpdateData() { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } _editOperation = new EditOperation(); Bill_Sys_DoctorBO _Bill_Sys_DoctorBO = new Bill_Sys_DoctorBO(); try { if (rdlstTaxType.SelectedIndex == -1) { txtTaxType.Text = "3"; } else { txtTaxType.Text = rdlstTaxType.SelectedIndex.ToString(); } //int bt_doctor_type = rdbProfession.SelectedIndex;//.Text; _Bill_Sys_DoctorBO.UpdateDoctorinfoc4_2(txtCompanyID.Text, txtBillNumber.Text, txtbillingGroup.Text); _editOperation.Primary_Value = txtDoctorID.Text; _editOperation.WebPage = this.Page; _editOperation.Xml_File = "DoctorInformation.xml"; _editOperation.UpdateMethod(); usrMessage.PutMessage("updated succes fully"); usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_ErrorMessage); usrMessage.Show(); } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void Page_Load(object sender, EventArgs e) {//Logging Start string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } if (!Page.IsPostBack) { try { btnClear.Attributes.Add("OnClick", "return Clear()"); btnClearBottom.Attributes.Add("OnClick", "return Clear()"); //bindXml(); extddlSpeciality.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; Bill_Sys_DoctorBO _obj = new Bill_Sys_DoctorBO(); DataSet dsDoctorName = _obj.GetDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); DDLAttendingDoctors.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); DDLAttendingDoctors.DataTextField = "DESCRIPTION"; DDLAttendingDoctors.DataValueField = "CODE"; DDLAttendingDoctors.DataBind(); LoadData(); } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void btnSave_Click(object sender, EventArgs e) { Bill_Sys_DoctorBO obj = new Bill_Sys_DoctorBO(); int i = 0; string szReturn = obj.CheckAssihnNo(txtCompanyID.Text, txtAssignNumber.Text); if (szReturn != "") { ScriptManager.RegisterClientScriptBlock(this, GetType(), "Done", "Check();", true); } else { hdVlaue.Value = "1"; test_click(sender, e); } }
protected void Page_Load(object sender, EventArgs e) { btnView.Attributes.Add("onclick", "return confirm_update_bill_status();"); if (!IsPostBack) { caseid = Request.QueryString[0].ToString(); string view = Request.QueryString[1].ToString(); EventProcID = Request.QueryString[2].ToString(); szSpeciality = Request.QueryString[3].ToString(); txtEventProcId.Text = EventProcID; txtSpecility.Text = szSpeciality; txtCaseId.Text = caseid; if (view == "YES") { btnView.Visible = true; } else { btnView.Visible = true; } //GetViewDoc(caseid, ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); GetViewDoc(caseid, ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID, EventProcID); if (grdViewDocuments.Items.Count > 0) { DataSet ds = new DataSet(); Bill_Sys_DoctorBO objDoc = new Bill_Sys_DoctorBO(); ds = objDoc.GetReadingDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); ddlDoctor.DataSource = ds.Tables[0]; ddlDoctor.DataTextField = "DESCRIPTION"; ddlDoctor.DataValueField = "CODE"; ddlDoctor.DataBind(); ddlDoctor.Items.Insert(0, "--Select--"); ddlDoctor.Visible = true; btnDoctor.Visible = true; btnView.Visible = true; } else { ddlDoctor.Visible = false; btnDoctor.Visible = false; btnView.Visible = false; } } }
private void UpdateData() {//Logging Start string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } _editOperation = new EditOperation(); Bill_Sys_DoctorBO _Bill_Sys_DoctorBO = new Bill_Sys_DoctorBO(); try { if (chkPPO.Checked == true) { txtPPO.Text = "1"; } else { txtPPO.Text = "0"; } _editOperation.Primary_Value = txtBillNumber.Text; _editOperation.WebPage = this.Page; _editOperation.Xml_File = "BillingInformation.xml"; _editOperation.UpdateMethod(); _Bill_Sys_DoctorBO.UpdateBillinfoppoc4_2(txtBillNumber.Text, txtPPO.Text); } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
public void BindDoctor() { try { Bill_Sys_DoctorBO objDocBO = new Bill_Sys_DoctorBO(); DataSet doctorList = objDocBO.GetDoctorList(((Bill_Sys_BillingCompanyObject)this.Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); ddlDoctor.DataSource = doctorList; ddlDoctor.TextField = "DESCRIPTION"; ddlDoctor.ValueField = "CODE"; ddlDoctor.DataBind(); DevExpress.Web.ListEditItem Item = new DevExpress.Web.ListEditItem("---Select---", "NA"); ddlDoctor.Items.Insert(0, Item); ddlDoctor.SelectedIndex = 0; } catch (Exception ex) { } }
private void BindSpecialityGrid() { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } this._bill_Sys_DoctorBO = new Bill_Sys_DoctorBO(); try { DataSet set = this._bill_Sys_DoctorBO.BindDataGrid(this.txtDoctorID.Text); this.grdDoctSpeciality.DataSource = set; this.grdDoctSpeciality.DataBind(); bool flag = false; int num = 0; while (num < set.Tables[0].Rows.Count) { this.extddlSpeciality.Text = set.Tables[0].Rows[num]["SZ_PROCEDURE_GROUP_ID"].ToString(); flag = true; break; } if (!flag) { this.extddlSpeciality.Text = "NA"; } } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void Page_Load(object sender, EventArgs e) { this.con.SourceGrid = grdDoctorleaves; this.txtSearchBox.SourceGrid = grdDoctorleaves; this.grdDoctorleaves.Page = this.Page; this.grdDoctorleaves.PageNumberList = this.con; this.Title = "Doctor Leaves"; btnSave.Attributes.Add("onclick", "return CheckVal();"); if (!IsPostBack) { txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; Bill_Sys_DoctorBO _obj = new Bill_Sys_DoctorBO(); if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { DataSet dsDoctorName = _obj.GetReferralDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID, "GETDOCTORLIST"); ddlReferringDoctor.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); ddlReferringDoctor.DataTextField = "DESCRIPTION"; ddlReferringDoctor.DataValueField = "CODE"; ddlReferringDoctor.DataBind(); ddlReferringDoctor.Items.Insert(0, objLI); ddlReferringDoctor.Visible = true; ddlDoctor.Visible = false; } else { DataSet dsDoctorName = _obj.GetDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); ddlDoctor.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); ddlDoctor.DataTextField = "DESCRIPTION"; ddlDoctor.DataValueField = "CODE"; ddlDoctor.DataBind(); ddlDoctor.Items.Insert(0, objLI); ddlReferringDoctor.Visible = false; ddlDoctor.Visible = true; } } }
protected void btnUpdate_Click(object sender, EventArgs e) { Bill_Sys_DoctorBO obj = new Bill_Sys_DoctorBO(); if (Session["ASSIGN"] != null) { if (Session["ASSIGN"].ToString() != txtAssignNumber.Text) { string szReturn = obj.CheckAssihnNo(txtCompanyID.Text, txtAssignNumber.Text); if (szReturn != "") { ScriptManager.RegisterClientScriptBlock(this, GetType(), "Done", "CheckUpdate();", true); } else { CheckUpdate_click(sender, e); } } else { CheckUpdate_click(sender, e); } } }
protected void Page_Load(object sender, EventArgs e) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } this.con.SourceGrid = grdDeleteVisit; this.txtSearchBox.SourceGrid = grdDeleteVisit; this.grdDeleteVisit.Page = this.Page; this.grdDeleteVisit.PageNumberList = this.con; this.Title = "Delete Visits"; this.con1.SourceGrid = grdDoctorChange; this.txtSearchBox1.SourceGrid = grdDoctorChange; this.grdDoctorChange.Page = this.Page; this.grdDoctorChange.PageNumberList = this.con1; btnDelete.Attributes.Add("onclick", "return confirm_delete();"); btnUpdate.Attributes.Add("onclick", "return confirm_update();"); try { if (!IsPostBack) { ddlDateValues.Attributes.Add("onChange", "javascript:SetDate1();"); DropDownList1.Attributes.Add("onChange", "javascript:SetDate();"); extddlSpeciality.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlDoctor.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; Bill_Sys_DoctorBO _obj = new Bill_Sys_DoctorBO(); if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { DataSet dsDoctorName = _obj.GetReferralDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID, "GETDOCTORLIST"); ddlreferringdocs.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); ddlreferringdocs.DataTextField = "DESCRIPTION"; ddlreferringdocs.DataValueField = "CODE"; ddlreferringdocs.DataBind(); ddlreferringdocs.Items.Insert(0, objLI); ddlreferringdocs.Visible = true; ddldoctors.Visible = false; } else { DataSet dsDoctorName = _obj.GetDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); ddldoctors.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); ddldoctors.DataTextField = "DESCRIPTION"; ddldoctors.DataValueField = "CODE"; ddldoctors.DataBind(); ddldoctors.Items.Insert(0, objLI); ddlreferringdocs.Visible = false; ddldoctors.Visible = true; } txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; Bill_Sys_DoctorBO obj = new Bill_Sys_DoctorBO(); if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { DataSet dsDoctorName = obj.GetReferralDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID, "GETDOCTORLIST"); ddlReferringDoctor.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); ddlReferringDoctor.DataTextField = "DESCRIPTION"; ddlReferringDoctor.DataValueField = "CODE"; ddlReferringDoctor.DataBind(); ddlReferringDoctor.Items.Insert(0, objLI); ddlReferringDoctor.Visible = true; ddlDoctor.Visible = false; // ddldoctors.SelectedValue } else { DataSet dsDoctorName = _obj.GetDoctorList(((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); ddlDoctor.DataSource = dsDoctorName; ListItem objLI = new ListItem("---select---", "NA"); ddlDoctor.DataTextField = "DESCRIPTION"; ddlDoctor.DataValueField = "CODE"; ddlDoctor.DataBind(); ddlDoctor.Items.Insert(0, objLI); ddlReferringDoctor.Visible = false; ddlDoctor.Visible = true; } grdDeleteVisit.XGridBindSearch(); grdDoctorChange.XGridBindSearch(); } } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void grdDoctorNameList_SelectedIndexChanged(object sender, EventArgs e) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } try { this.Session["DoctorID"] = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[1].Text; this.txtDoctorID.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[1].Text; if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[2].Text != " ") { this.txtDoctorName.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[2].Text; } else { this.txtDoctorName.Text = ""; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[5].Text != " ") { this.txtLicenseNumber.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[5].Text; } else { this.txtLicenseNumber.Text = ""; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[6].Text != " ") { this.extddlProvider.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[6].Text; } else { this.extddlProvider.Text = "NA"; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[14].Text != " ") { this.txtWCBAuth.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[14].Text; } else { this.txtWCBAuth.Text = ""; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[15].Text != " ") { this.txtWCBRatingCode.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[15].Text; } else { this.txtWCBRatingCode.Text = ""; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x10].Text != " ") { this.txtOfficeAdd.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x10].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x11].Text != " ") { this.txtOfficeCity.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x11].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x12].Text != " ") { this.txtOfficeState.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x12].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x13].Text != " ") { this.txtOfficeZip.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x13].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[20].Text != " ") { this.txtOfficePhone.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[20].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x15].Text != " ") { this.txtBillingAdd.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x15].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x16].Text != " ") { this.txtBillingCity.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x16].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x17].Text != " ") { this.txtBillingState.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x17].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x18].Text != " ") { this.txtBillingZip.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x18].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x19].Text != " ") { this.txtBillingPhone.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x19].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1a].Text != " ") { this.txtNPI.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1a].Text; } else { this.txtNPI.Text = ""; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1b].Text != " ") { this.txtFederalTax.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1b].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1c].Text == "0") { this.chklstTaxType.Items[0].Selected = true; this.chklstTaxType.Items[1].Selected = false; } else if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1c].Text == "1") { this.chklstTaxType.Items[1].Selected = true; this.chklstTaxType.Items[0].Selected = false; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1d].Text != " ") { this.txtKOEL.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1d].Text; } else { this.txtKOEL.Text = ""; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[30].Text != " ") { this.extddlDoctorType.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[30].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1f].Text != " ") { this.extddlOffice.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x1f].Text; } else { this.extddlOffice.Text = "NA"; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x21].Text != " ") { this.txtTitle.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x21].Text; } else { this.txtTitle.Text = ""; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x22].Text != " ") { this.rdlstWorkType.SelectedValue = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x22].Text; } else { this.rdlstWorkType.SelectedValue = null; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x23].Text == "False") { this.chkIsReferral.Checked = false; } else { this.chkIsReferral.Checked = true; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x24].Text != " ") { this.txtFollowUp.Text = this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x24].Text; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[0x26].Text == "False") { this.chkIsUnBilled.Checked = false; } else { this.chkIsUnBilled.Checked = true; } if (this.grdDoctorNameList.Items[this.grdDoctorNameList.SelectedIndex].Cells[40].Text == "True") { this.chkSuperVisingDoctor.Checked = true; } else { this.chkSuperVisingDoctor.Checked = false; } this.btnDeleteSpeciality.Visible = false; this.BindSpecialityGrid(); if (this.chkSuperVisingDoctor.Checked) { if (this.extddlSpeciality.Text != "NA") { Bill_Sys_ReferalEvent event2 = new Bill_Sys_ReferalEvent(); DataSet procedureCodeAndDescription = new DataSet(); string text = this.txtCompanyID.Text; string str2 = this.extddlSpeciality.Text; procedureCodeAndDescription = event2.GetProcedureCodeAndDescription(str2, text); this.lstProcedureCode.DataSource = procedureCodeAndDescription.Tables[0]; this.lstProcedureCode.DataTextField = "DESCRIPTION"; this.lstProcedureCode.DataValueField = "CODE"; this.lstProcedureCode.DataBind(); this.lstProcedureCode.Visible = true; this.lblProcedurecode.Visible = true; this._bill_Sys_DoctorBO = new Bill_Sys_DoctorBO(); DataSet procedureCodes = new DataSet(); procedureCodes = this._bill_Sys_DoctorBO.GetProcedureCodes(this.txtCompanyID.Text, this.txtDoctorID.Text); if (procedureCodes.Tables[0].Rows.Count != 0) { for (int i = 0; i < procedureCodes.Tables[0].Rows.Count; i++) { string str3 = procedureCodes.Tables[0].Rows[i][0].ToString(); foreach (ListItem item in this.lstProcedureCode.Items) { if (item.Value.ToString() == str3) { item.Selected = true; break; } } } } } } else { this.lblProcedurecode.Visible = false; this.lstProcedureCode.Items.Clear(); this.lstProcedureCode.Visible = false; } this.btnSave.Enabled = false; this.btnUpdate.Enabled = true; this.lblMsg.Visible = false; } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void btnUpdate_Click(object sender, EventArgs e) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } this._editOperation = new EditOperation(); try { if (this.rdlstWorkType.SelectedValue == "0") { this.txtWorkType.Text = "0"; } else if (this.rdlstWorkType.SelectedValue == "1") { this.txtWorkType.Text = "1"; } else { this.txtWorkType.Text = ""; } this._editOperation.Primary_Value = this.Session["DoctorID"].ToString(); this._editOperation.WebPage = this.Page; this._editOperation.Xml_File = "Doctor.xml"; this._editOperation.UpdateMethod(); this._bill_Sys_DoctorBO = new Bill_Sys_DoctorBO(); this._bill_Sys_DoctorBO.SaveDoctorSpeciality(this.txtDoctorID.Text, this.extddlSpeciality.Text, this.txtCompanyID.Text); if (this.chkSuperVisingDoctor.Checked) { this._bill_Sys_DoctorBO.DelProcCode(this.txtCompanyID.Text, this.txtDoctorID.Text); foreach (ListItem item in this.lstProcedureCode.Items) { if (item.Selected) { string str = item.Value.ToString(); this._bill_Sys_DoctorBO.AddProcedureCode(this.txtCompanyID.Text, this.txtDoctorID.Text, str); } } } if (!this.chkSuperVisingDoctor.Checked) { this._bill_Sys_DoctorBO.DelProcCode(this.txtCompanyID.Text, this.txtDoctorID.Text); } this.BindGrid(); this.lblMsg.Visible = true; this.lblMsg.Text = "Doctor Updated Successfully ...!"; } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void btnSave_Click(object sender, EventArgs e) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } if (this.Page.IsValid) { Bill_Sys_DoctorBO rbo = new Bill_Sys_DoctorBO(); int num = 0; try { string text; string str = ""; string str2 = ""; string str3 = ""; string str4 = ""; string str5 = ""; int num2 = 0; if (this.extddlOfficeState.Text != "NA") { str = this.extddlOfficeState.Text; str2 = this.extddlOfficeState.Selected_Text.ToString(); } if (this.extddlBillingState.Text != "NA") { str3 = this.extddlBillingState.Text; str4 = this.extddlBillingState.Selected_Text.ToString(); } if (this.extddlLocation.Text != "NA") { str5 = this.extddlLocation.Text; } if (this.chkSoftwareFee.Checked) { this.txtSoftwareFee.Enabled = true; num2 = 1; text = this.txtSoftwareFee.Text; } else { text = ""; } num = rbo.InsertOfficeMaster(this.txtOffice.Text, this.txtCompanyID.Text, this.txtOfficeAdd.Text, this.txtOfficeCity.Text, str2, this.txtOfficeZip.Text, this.txtOfficePhone.Text, this.txtBillingAdd.Text, this.txtBillingCity.Text, str4, this.txtBillingZip.Text, this.txtBillingPhone.Text, this.txtNPI.Text, this.txtFederalTax.Text, this.txtFax.Text, this.txtEmail.Text, str, str3, this.txtBillingOfficeFlag.Text, this.txtPrefix.Text, str5, num2, text, this.txtOfficeCode.Text); } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } if (num > 0) { if (((Bill_Sys_BillingCompanyObject)this.Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY) { this.grdOfficeList.XGridBindSearch(); this.usrMessage.PutMessage("Office Saved Successfully ...!"); this.usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_UserMessage); this.usrMessage.Show(); } else { this.grdOfficeList.XGridBindSearch(); this.usrMessage.PutMessage("Provider Saved Successfully ...!"); this.usrMessage.SetMessageType(UserControl_ErrorMessageControl.DisplayType.Type_UserMessage); this.usrMessage.Show(); } } else { this.usrMessage.PutMessage("Insertion Failed"); this.usrMessage.SetMessageType(0); this.usrMessage.Show(); } CLS(); this.btnUpdate.Enabled = false; this.btnSave.Enabled = true; } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void Page_Load(object sender, EventArgs e) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } try { // btnAssign.Attributes.Add("onclick", "return formValidator('frmAssociateDignosisCode','extddlDoctor');"); btnRevert.Attributes.Add("onclick", "return ChekOne();"); btnDoctor.Attributes.Add("onclick", "return Check();"); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (!IsPostBack) { ///bind doctor name to dropdown DataSet ds = new DataSet(); Bill_Sys_DoctorBO objDoc = new Bill_Sys_DoctorBO(); ds = objDoc.GetReadingDoctorList(txtCompanyID.Text); ddlDoctor.DataSource = ds.Tables[0]; ddlDoctor.DataTextField = "DESCRIPTION"; ddlDoctor.DataValueField = "CODE"; ddlDoctor.DataBind(); ddlDoctor.Items.Insert(0, "--Select--"); if (Request.QueryString["CaseId"] != null) { Session["CASE_OBJECT"] = null; txtCaseID.Text = Request.QueryString["CaseId"].ToString(); GetPatientDeskList(); } else if (Session["CASE_OBJECT"] != null) { txtCaseID.Text = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_CASE_ID; ////////////////////// //CREATE SESSION FOR DOC MANAGER,TEMPLATE MANAGER,Notes,Bills Bill_Sys_Case _bill_Sys_Case = new Bill_Sys_Case(); _bill_Sys_Case.SZ_CASE_ID = txtCaseID.Text; Session["CASEINFO"] = _bill_Sys_Case; Session["PassedCaseID"] = txtCaseID.Text; String szURL = ""; String szCaseID = Session["PassedCaseID"].ToString(); Session["QStrCaseID"] = szCaseID; Session["Case_ID"] = szCaseID; Session["Archived"] = "0"; Session["QStrCID"] = szCaseID; Session["SelectedID"] = szCaseID; Session["DM_User_Name"] = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; Session["User_Name"] = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; Session["SN"] = "0"; Session["LastAction"] = "vb_CaseInformation.aspx"; Session["SZ_CASE_ID_NOTES"] = txtCaseID.Text; Session["TM_SZ_CASE_ID"] = txtCaseID.Text; GetPatientDeskList(); // /////////////////// } else { Response.Redirect("Bill_Sys_SearchCase.aspx", false); } GetProcedureList(txtCaseID.Text, ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID); if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { } } lblMsg.Text = ""; } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } #region "check version readonly or not" string app_status = ((Bill_Sys_BillingCompanyObject)Session["APPSTATUS"]).SZ_READ_ONLY.ToString(); if (app_status.Equals("True")) { Bill_Sys_ChangeVersion cv = new Bill_Sys_ChangeVersion(this.Page); cv.MakeReadOnlyPage("Bill_Sys_StatusProceudure.aspx"); } #endregion //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }