private void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = txtPermanentImpairmentID.Text;
            _editOperation.Xml_File      = "PermanentImpairment.xml";
            _editOperation.WebPage       = this.Page;
            _editOperation.LoadData();

            if (txtPatientReachedMMI.Text != "")
            {
                txtPatientReachedMMI.Text = Convert.ToDateTime(txtPatientReachedMMI.Text).ToShortDateString();
            }

            if (txtDateOfInjury.Text != "")
            {
                txtDateOfInjury.Text = Convert.ToDateTime(txtDateOfInjury.Text).ToShortDateString();
            }
            _editOperation.Primary_Value = txtBillNumber.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "providerinformation.xml";
            _editOperation.LoadData();

            if (txtProviderDate.Text != "")
            {
                txtProviderDate.Text = Convert.ToDateTime(txtProviderDate.Text).ToShortDateString();
            }
        }
        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 LoadPatientData()
    {
        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
        {
            EditOperation _editoperation = new EditOperation();
            _editoperation.Primary_Value = TXT_EVENT_ID.Text;
            _editoperation.WebPage       = this.Page;
            _editoperation.Xml_File      = "MRI_PATIENT_INFORMATION.xml";
            _editoperation.LoadData();
            lblCompName.Text = TXT_CMP_NAME.Text;
        }
        catch (Exception ex)
        {
            Response.Write("Exp Msg= " + 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());
        }
    }
Example #3
0
    private void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = txtBillNumber.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "BillingInformationC4_3.xml";
            _editOperation.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());
        }
    }
Example #4
0
    public void LoadData()
    {
        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
        {
            EditOperation _objEdit = new EditOperation();
            _objEdit.Primary_Value = TXT_I_EVENT.Text;
            _objEdit.WebPage       = this.Page;
            _objEdit.Xml_File      = "Physical_threphy.xml";
            _objEdit.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());
        }
    }
    public void LoadData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtEventID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "CM_INITIAL_EVALHistoryOf PresentIllness.xml";
            _editOperation.LoadData();

            if (txtRDO_INJURY_FROM.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_INJURY_FROM.SelectedValue = txtRDO_INJURY_FROM.Text;
            }


            if (txtRDO_PREVIOUSLY_TREATED_No.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_PREVIOUSLY_TREATED_No.SelectedValue = txtRDO_PREVIOUSLY_TREATED_No.Text;
            }


            if (txtRDO_TREAT_INJURY.Text.Equals(""))
            {
            }
            else
            {
                RDO_TREAT_INJURY.SelectedValue = txtRDO_TREAT_INJURY.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 string FillPDFValue(string EventID, string sz_CompanyID, string sz_CompanyName)
    //{
    //    string sz_CaseID = Session["CO_Refferal_CaseID"].ToString();
    //    PDFValueReplacement.PDFValueReplacement objValueReplacement = new PDFValueReplacement.PDFValueReplacement();
    //    string pdffilepath;
    //    string strGenFileName = "";
    //    try
    //    {
    //        Bill_Sys_NF3_Template objNF3Template = new Bill_Sys_NF3_Template();
    //        string xmlpath = ConfigurationManager.AppSettings["CO_Refferal_XML_Path"].ToString();
    //        string pdfpath = ConfigurationManager.AppSettings["CO_Refferal_PDF_Path"].ToString();

    //        String szDefaultPath = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + sz_CaseID + "/Packet Document/";
    //        String szDestinationDir = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + sz_CaseID + "/No Fault File/Medicals/IM/";

    //        strGenFileName = objValueReplacement.ReplacePDFvalues(xmlpath, pdfpath, EventID, ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME, sz_CaseID);

    //        if (File.Exists(objNF3Template.getPhysicalPath() + szDefaultPath + strGenFileName))
    //        {
    //            if (!Directory.Exists(objNF3Template.getPhysicalPath() + szDestinationDir))
    //            {
    //                Directory.CreateDirectory(objNF3Template.getPhysicalPath() + szDestinationDir);
    //            }
    //            File.Copy(objNF3Template.getPhysicalPath() + szDefaultPath + strGenFileName, objNF3Template.getPhysicalPath() + szDestinationDir + strGenFileName);
    //        }

    //        Bill_Sys_CheckoutBO objCheckoutBO = new Bill_Sys_CheckoutBO();
    //        ArrayList objAL = new ArrayList();
    //        objAL.Add(sz_CaseID);
    //        objAL.Add(strGenFileName);
    //        objAL.Add(szDestinationDir);
    //        objAL.Add(((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME);
    //        objAL.Add(sz_CompanyID);
    //        objAL.Add(EventID);
    //        objCheckoutBO.save_IM_DocMang(objAL);
    //        // Open file
    //        String szOpenFilePath = "";
    //        szOpenFilePath = ConfigurationSettings.AppSettings["DocumentManagerURL"].ToString() + szDestinationDir + strGenFileName;
    //        Response.Redirect(szOpenFilePath, false);
    //        //Page.ClientScript.RegisterClientScriptBlock(typeof(GridView), "Msg", "window.open('" + szOpenFilePath + "'); ", true);
    //    }
    //   catch (Exception ex)
    //    {
    //        Elmah.ErrorSignal.FromCurrentContext().Raise(ex);
    //    }
    //    return strGenFileName;
    //}

    public void LoadPatientData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = Session["CO_Refferal_Event_Id"].ToString();
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "IM_FalloUP_PatientInformetion.xml";
            _editOperation.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());
        }
    }
Example #7
0
    protected void LoadData()
    {
        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
        {
            _editOperation = new EditOperation();

            _editOperation.Primary_Value = Session["TEMPLATE_BILL_NO"].ToString();
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "History_New.xml";
            _editOperation.LoadData();


            if (txtPreviouslyTreated.Text != "")
            {
                txtPreviouslyTreated.Text = Convert.ToDateTime(txtPreviouslyTreated.Text).ToShortDateString();
            }

            //chklstInjury.SelectedValue = txthdnInjury.Text;

            //if (txthdnHospitalization.Text == "False")
            //    chklstHospitalization.SelectedValue = "0";

            //if (txthdnHospitalization.Text == "True")
            //    chklstHospitalization.SelectedValue = "1";

            //if (txthdnPreviouslyTreated.Text == "False")
            //    chkPreviouslyTreated.SelectedValue = "0";

            //if (txthdnPreviouslyTreated.Text == "True")
            //    chkPreviouslyTreated.SelectedValue = "1";

            if (txtPrevTreat.Text != "" && txtPrevTreat.Text.ToLower() != "null")
            {
                rdlstPreviouslyTreated.SelectedValue = txtPrevTreat.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 LoadPatientData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtEventID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "IM_PatientInformetion.xml";
            _editOperation.LoadData();

            if (txtrdlCause_Of_Injury.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlCause_Of_Injury.SelectedValue = txtrdlCause_Of_Injury.Text;
            }

            if (txtrdlComplaint_Consistent.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlComplaint_Consistent.SelectedValue = txtrdlComplaint_Consistent.Text;
            }


            if (txtrdlConsistent_Obj_Fidings.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlConsistent_Obj_Fidings.SelectedValue = txtrdlConsistent_Obj_Fidings.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());
        }
    }
Example #9
0
    public void LoadData()
    {
        EditOperation _loadEdit = new EditOperation();

        _loadEdit.Primary_Value = Session["AC_FOLLOWUP_EVENT_ID"].ToString();
        _loadEdit.WebPage       = this.Page;
        _loadEdit.Xml_File      = "AccuFollowUp.xml";
        _loadEdit.LoadData();
    }
Example #10
0
    public void LoadData()
    {
        EditOperation _loadEdit = new EditOperation();

        _loadEdit.Primary_Value = Session["AC_SYNAPTIC_EVENT_ID"].ToString();
        _loadEdit.WebPage       = this.Page;
        _loadEdit.Xml_File      = "SYNFollow.xml";
        _loadEdit.LoadData();
    }
    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());
            }
        }
    }
Example #12
0
    public void LoadData()
    {
        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
        {
            EditOperation _objEdit = new EditOperation();
            _objEdit.Primary_Value = TXT_I_EVENT.Text;
            _objEdit.WebPage       = this.Page;
            _objEdit.Xml_File      = "ECG_Form_Second_Page.xml";
            _objEdit.LoadData();

            if (TXT_USTED_ERA.Text.Trim() != "-1")
            {
                if (TXT_USTED_ERA.Text.Trim() == "0")
                {
                    RDO_USTED_ERA.SelectedIndex = 0;
                }
                else if (TXT_USTED_ERA.Text.Trim() == "1")
                {
                    RDO_USTED_ERA.SelectedIndex = 1;
                }
                else if (TXT_USTED_ERA.Text.Trim() == "2")
                {
                    RDO_USTED_ERA.SelectedIndex = 2;
                }
                else if (TXT_USTED_ERA.Text.Trim() == "3")
                {
                    RDO_USTED_ERA.SelectedIndex = 3;
                }
            }
        }
        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 LoadData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtId.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "Test_Facility_Intake.xml";
            _editOperation.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);
        }

        if (txtPregnant.Text.ToString().Equals("-1"))
        {
        }
        else
        {
            rdoPregnant.SelectedValue = txtPregnant.Text;
        }

        if (txtIvContrast.Text.ToString().Equals("-1"))
        {
        }
        else
        {
            rdoIvContrast.SelectedValue = txtIvContrast.Text;
        }

        //Method End
        using (Utils utility = new Utils())
        {
            utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod());
        }
    }
Example #14
0
    public void LoadData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtEventID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "CM_INITIAL_EVALPlanOfCare.xml";
            _editOperation.LoadData();


            //RDO_MEDICATION_RESTRICTION
            if (txtRDO_MEDICATION_RESTRICTION.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_MEDICATION_RESTRICTION.SelectedValue = txtRDO_MEDICATION_RESTRICTION.Text;
            }
            //RDO_PATIENT_NEED_DIAGNOSTIC
            if (txtRDO_PATIENT_NEED_DIAGNOSTIC.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_PATIENT_NEED_DIAGNOSTIC.SelectedValue = txtRDO_PATIENT_NEED_DIAGNOSTIC.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());
        }
    }
    private void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = txtBillNumber.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "PatientInformationTemplate.xml";
            _editOperation.LoadData();

            if (txtDateOfInjury.Text != "")
            {
                txtDateOfInjury.Text = Convert.ToDateTime(txtDateOfInjury.Text).ToShortDateString();
            }
            if (txtchkmale.Text.ToLower() == "male")
            {
                chkGenderMale.Checked   = true;
                ChkGenderFemale.Checked = false;
            }
            else if (txtchkmale.Text.ToLower() == "female")
            {
                chkGenderMale.Checked   = false;
                ChkGenderFemale.Checked = true;
            }
            //
        }
        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 LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = Session["TEMPLATE_BILL_NO"].ToString();
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "DoctorOpinion_New.xml";
            _editOperation.LoadData();

            //chkObjectiveFindings.SelectedValue = txthdnObjectiveFindings.Text;

            //if (txthdnHistoryOfInjury.Text == "False")
            //    chkHistoryOfInjury.SelectedValue = "0";

            //if (txthdnHistoryOfInjury.Text == "True")
            //    chkHistoryOfInjury.SelectedValue = "1";

            //if (txthdnMedicalCauses.Text == "False")
            //    chkMedicalCauses.SelectedValue = "0";

            //if (txthdnMedicalCauses.Text == "True")
            //    chkMedicalCauses.SelectedValue = "1";
        }
        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());
        }
    }
Example #17
0
    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();
        try
        {
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "PlanOfCare.xml";
            _editOperation.Primary_Value = txtPlanofCareID.Text;
            _editOperation.LoadData();

            if (txtDateOfInjury.Text != "")
            {
                txtDateOfInjury.Text = Convert.ToDateTime(txtDateOfInjury.Text).ToShortDateString();
            }
            passInformationToLoadData();

            if (rdlstTreatmentGuidelines.SelectedValue.ToString() == "1")
            {
                txtVarianceGuideline.Text   = txtTreatmentGuidelines.Text;
                txtTreatmentGuidelines.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());
        }
    }
    private void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = txtDoctorOpinionID.Text;
            _editOperation.Xml_File      = "DoctorsOpinionC4_2.xml";
            _editOperation.WebPage       = this.Page;
            _editOperation.LoadData();

            //if (txthdnObjectiveFindings.Text != "")
            //{
            //    for (int i = 0; i < chkObjectiveFindings.Items.Count; i++)
            //    {
            //        if (chkObjectiveFindings.Items[i].Value == txthdnObjectiveFindings.Text)
            //        {
            //            chkObjectiveFindings.Items[i].Selected = true;
            //        }
            //    }
            //}
        }
        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)
    {
        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
        {
            //TreeMenuControl1.ROLE_ID = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ROLE; ;
            //txtxtBillCompanyID.Text=((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; ;
            _editOperation               = new EditOperation();
            _editOperation.WebPage       = this.Page;
            _editOperation.Primary_Value = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            _editOperation.Xml_File      = "billingcompany.xml";
            _editOperation.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);
        }

        #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_BillingCompany.aspx");
        }
        #endregion
        //Method End
        using (Utils utility = new Utils())
        {
            utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod());
        }
    }
Example #20
0
    private void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = txtDoctorID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "DoctorInformation.xml";
            _editOperation.LoadData();
            if (txtTaxType.Text != "" && txtTaxType.Text.ToLower() != "null")
            {
                rdlstTaxType.SelectedIndex = Convert.ToInt32(txtTaxType.Text);
            }
            if (txtDoctorType.Text != "" && txtDoctorType.Text.ToLower() != "null")
            {
                rdbProfession.SelectedIndex = Convert.ToInt32(txtDoctorType.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());
        }
    }
    protected void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = Session["TEMPLATE_BILL_NO"].ToString();
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "ExamInformation_New.xml";
            _editOperation.LoadData();

            if (txtDateOfExam.Text != "")
            {
                txtDateOfExam.Text = Convert.ToDateTime(txtDateOfExam.Text).ToShortDateString();
            }
        }
        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 LoadInfo()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtId.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "Test_Facility_Cmp_And_Patient_Information.xml";
            _editOperation.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);
        }

        lblHeading.Text = txtCmpName.Text;
        lblAdd.Text     = txtAdd.Text;
        //Method End
        using (Utils utility = new Utils())
        {
            utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod());
        }
    }
    public void LoadData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtEventID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "CM_INITIAL_EVAL_PhysicalStatus1.xml";
            _editOperation.LoadData();


            //check
            if (txtRDO_CERVICAL_SPINE_APPEAR.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_CERVICAL_SPINE_APPEAR.SelectedValue = txtRDO_CERVICAL_SPINE_APPEAR.Text;
            }

            if (txtRDO_CERVICAL_SPINE_MODERATE.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_CERVICAL_SPINE_MODERATE.SelectedValue = txtRDO_CERVICAL_SPINE_MODERATE.Text;
            }
            //Check
            if (txtRDO_CERVICAL_SPINE_TENDERNESS.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_CERVICAL_SPINE_TENDERNESS.SelectedValue = txtRDO_CERVICAL_SPINE_TENDERNESS.Text;
            }

            if (txtRDO_CERVICAL_SPINE_WITH.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_CERVICAL_SPINE_WITH.SelectedValue = txtRDO_CERVICAL_SPINE_WITH.Text;
            }

            if (txtRDO_HIP_TENDERNESS.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_HIP_TENDERNESS.SelectedValue = txtRDO_HIP_TENDERNESS.Text;
            }


            if (txtRDO_LEG_RAISING_LEFT.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_LEG_RAISING_LEFT.SelectedValue = txtRDO_LEG_RAISING_LEFT.Text;
            }


            if (txtRDO_LEG_RAISING_RIGHT.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_LEG_RAISING_RIGHT.SelectedValue = txtRDO_LEG_RAISING_RIGHT.Text;
            }

            if (txtRDO_LOWER_LUMBER_PAIN.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_LOWER_LUMBER_PAIN.SelectedValue = txtRDO_LOWER_LUMBER_PAIN.Text;
            }

            if (txtRDO_MUSCLE_SPASM.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_MUSCLE_SPASM.SelectedValue = txtRDO_MUSCLE_SPASM.Text;
            }

            if (txtRDO_SACRO_ILLAC_PAIN.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_SACRO_ILLAC_PAIN.SelectedValue = txtRDO_SACRO_ILLAC_PAIN.Text;
            }


            if (txtRDO_UPPER_LUMBAR_PAIN.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_UPPER_LUMBAR_PAIN.SelectedValue = txtRDO_UPPER_LUMBAR_PAIN.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());
        }
    }
Example #24
0
    protected void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = Session["CO_CHIRO_EVENT_ID"].ToString();
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "Bill_Sys_CO_Chiro.xml";
            _editOperation.LoadData();

            if (TXT_INFORMATION_MODE1.Text.Trim() != "-1")
            {
                if (TXT_INFORMATION_MODE1.Text.Trim() == "0")
                {
                    RDO_INFORMATION_MODE.SelectedIndex = 0;
                }
                else if (TXT_INFORMATION_MODE1.Text.Trim() == "1")
                {
                    RDO_INFORMATION_MODE.SelectedIndex = 1;
                }
            }



            if (TXT_LEFT_RIGHT_PASSENGER.Text.Trim() != "-1")
            {
                if (TXT_LEFT_RIGHT_PASSENGER.Text.Trim() == "0")
                {
                    RDO_LEFT_RIGHT_PASSENGER.SelectedIndex = 0;
                }
                else if (TXT_LEFT_RIGHT_PASSENGER.Text.Trim() == "1")
                {
                    RDO_LEFT_RIGHT_PASSENGER.SelectedIndex = 1;
                }
            }
            if (TXT_SEAT_BELT_WEARING.Text.Trim() != "-1")
            {
                if (TXT_SEAT_BELT_WEARING.Text.Trim() == "0")
                {
                    RDO_SEAT_BELT_WEARING.SelectedIndex = 0;
                }
                else if (TXT_SEAT_BELT_WEARING.Text.Trim() == "1")
                {
                    RDO_SEAT_BELT_WEARING.SelectedIndex = 1;
                }
            }
            if (TXT_AIR_BAG_DEPLOYMENT.Text.Trim() != "-1")
            {
                if (TXT_AIR_BAG_DEPLOYMENT.Text.Trim() == "0")
                {
                    RDO_AIR_BAG_DEPLOYMENT.SelectedIndex = 0;
                }
                else if (TXT_AIR_BAG_DEPLOYMENT.Text.Trim() == "1")
                {
                    RDO_AIR_BAG_DEPLOYMENT.SelectedIndex = 1;
                }
            }
            if (TXT_FRONT_REAR_IMPACT.Text.Trim() != "-1")
            {
                if (TXT_FRONT_REAR_IMPACT.Text.Trim() == "0")
                {
                    RDO_FRONT_REAR_IMPACT.SelectedIndex = 0;
                }
                else if (TXT_FRONT_REAR_IMPACT.Text.Trim() == "1")
                {
                    RDO_FRONT_REAR_IMPACT.SelectedIndex = 1;
                }
            }
            if (TXT_LEFT_RIGHT_SIDE_IMPACT.Text.Trim() != "-1")
            {
                if (TXT_LEFT_RIGHT_SIDE_IMPACT.Text.Trim() == "0")
                {
                    RDO_LEFT_RIGHT_SIDE_IMPACT.SelectedIndex = 0;
                }
                else if (TXT_LEFT_RIGHT_SIDE_IMPACT.Text.Trim() == "1")
                {
                    RDO_LEFT_RIGHT_SIDE_IMPACT.SelectedIndex = 1;
                }
            }
            if (TXT_R_L_KNEE_PAIN.Text.Trim() != "-1")
            {
                if (TXT_R_L_KNEE_PAIN.Text.Trim() == "0")
                {
                    RDO_R_L_KNEE_PAIN.SelectedIndex = 0;
                }
                else if (TXT_R_L_KNEE_PAIN.Text.Trim() == "1")
                {
                    RDO_R_L_KNEE_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_R_L_SHOULDER_PAIN.Text.Trim() != "-1")
            {
                if (TXT_R_L_SHOULDER_PAIN.Text.Trim() == "0")
                {
                    RDO_R_L_SHOULDER_PAIN.SelectedIndex = 0;
                }
                else if (TXT_R_L_SHOULDER_PAIN.Text.Trim() == "1")
                {
                    RDO_R_L_SHOULDER_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_R_L_HIP_PAIN.Text.Trim() != "-1")
            {
                if (TXT_R_L_HIP_PAIN.Text.Trim() == "0")
                {
                    RDO_R_L_HIP_PAIN.SelectedIndex = 0;
                }
                else if (TXT_R_L_HIP_PAIN.Text.Trim() == "1")
                {
                    RDO_R_L_HIP_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_R_L_ARM_LEG.Text.Trim() != "-1")
            {
                if (TXT_R_L_ARM_LEG.Text.Trim() == "0")
                {
                    RDO_R_L_ARM_LEG.SelectedIndex = 0;
                }
                else if (TXT_R_L_ARM_LEG.Text.Trim() == "1")
                {
                    RDO_R_L_ARM_LEG.SelectedIndex = 1;
                }
            }

            if (TXT_R_L_HAND_FOOT.Text.Trim() != "-1")
            {
                if (TXT_R_L_HAND_FOOT.Text.Trim() == "0")
                {
                    RDO_R_L_HAND_FOOT.SelectedIndex = 0;
                }
                else if (TXT_R_L_HAND_FOOT.Text.Trim() == "1")
                {
                    RDO_R_L_HAND_FOOT.SelectedIndex = 1;
                }
            }



            if (TXT_R_L_DIGITS.Text.Trim() != "-1")
            {
                if (TXT_R_L_DIGITS.Text.Trim() == "0")
                {
                    RDO_R_L_DIGITS.SelectedIndex = 0;
                }
                else if (TXT_R_L_DIGITS.Text.Trim() == "1")
                {
                    RDO_R_L_DIGITS.SelectedIndex = 1;
                }
            }

            if (TXT_R_L_ACCURATE_DIGITS_PAIN.Text.Trim() != "-1")
            {
                if (TXT_R_L_ACCURATE_DIGITS_PAIN.Text.Trim() == "0")
                {
                    RDO_R_L_ACCURATE_DIGITS_PAIN.SelectedIndex = 0;
                }
                else if (TXT_R_L_ACCURATE_DIGITS_PAIN.Text.Trim() == "1")
                {
                    RDO_R_L_ACCURATE_DIGITS_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_R_L_TOES.Text.Trim() != "-1")
            {
                if (TXT_R_L_TOES.Text.Trim() == "0")
                {
                    RDO_R_L_TOES.SelectedIndex = 0;
                }
                else if (TXT_R_L_TOES.Text.Trim() == "1")
                {
                    RDO_R_L_TOES.SelectedIndex = 1;
                }
            }
            if (TXT_R_L_ACCURATE_TOES_PAIN.Text.Trim() != "-1")
            {
                if (TXT_R_L_ACCURATE_TOES_PAIN.Text.Trim() == "0")
                {
                    RDO_R_L_ACCURATE_TOES_PAIN.SelectedIndex = 0;
                }
                else if (TXT_R_L_ACCURATE_TOES_PAIN.Text.Trim() == "1")
                {
                    RDO_R_L_ACCURATE_TOES_PAIN.SelectedIndex = 1;
                }
                else if (TXT_R_L_ACCURATE_TOES_PAIN.Text.Trim() == "2")
                {
                    RDO_R_L_ACCURATE_TOES_PAIN.SelectedIndex = 2;
                }
                else if (TXT_R_L_ACCURATE_TOES_PAIN.Text.Trim() == "3")
                {
                    RDO_R_L_ACCURATE_TOES_PAIN.SelectedIndex = 3;
                }
                else if (TXT_R_L_ACCURATE_TOES_PAIN.Text.Trim() == "4")
                {
                    RDO_R_L_ACCURATE_TOES_PAIN.SelectedIndex = 4;
                }
            }
            if (TXT_AMBULANCE_CALLED.Text.Trim() != "-1")
            {
                if (TXT_AMBULANCE_CALLED.Text.Trim() == "0")
                {
                    RDO_AMBULANCE_CALLED.SelectedIndex = 0;
                }
                else if (TXT_AMBULANCE_CALLED.Text.Trim() == "1")
                {
                    RDO_AMBULANCE_CALLED.SelectedIndex = 1;
                }
            }
            if (TXT_MULTIPLE_X_RAY_TAKEN.Text.Trim() != "-1")
            {
                if (TXT_MULTIPLE_X_RAY_TAKEN.Text.Trim() == "0")
                {
                    RDO_MULTIPLE_X_RAY_TAKEN.SelectedIndex = 0;
                }
                else if (TXT_MULTIPLE_X_RAY_TAKEN.Text.Trim() == "1")
                {
                    RDO_MULTIPLE_X_RAY_TAKEN.SelectedIndex = 1;
                }
            }
            if (TXT_POSITIVE_NEGATIVE_FRACTURE.Text.Trim() != "-1")
            {
                if (TXT_POSITIVE_NEGATIVE_FRACTURE.Text.Trim() == "0")
                {
                    RDO_POSITIVE_NEGATIVE_FRACTURE.SelectedIndex = 0;
                }
                else if (TXT_POSITIVE_NEGATIVE_FRACTURE.Text.Trim() == "1")
                {
                    RDO_POSITIVE_NEGATIVE_FRACTURE.SelectedIndex = 1;
                }
            }
        }
        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 LoadData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtEventID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "Bill_Sys_CM_PhysicalStatus.xml";
            _editOperation.LoadData();


            //RDO_PAIN_UPON_PALPATION
            //txtRDO_PAIN_UPON_PALPATION
            if (txtRDO_PAIN_UPON_PALPATION.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_PAIN_UPON_PALPATION.SelectedValue = txtRDO_PAIN_UPON_PALPATION.Text;
            }
            //RDO_TENDERNESS
            //txtRDO_TENDERNESS
            if (txtRDO_TENDERNESS.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_TENDERNESS.SelectedValue = txtRDO_TENDERNESS.Text;
            }
            //RDO_BACK_LUMBAR_LORDOSIS
            //txtxRDO_BACK_LUMBAR_LORDOSIS
            if (txtxRDO_BACK_LUMBAR_LORDOSIS.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_BACK_LUMBAR_LORDOSIS.SelectedValue = txtxRDO_BACK_LUMBAR_LORDOSIS.Text;
            }
            //RDO_PAIN_IN_JOINT_LEFT
            //txtRDO_PAIN_IN_JOINT_LEFT
            if (txtRDO_PAIN_IN_JOINT_LEFT.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_PAIN_IN_JOINT_LEFT.SelectedValue = txtRDO_PAIN_IN_JOINT_LEFT.Text;
            }
            //RDO_PAIN_ACROSS_SHOULDERS_LEFT
            //txtRDO_PAIN_ACROSS_SHOULDERS_LEFT
            if (txtRDO_PAIN_ACROSS_SHOULDERS_LEFT.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_PAIN_ACROSS_SHOULDERS_LEFT.SelectedValue = txtRDO_PAIN_ACROSS_SHOULDERS_LEFT.Text;
            }
            //RDO_LIMITATION_ON_MOVEMENT_LEFT
            //txtCHK_LIMITATION_ON_MOVEMENT_LEFT
            if (txtRDO_LIMITATION_ON_MOVEMENT_LEFT.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_LIMITATION_ON_MOVEMENT_LEFT.SelectedValue = txtRDO_LIMITATION_ON_MOVEMENT_LEFT.Text;
            }

            //RDO_CREPITUS
            //
            if (txtRDO_CREPITUS.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_CREPITUS.SelectedValue = txtRDO_CREPITUS.Text;
            }
            //RDO_DROP_ARM_TEST
            //txtRDO_DROP_ARM_TEST
            if (txtRDO_DROP_ARM_TEST.ToString().Equals("-1"))
            {
                //= "-1";
            }
            else
            {
                RDO_DROP_ARM_TEST.SelectedValue = txtRDO_DROP_ARM_TEST.Text;
            }
            //RDO_PAINFUL_IMPINGEMENT
            //txtRDO_PAINFUL_IMPINGEMENT
            if (txtRDO_PAINFUL_IMPINGEMENT.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_PAINFUL_IMPINGEMENT.SelectedValue = txtRDO_PAINFUL_IMPINGEMENT.Text;
            }


            if (txtRDO_APPREHENSION_SIGN.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                RDO_APPREHENSION_SIGN.SelectedValue = txtRDO_APPREHENSION_SIGN.Text;
            }



            // Response.Redirect("Bill_Sys_CM_PhysicalStatus1.aspx", 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());
        }
    }
Example #26
0
    public void LoadData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtEventID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "IM_PhysicalStatus2.xml";
            _editOperation.LoadData();



            if (txtrdl_Knee_Effusion.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdl_Knee_Effusion.SelectedValue = txtrdl_Knee_Effusion.Text;
            }


            if (txtrdlAnterior_Drawer_Sign_Left.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlAnterior_Drawer_Sign_Left.SelectedValue = txtrdlAnterior_Drawer_Sign_Left.Text;
            }


            if (txtrdlAnterior_Drawer_Sign_Right.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlAnterior_Drawer_Sign_Right.SelectedValue = txtrdlAnterior_Drawer_Sign_Right.Text;
            }


            if (txtrdlFeet_Ankle_Pain.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlFeet_Ankle_Pain.SelectedValue = txtrdlFeet_Ankle_Pain.Text;
            }

            if (txtrdlFeet_Foot_Pain.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlFeet_Foot_Pain.SelectedValue = txtrdlFeet_Foot_Pain.Text;
            }

            if (txtrdlFeet_Numbness_Of_Foot.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlFeet_Numbness_Of_Foot.SelectedValue = txtrdlFeet_Numbness_Of_Foot.Text;
            }


            if (txtrdlFeet_Swollen_Ankle.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlFeet_Swollen_Ankle.SelectedValue = txtrdlFeet_Swollen_Ankle.Text;
            }


            if (txtrdlFeet_Swollen_Foot.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlFeet_Swollen_Foot.SelectedValue = txtrdlFeet_Swollen_Foot.Text;
            }

            if (txtrdlKnee_Crepitis.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlKnee_Crepitis.SelectedValue = txtrdlKnee_Crepitis.Text;
            }


            if (txtrdlknee_Joint_Line_Pain.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlknee_Joint_Line_Pain.SelectedValue = txtrdlknee_Joint_Line_Pain.Text;
            }


            if (txtrdlKnee_Point_Tenderness.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlKnee_Point_Tenderness.SelectedValue = txtrdlKnee_Point_Tenderness.Text;
            }


            if (txtrdlknee_Swlling.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlknee_Swlling.SelectedValue = txtrdlknee_Swlling.Text;
            }


            if (txtrdlMcmurrays_Test_Left.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlMcmurrays_Test_Left.SelectedValue = txtrdlMcmurrays_Test_Left.Text;
            }


            if (txtrdlMcmurrays_Test_Right.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlMcmurrays_Test_Right.SelectedValue = txtrdlMcmurrays_Test_Right.Text;
            }


            if (txtrdlNumbness_In_Arm.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlNumbness_In_Arm.SelectedValue = txtrdlNumbness_In_Arm.Text;
            }


            if (txtrdlNumbness_In_Forearm.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlNumbness_In_Forearm.SelectedValue = txtrdlNumbness_In_Forearm.Text;
            }


            if (txtrdlNumbness_In_Hand.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlNumbness_In_Hand.SelectedValue = txtrdlNumbness_In_Hand.Text;
            }


            if (txtrdlPain_In_Forearm.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_In_Forearm.SelectedValue = txtrdlPain_In_Forearm.Text;
            }


            if (txtrdlPain_In_Hand.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_In_Hand.SelectedValue = txtrdlPain_In_Hand.Text;
            }



            if (txtrdlPain_In_Upper_Arm.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_In_Upper_Arm.SelectedValue = txtrdlPain_In_Upper_Arm.Text;
            }


            if (txtrdlPain_In_Wrist.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_In_Wrist.SelectedValue = txtrdlPain_In_Wrist.Text;
            }

            if (txtrdlPain_N_Elbow.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_N_Elbow.SelectedValue = txtrdlPain_N_Elbow.Text;
            }


            if (txtrdlPain_Needless_Arm.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_Needless_Arm.SelectedValue = txtrdlPain_Needless_Arm.Text;
            }


            if (txtrdlPain_Needless_Forearm.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_Needless_Forearm.SelectedValue = txtrdlPain_Needless_Forearm.Text;
            }



            if (txtrdlPain_Needless_Hand.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPain_Needless_Hand.SelectedValue = txtrdlPain_Needless_Hand.Text;
            }


            if (txtrdlPosterior_Drawer_Sign_Left.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPosterior_Drawer_Sign_Left.SelectedValue = txtrdlPosterior_Drawer_Sign_Left.Text;
            }


            if (txtrdlPosterior_Drawer_Sign_Right.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlPosterior_Drawer_Sign_Right.SelectedValue = txtrdlPosterior_Drawer_Sign_Right.Text;
            }

            if (txtrdlValgus_Test_Left.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlValgus_Test_Left.SelectedValue = txtrdlValgus_Test_Left.Text;
            }


            if (txtrdlValgus_Test_Right.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlValgus_Test_Right.SelectedValue = txtrdlValgus_Test_Right.Text;
            }


            if (txtrdlVarus_Test_Left.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlVarus_Test_Left.SelectedValue = txtrdlVarus_Test_Left.Text;
            }


            if (txtrdlVarus_Test_Right.Text.ToString().Equals("-1"))
            {
            }
            else
            {
                rdlVarus_Test_Right.SelectedValue = txtrdlVarus_Test_Right.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());
        }
    }
Example #27
0
    protected void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = Session["CO_CHIRO_EVENT_ID"].ToString();
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "Bill_Sys_CO_Chiro_Past_Medical_History.xml";
            _editOperation.LoadData();


            if (TXT_CURRENTLY_SMOKING_OR_QUIT_SMOKING.Text.Trim() != "-1")
            {
                if (TXT_CURRENTLY_SMOKING_OR_QUIT_SMOKING.Text.Trim() == "0")
                {
                    RDO_CURRENTLY_SMOKING_OR_QUIT_SMOKINGCURRENTLY.Checked = true;
                }
                else if (TXT_CURRENTLY_SMOKING_OR_QUIT_SMOKING.Text.Trim() == "1")
                {
                    RDO_CURRENTLY_SMOKING_OR_QUIT_SMOKINGQUIT.Checked = true;
                }
            }

            if (TXT_CURRENTLY_WAS_WAS_NOT_PERFORMING_EXERCISE.Text.Trim() != "-1")
            {
                if (TXT_CURRENTLY_WAS_WAS_NOT_PERFORMING_EXERCISE.Text.Trim() == "0")
                {
                    RDO_CURRENTLY_WAS_WAS_NOT_PERFORMING_EXERCISE.SelectedIndex = 0;
                }
                else if (TXT_CURRENTLY_WAS_WAS_NOT_PERFORMING_EXERCISE.Text.Trim() == "1")
                {
                    RDO_CURRENTLY_WAS_WAS_NOT_PERFORMING_EXERCISE.SelectedIndex = 1;
                }
                else if (TXT_CURRENTLY_WAS_WAS_NOT_PERFORMING_EXERCISE.Text.Trim() == "2")
                {
                    RDO_CURRENTLY_WAS_WAS_NOT_PERFORMING_EXERCISE.SelectedIndex = 2;
                }
            }
            if (TXT_HOME_OR_GYM.Text.Trim() != "-1")
            {
                if (TXT_HOME_OR_GYM.Text.Trim() == "0")
                {
                    RDO_HOME_OR_GYM.SelectedIndex = 0;
                }
                else if (TXT_HOME_OR_GYM.Text.Trim() == "1")
                {
                    RDO_HOME_OR_GYM.SelectedIndex = 1;
                }
            }
            if (TXT_HAND_DOMINATION.Text.Trim() != "-1")
            {
                if (TXT_HAND_DOMINATION.Text.Trim() == "0")
                {
                    RDO_HAND_DOMINATION.SelectedIndex = 0;
                }
                else if (TXT_HAND_DOMINATION.Text.Trim() == "1")
                {
                    RDO_HAND_DOMINATION.SelectedIndex = 1;
                }
            }
            if (TXT_CONSTANT_INTERMITTENT.Text.Trim() != "-1")
            {
                if (TXT_CONSTANT_INTERMITTENT.Text.Trim() == "0")
                {
                    RDO_CONSTANT_INTERMITTENT.SelectedIndex = 0;
                }
                else if (TXT_CONSTANT_INTERMITTENT.Text.Trim() == "1")
                {
                    RDO_CONSTANT_INTERMITTENT.SelectedIndex = 1;
                }
            }
            if (TXT_CERVICAL_WITH_WITHOUT_RADIATION.Text.Trim() != "-1")
            {
                if (TXT_CERVICAL_WITH_WITHOUT_RADIATION.Text.Trim() == "0")
                {
                    RDO_CERVICAL_WITH_WITHOUT_RADIATION.SelectedIndex = 0;
                }
                else if (TXT_CERVICAL_WITH_WITHOUT_RADIATION.Text.Trim() == "1")
                {
                    RDO_CERVICAL_WITH_WITHOUT_RADIATION.SelectedIndex = 1;
                }
                else if (TXT_CERVICAL_WITH_WITHOUT_RADIATION.Text.Trim() == "2")
                {
                    RDO_CERVICAL_WITH_WITHOUT_RADIATION.SelectedIndex = 2;
                }
            }
            if (TXT_CERVICAL_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() != "-1")
            {
                if (TXT_CERVICAL_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "0")
                {
                    RDO_CERVICAL_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 0;
                }
                else if (TXT_CERVICAL_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "1")
                {
                    RDO_CERVICAL_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 1;
                }
                else if (TXT_CERVICAL_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "2")
                {
                    RDO_CERVICAL_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 2;
                }
            }
            if (TXT_THORACIC_WITH_WITHOUT_RADIATION.Text.Trim() != "-1")
            {
                if (TXT_THORACIC_WITH_WITHOUT_RADIATION.Text.Trim() == "0")
                {
                    RDO_THORACIC_WITH_WITHOUT_RADIATION.SelectedIndex = 0;
                }
                else if (TXT_THORACIC_WITH_WITHOUT_RADIATION.Text.Trim() == "1")
                {
                    RDO_THORACIC_WITH_WITHOUT_RADIATION.SelectedIndex = 1;
                }
                else if (TXT_THORACIC_WITH_WITHOUT_RADIATION.Text.Trim() == "2")
                {
                    RDO_THORACIC_WITH_WITHOUT_RADIATION.SelectedIndex = 2;
                }
            }
            if (TXT_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() != "-1")
            {
                if (TXT_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "0")
                {
                    RDO_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 0;
                }
                else if (TXT_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "1")
                {
                    RDO_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 1;
                }
                else if (TXT_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "2")
                {
                    RDO_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 2;
                }
            }
            if (TXT_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() != "-1")
            {
                if (TXT_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "0")
                {
                    RDO_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 0;
                }
                else if (TXT_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "1")
                {
                    RDO_THORACIC_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 1;
                }
            }
            if (TXT_LUMBAR_WITH_WITHOUT_RADIATION.Text.Trim() != "-1")
            {
                if (TXT_LUMBAR_WITH_WITHOUT_RADIATION.Text.Trim() == "0")
                {
                    RDO_LUMBAR_WITH_WITHOUT_RADIATION.SelectedIndex = 0;
                }
                else if (TXT_LUMBAR_WITH_WITHOUT_RADIATION.Text.Trim() == "1")
                {
                    RDO_LUMBAR_WITH_WITHOUT_RADIATION.SelectedIndex = 1;
                }
                else if (TXT_LUMBAR_WITH_WITHOUT_RADIATION.Text.Trim() == "2")
                {
                    RDO_LUMBAR_WITH_WITHOUT_RADIATION.SelectedIndex = 2;
                }
            }



            if (TXT_LUMBAR_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() != "-1")
            {
                if (TXT_LUMBAR_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "0")
                {
                    RDO_LUMBAR_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 0;
                }
                else if (TXT_LUMBAR_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "1")
                {
                    RDO_LUMBAR_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 1;
                }
                else if (TXT_LUMBAR_RADIATION_BILATERAL_LEFT_RIGHT1.Text.Trim() == "2")
                {
                    RDO_LUMBAR_RADIATION_BILATERAL_LEFT_RIGHT.SelectedIndex = 2;
                }
            }
            if (TXT_SHOULDER_PAIN.Text.Trim() != "-1")
            {
                if (TXT_SHOULDER_PAIN.Text.Trim() == "0")
                {
                    RDO_SHOULDER_PAIN.SelectedIndex = 0;
                }
                else if (TXT_SHOULDER_PAIN.Text.Trim() == "1")
                {
                    RDO_SHOULDER_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_ARM_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_ARM_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_ARM_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_ARM_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_ARM_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_ELBOW_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_ELBOW_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_ELBOW_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_ELBOW_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_ELBOW_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_FOREARM_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_FOREARM_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_FOREARM_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_FOREARM_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_FOREARM_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_HAND_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_HAND_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_HAND_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_HAND_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_HAND_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_DIGIT_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_DIGIT_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_DIGIT_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_DIGIT_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_DIGIT_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.SelectedIndex = 1;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.Text.Trim() == "2")
                {
                    RDO_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.SelectedIndex = 2;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.Text.Trim() == "3")
                {
                    RDO_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.SelectedIndex = 3;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.Text.Trim() == "4")
                {
                    RDO_RIGHT_LEFT_ACCURATE_DIGIT_PAIN.SelectedIndex = 4;
                }
            }
            if (TXT_WITH_WITHOUT_BREATHING.Text.Trim() != "-1")
            {
                if (TXT_WITH_WITHOUT_BREATHING.Text.Trim() == "0")
                {
                    RDO_WITH_WITHOUT_BREATHING.SelectedIndex = 0;
                }
                else if (TXT_WITH_WITHOUT_BREATHING.Text.Trim() == "1")
                {
                    RDO_WITH_WITHOUT_BREATHING.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_HIP_JOINT_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_HIP_JOINT_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_HIP_JOINT_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_HIP_JOINT_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_HIP_JOINT_PAIN.SelectedIndex = 1;
                }
            }



            if (TXT_RIGHT_LEFT_GLUTEAL_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_GLUTEAL_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_GLUTEAL_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_GLUTEAL_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_GLUTEAL_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_THIGH_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_THIGH_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_THIGH_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_THIGH_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_THIGH_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_KNEE_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_KNEE_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_KNEE_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_KNEE_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_KNEE_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_LEG_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_LEG_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_LEG_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_LEG_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_LEG_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_ANKLE_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_ANKLE_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_ANKLE_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_ANKLE_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_ANKLE_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_FOOT_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_FOOT_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_FOOT_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_FOOT_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_FOOT_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_TOE_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_TOE_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_TOE_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_TOE_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_TOE_PAIN.SelectedIndex = 1;
                }
            }
            if (TXT_RIGHT_LEFT_ACCURATE_TOE_PAIN.Text.Trim() != "-1")
            {
                if (TXT_RIGHT_LEFT_ACCURATE_TOE_PAIN.Text.Trim() == "0")
                {
                    RDO_RIGHT_LEFT_ACCURATE_TOE_PAIN.SelectedIndex = 0;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_TOE_PAIN.Text.Trim() == "1")
                {
                    RDO_RIGHT_LEFT_ACCURATE_TOE_PAIN.SelectedIndex = 1;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_TOE_PAIN.Text.Trim() == "2")
                {
                    RDO_RIGHT_LEFT_ACCURATE_TOE_PAIN.SelectedIndex = 2;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_TOE_PAIN.Text.Trim() == "3")
                {
                    RDO_RIGHT_LEFT_ACCURATE_TOE_PAIN.SelectedIndex = 3;
                }
                else if (TXT_RIGHT_LEFT_ACCURATE_TOE_PAIN.Text.Trim() == "4")
                {
                    RDO_RIGHT_LEFT_ACCURATE_TOE_PAIN.SelectedIndex = 4;
                }
            }
            if (TXT_NUMBNESS_TINGLING_PARENTHESIA1.Text.Trim() != "-1")
            {
                if (TXT_NUMBNESS_TINGLING_PARENTHESIA1.Text.Trim() == "0")
                {
                    RDO_NUMBNESS_TINGLING_PARENTHESIA.SelectedIndex = 0;
                }
                else if (TXT_NUMBNESS_TINGLING_PARENTHESIA1.Text.Trim() == "1")
                {
                    RDO_NUMBNESS_TINGLING_PARENTHESIA.SelectedIndex = 1;
                }
                else if (TXT_NUMBNESS_TINGLING_PARENTHESIA1.Text.Trim() == "2")
                {
                    RDO_NUMBNESS_TINGLING_PARENTHESIA.SelectedIndex = 2;
                }
            }
            if (TXT_WELL_NOURISHED_AND_MAINTAINED.Text.Trim() != "-1")
            {
                if (TXT_WELL_NOURISHED_AND_MAINTAINED.Text.Trim() == "0")
                {
                    RDO_WELL_NOURISHED_AND_MAINTAINED.SelectedIndex = 0;
                }
                else if (TXT_WELL_NOURISHED_AND_MAINTAINED.Text.Trim() == "1")
                {
                    RDO_WELL_NOURISHED_AND_MAINTAINED.SelectedIndex = 1;
                }
                else if (TXT_WELL_NOURISHED_AND_MAINTAINED.Text.Trim() == "2")
                {
                    RDO_WELL_NOURISHED_AND_MAINTAINED.SelectedIndex = 2;
                }
            }


            if (TXT_VISUAL_LIMP_IN_RIGHT_LEFT.Text.Trim() != "-1")
            {
                if (TXT_VISUAL_LIMP_IN_RIGHT_LEFT.Text.Trim() == "0")
                {
                    RDO_VISUAL_LIMP_IN_RIGHT_LEFT.SelectedIndex = 0;
                }
                else if (TXT_VISUAL_LIMP_IN_RIGHT_LEFT.Text.Trim() == "1")
                {
                    RDO_VISUAL_LIMP_IN_RIGHT_LEFT.SelectedIndex = 1;
                }
            }
            if (TXT_GAIT_ABNORMALITY_PRESENTS_ANTALGIC_ATAXIC.Text.Trim() != "-1")
            {
                if (TXT_GAIT_ABNORMALITY_PRESENTS_ANTALGIC_ATAXIC.Text.Trim() == "0")
                {
                    RDO_GAIT_ABNORMALITY_PRESENTS_ANTALGIC_ATAXIC.SelectedIndex = 0;
                }
                else if (TXT_GAIT_ABNORMALITY_PRESENTS_ANTALGIC_ATAXIC.Text.Trim() == "1")
                {
                    RDO_GAIT_ABNORMALITY_PRESENTS_ANTALGIC_ATAXIC.SelectedIndex = 1;
                }
            }
            if (TXT_UNABLE_TO_WALK_ON_TOES_HEALS.Text.Trim() != "-1")
            {
                if (TXT_UNABLE_TO_WALK_ON_TOES_HEALS.Text.Trim() == "0")
                {
                    RDO_UNABLE_TO_WALK_ON_TOES_HEALS.SelectedIndex = 0;
                }
                else if (TXT_UNABLE_TO_WALK_ON_TOES_HEALS.Text.Trim() == "1")
                {
                    RDO_UNABLE_TO_WALK_ON_TOES_HEALS.SelectedIndex = 1;
                }
            }
        }
        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());
        }
    }
Example #28
0
    public void LoadData()
    {
        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 _editOperation = new EditOperation();

        try
        {
            _editOperation.Primary_Value = txtEventID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "CM_INITIAL_EVAL_WorkStatus.xml";
            _editOperation.LoadData();


            if (txtRDO_DISCUSS_LIMIT_PATIENT.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_DISCUSS_LIMIT_PATIENT.SelectedValue = txtRDO_DISCUSS_LIMIT_PATIENT.Text;
            }

            if (txtRDO_PATIENT_CURRENTLY_WORKING.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_PATIENT_CURRENTLY_WORKING.SelectedValue = txtRDO_PATIENT_CURRENTLY_WORKING.Text;
            }


            if (txtRDO_PATIENT_MISSED_WORK.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_PATIENT_MISSED_WORK.SelectedValue = txtRDO_PATIENT_MISSED_WORK.Text;
            }



            if (txtRDO_PATIENT_RETURN_TO_WORK.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_PATIENT_RETURN_TO_WORK.SelectedValue = txtRDO_PATIENT_RETURN_TO_WORK.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());
        }
    }
    private void LoadData()
    {
        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();
        try
        {
            _editOperation.Primary_Value = txtWorkStatusID.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "WorkStatusC4_2.xml";
            _editOperation.LoadData();
            if (hdntxtPatientCanReturnWork.Text == "0")
            {
                chkPatientcannotReturn.Checked = true;
                txtPatientcannotReturn.Text    = hdntxtPatientCanReturnWorkDescription.Text;
            }
            else if (hdntxtPatientCanReturnWork.Text == "1")
            {
                chkPatientReturnToWorkWithoutLimitation.Checked = true;
                txtPatientWorkWithoutLimitaion.Text             = hdntxtPatientCanReturnWorkDescription.Text;
            }
            else if (hdntxtPatientCanReturnWork.Text == "2")
            {
                chkPatientReturnToWorkWithlimitation.Checked = true;
                txtPatientWorkWithLimitaion.Text             = hdntxtPatientCanReturnWorkDescription.Text;
            }
            if (txtPatientWorkWithLimitaion.Text != "")
            {
                txtPatientWorkWithLimitaion.Text = Convert.ToDateTime(txtPatientWorkWithLimitaion.Text).ToShortDateString();
            }
            if (txtPatientWorkWithoutLimitaion.Text != "")
            {
                txtPatientWorkWithoutLimitaion.Text = Convert.ToDateTime(txtPatientWorkWithoutLimitaion.Text).ToShortDateString();
            }


            _editOperation.Primary_Value = txtBillNumber.Text;
            _editOperation.WebPage       = this.Page;
            _editOperation.Xml_File      = "providerinformation.xml";
            _editOperation.LoadData();

            if (txtProviderDate.Text != "")
            {
                txtProviderDate.Text = Convert.ToDateTime(txtProviderDate.Text).ToShortDateString();
            }
            string strOfficeName = txtProviderName.Text;
            txtAuthProviderSpeciality.Text = txtProviderSpeciality.Text;

            if (txtProviderSpeciality.Text.Contains("HBOT") || txtProviderSpeciality.Text.Contains("ROM") || txtProviderSpeciality.Text.Contains("PCE") || txtProviderSpeciality.Text.Contains("OAT"))
            {
                txtProviderName.Text     = strOfficeName;
                txtAuthProviderName.Text = strOfficeName;
            }
            else
            {
                txtProviderName.Text     = txtDoctorName.Text;
                txtAuthProviderName.Text = strOfficeName;
            }
        }
        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 LoadData()
    {
        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
        {
            EditOperation _editoperation = new EditOperation();
            _editoperation.Primary_Value = TXT_EVENT_ID.Text;
            _editoperation.WebPage       = this.Page;
            _editoperation.Xml_File      = "MRI_Questionary.xml";
            _editoperation.LoadData();

            if (TXT_QUES1.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES1.SelectedValue = TXT_QUES1.Text;
            }

            if (TXT_QUES2.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES2.SelectedValue = TXT_QUES2.Text;
            }

            if (TXT_QUES3.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES3.SelectedValue = TXT_QUES3.Text;
            }

            if (TXT_QUES4.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES4.SelectedValue = TXT_QUES4.Text;
            }

            if (TXT_QUES5.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES5.SelectedValue = TXT_QUES5.Text;
            }

            if (TXT_QUES6.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES6.SelectedValue = TXT_QUES6.Text;
            }

            if (TXT_QUES7.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES7.SelectedValue = TXT_QUES7.Text;
            }

            if (TXT_QUES8.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES8.SelectedValue = TXT_QUES8.Text;
            }

            if (TXT_QUES9.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES9.SelectedValue = TXT_QUES9.Text;
            }

            if (TXT_QUES10.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES10.SelectedValue = TXT_QUES10.Text;
            }

            if (TXT_QUES11.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES11.SelectedValue = TXT_QUES11.Text;
            }

            if (TXT_QUES12.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES12.SelectedValue = TXT_QUES12.Text;
            }

            if (TXT_QUES13.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES13.SelectedValue = TXT_QUES13.Text;
            }

            if (TXT_QUES14.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES14.SelectedValue = TXT_QUES14.Text;
            }

            if (TXT_QUES15.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES15.SelectedValue = TXT_QUES15.Text;
            }

            if (TXT_QUES16.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES16.SelectedValue = TXT_QUES16.Text;
            }

            if (TXT_QUES17.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES17.SelectedValue = TXT_QUES17.Text;
            }

            if (TXT_QUES18.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES18.SelectedValue = TXT_QUES18.Text;
            }

            if (TXT_QUES19.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES19.SelectedValue = TXT_QUES19.Text;
            }

            if (TXT_QUES20.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES20.SelectedValue = TXT_QUES20.Text;
            }

            if (TXT_QUES21.Text.Equals("-1"))
            {
            }
            else
            {
                RDO_QUES21.SelectedValue = TXT_QUES21.Text;
            }
        }
        catch (Exception ex)
        {
            Response.Write("Exp Msg= " + 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());
        }
    }