コード例 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            String      CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            DashBoardBO _obj      = new DashBoardBO();
            _billTransactionBO = new Bill_Sys_BillTransaction_BO();

            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblMissingInformation.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li> <a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_PaidBills.aspx?Flag=MissingInsuranceCompany' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), CompanyID, "MISSING_INSURANCE_COMPANY") + "</a> ";
            lblMissingInformation.Text += " insurance company missing </li>  <li> <a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_PaidBills.aspx?Flag=MissingAttorney' onclick=\"javascript:OpenPage('MissingAttorney');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), CompanyID, "MISSING_ATTORNEY") + "</a>";
            lblMissingInformation.Text += " attorney missing </li>  <li> <a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_PaidBills.aspx?Flag=MissingClaimNumber' onclick=\"javascript:OpenPage('MissingClaimNumber');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), CompanyID, "MISSING_CLAIM_NUMBER") + "</a> claim number missing </li></ul>";
        }
        catch (Exception ex)
        {
            string strError = ex.Message.ToString();
            strError = strError.Replace("\n", " ");
            Response.Redirect("~/Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError);
        }
    }
コード例 #2
0
    private void DisplayMissingSpeciality()
    {
        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());
        }
        DashBoardBO objDashBoard = new DashBoardBO();
        DataTable   dt           = new DataTable();

        try
        {
            string companyID = txtCompanyID.Text;
            dt = objDashBoard.getMissingSpecialityList(companyID);

            lblMissingSpecialityText.Text = "<table>";

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                if (i % 4 == 0)
                {
                    if (i != 0 && i % 4 == 0)
                    {
                        lblMissingSpecialityText.Text += "</tr>";
                    }
                    lblMissingSpecialityText.Text += "<tr><td><ul style=\"list-style-type:disc;padding-left:60px;\"><li><a href='#' onclick=\"javascript:OpenReport('" + dt.Rows[i][2].ToString() + "')\">" + dt.Rows[i][0].ToString() + "</a> - " + dt.Rows[i][1].ToString() + "</li></ul></td>";
                }
                else
                {
                    lblMissingSpecialityText.Text += "<td><ul style=\"list-style-type:disc;padding-left:60px;\"><li><a href='#' onclick=\"javascript:OpenReport('" + dt.Rows[i][2].ToString() + "')\">" + dt.Rows[i][0].ToString() + "</a> - " + dt.Rows[i][1].ToString() + "</li><ul></td>";
                }
            }
            lblMissingSpecialityText.Text += "</table>";
        }
        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());
        }
    }
コード例 #3
0
    protected void setLabels()
    {
        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());
        }
        DashBoardBO _obj = new DashBoardBO();

        _billTransactionBO = new Bill_Sys_BillTransaction_BO();
        try
        {
            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblAppointmentToday.Text = _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "GET_APPOINTMENT");
            lblAppointmentWeek.Text  = _obj.getAppoinmentCount(start.ToString(), end.ToString(), txtCompanyID.Text, "GET_APPOINTMENT");

            lblBillStatus.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='Bill_Sys_PaidBills.aspx?Flag=Paid' onclick=\"javascript:OpenPage('Paid');\" > " + _billTransactionBO.GetCaseCount("SP_MST_CASE_MASTER", "GET_PAID_LIST_COUNT", txtCompanyID.Text) + "</a>";
            lblBillStatus.Text += " Paid Bills  </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=UnPaid' onclick=\"javascript:OpenPage('UnPaid');\" > " + _billTransactionBO.GetCaseCount("SP_MST_CASE_MASTER", "GET_UNPAID_LIST_COUNT", txtCompanyID.Text) + "</a> Un-Paid Bills </li></ul>";

            lblDesk.Text = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='Bill_Sys_LitigationDesk.aspx?Type=Litigation' onclick=\"javascript:OpenPage('Litigation');\" > " + _billTransactionBO.GetCaseCount("SP_LITIGATION_WRITEOFF_DESK", "GET_LETIGATION_COUNT", txtCompanyID.Text) + "</a>" + " bills due for litigation";

            //lblMissingInformation.Text = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='Bill_Sys_PaidBills.aspx?Flag=MissingProvider' onclick=\"javascript:OpenPage('MissingProvider');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_PROVIDER") + "</a>";
            //lblMissingInformation.Text += " provider information missing  </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingInsuranceCompany' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_INSURANCE_COMPANY") + "</a> ";
            //lblMissingInformation.Text += " insurance company missing </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingAttorney' onclick=\"javascript:OpenPage('MissingAttorney');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_ATTORNEY") + "</a>";
            //lblMissingInformation.Text += " attorney missing </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingClaimNumber' onclick=\"javascript:OpenPage('MissingClaimNumber');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_CLAIM_NUMBER") + "</a> claim number missing </li></ul>";
        }
        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());
        }
    }
コード例 #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            String      CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            DashBoardBO _obj      = new DashBoardBO();
            _billTransactionBO = new Bill_Sys_BillTransaction_BO();

            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblAppointmentWeek.Text = _obj.getAppoinmentCount(start.ToString(), end.ToString(), CompanyID, "GET_APPOINTMENT");
        }
        catch (Exception ex)
        {
            string strError = ex.Message.ToString();
            strError = strError.Replace("\n", " ");
            Response.Redirect("~/Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError);
        }
    }
コード例 #5
0
ファイル: Bill_Sys_Desk.ascx.cs プロジェクト: jehan2898/root
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            String      CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            DashBoardBO _obj      = new DashBoardBO();
            _billTransactionBO = new Bill_Sys_BillTransaction_BO();

            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblDesk.Text = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_LitigationDesk.aspx?Type=Litigation' onclick=\"javascript:OpenPage('Litigation');\" > " + _billTransactionBO.GetCaseCount("SP_LITIGATION_WRITEOFF_DESK", "GET_LETIGATION_COUNT", CompanyID) + "</a>" + " bills due for litigation";
        }
        catch (Exception ex)
        {
            string strError = ex.Message.ToString();
            strError = strError.Replace("\n", " ");
            Response.Redirect("~/Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError);
        }
    }
コード例 #6
0
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            String      CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            DashBoardBO _obj      = new DashBoardBO();
            _billTransactionBO = new Bill_Sys_BillTransaction_BO();

            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblBillStatus.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_PaidBills.aspx?Flag=Paid' onclick=\"javascript:OpenPage('Paid');\" > " + _billTransactionBO.GetCaseCount("SP_MST_CASE_MASTER", "GET_PAID_LIST_COUNT", CompanyID) + "</a>";
            lblBillStatus.Text += " Paid Bills  </li>  <li> <a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_PaidBills.aspx?Flag=UnPaid' onclick=\"javascript:OpenPage('UnPaid');\" > " + _billTransactionBO.GetCaseCount("SP_MST_CASE_MASTER", "GET_UNPAID_LIST_COUNT", CompanyID) + "</a> Un-Paid Bills </li></ul>";
        }
        catch (Exception ex)
        {
            string strError = ex.Message.ToString();
            strError = strError.Replace("\n", " ");
            Response.Redirect("~/Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError);
        }
    }
コード例 #7
0
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            String      CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            DashBoardBO _obj      = new DashBoardBO();
            _billTransactionBO = new Bill_Sys_BillTransaction_BO();

            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblProcedureStatus.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li>" + _obj.getBilledUnbilledProcCode(CompanyID, "GET_BILLEDPROC") + " billed procedure codes";
            lblProcedureStatus.Text += "</li>  <li>" + _obj.getBilledUnbilledProcCode(CompanyID, "GET_UNBILLEDPROC") + " Un-billed procedure codes </li></ul>";
        }
        catch (Exception ex)
        {
            string strError = ex.Message.ToString();
            strError = strError.Replace("\n", " ");
            Response.Redirect("~/Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError);
        }
    }
コード例 #8
0
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            String      CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID;
            DashBoardBO _obj      = new DashBoardBO();
            _billTransactionBO = new Bill_Sys_BillTransaction_BO();

            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblReport.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_PaidBills.aspx?Flag=report&Type=R' onclick=\"javascript:OpenPage('Litigation');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), CompanyID, "DOCUMENT_RECEIVED_COUNT") + "</a>" + " Received Report";
            lblReport.Text += "</li>  <li> <a href='" + "http://" + Request.Url.Authority + Request.ApplicationPath + "/Bill_Sys_PaidBills.aspx?Flag=report&Type=P' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), CompanyID, "DOCUMENT_PENDING_COUNT") + "</a> Pending Report </li></ul>";
        }
        catch (Exception ex)
        {
            string strError = ex.Message.ToString();
            strError = strError.Replace("\n", " ");
            Response.Redirect("~/Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError);
        }
    }
コード例 #9
0
ファイル: ViewDashboard.aspx.cs プロジェクト: jehan2898/root
    private void ConfigDashBoard()
    {
        DashBoardBO _objDashBoardBO = new DashBoardBO();

        try
        {
            Hashtable htAllocatedTabs = new Hashtable();
            ArrayList arAllTabs       = new ArrayList();
            DataTable dt = _objDashBoardBO.GetConfigDashBoard(((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ROLE);
            foreach (DataRow dr in dt.Rows)
            {
                htAllocatedTabs.Add(dr[0].ToString(), dr[0].ToString());
            }
            for (int i = 0; i < ((System.Web.UI.WebControls.ListControl)(((System.Web.UI.WebControls.CompositeControl)(WidgetTypeList1)).Controls[1])).Items.Count; i++)
            {
                arAllTabs.Add(((System.Web.UI.WebControls.ListControl)(((System.Web.UI.WebControls.CompositeControl)(WidgetTypeList1)).Controls[1])).Items[i].Text);
            }
            int totCount = arAllTabs.Count - 1;
            for (int i = totCount; i >= 0; i--)
            {
                //if(!htAllocatedTabs.ContainsKey(arAllTabs[i].ToString().Trim()))
                //    ((System.Web.UI.WebControls.ListControl)(((System.Web.UI.WebControls.CompositeControl)(WidgetTypeList1)).Controls[1])).Items.RemoveAt(i);

                if (!htAllocatedTabs.ContainsKey(((System.Web.UI.WebControls.ListControl)(((System.Web.UI.WebControls.CompositeControl)(WidgetTypeList1)).Controls[1])).Items[i].Text.Trim()))
                {
                    { ((System.Web.UI.WebControls.ListControl)(((System.Web.UI.WebControls.CompositeControl)(WidgetTypeList1)).Controls[1])).Items.RemoveAt(i); }
                }
            }
        }
        catch (Exception ex)
        {
            string strError = ex.Message.ToString();
            strError = strError.Replace("\n", " ");
            Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + strError);
        }
    }
コード例 #10
0
    protected void setLabels()
    {
        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());
        }
        DashBoardBO _obj = new DashBoardBO();

        _billTransactionBO = new Bill_Sys_BillTransaction_BO();
        try
        {
            DayOfWeek day  = Convert.ToDateTime(System.DateTime.Today.ToString()).DayOfWeek;
            int       days = day - DayOfWeek.Sunday;

            DateTime start = Convert.ToDateTime(System.DateTime.Today.ToString()).AddDays(-days);
            DateTime end   = start.AddDays(6);

            lblAppointmentToday.Text = _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "GET_APPOINTMENT");
            lblAppointmentWeek.Text  = _obj.getAppoinmentCount(start.ToString(), end.ToString(), txtCompanyID.Text, "GET_APPOINTMENT");

            lblBillStatus.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='Bill_Sys_PaidBills.aspx?Flag=Paid' onclick=\"javascript:OpenPage('Paid');\" > " + _billTransactionBO.GetCaseCount("SP_MST_CASE_MASTER", "GET_PAID_LIST_COUNT", txtCompanyID.Text) + "</a>";
            lblBillStatus.Text += " Paid Bills  </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=UnPaid' onclick=\"javascript:OpenPage('UnPaid');\" > " + _billTransactionBO.GetCaseCount("SP_MST_CASE_MASTER", "GET_UNPAID_LIST_COUNT", txtCompanyID.Text) + "</a> Un-Paid Bills </li></ul>";

            lblDesk.Text = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='AJAX Pages/Bill_Sys_LitigationDesk.aspx?Type=Litigation' onclick=\"javascript:OpenPage('Litigation');\" > " + _billTransactionBO.GetCaseCount("SP_LITIGATION_WRITEOFF_DESK", "GET_LETIGATION_COUNT", txtCompanyID.Text) + "</a>" + " bills due for litigation";

            //lblMissingInformation.Text = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='Bill_Sys_PaidBills.aspx?Flag=MissingProvider' onclick=\"javascript:OpenPage('MissingProvider');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_PROVIDER") + "</a>";
            //lblMissingInformation.Text += " provider information missing  </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingInsuranceCompany' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_INSURANCE_COMPANY") + "</a> ";
            lblMissingInformation.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingInsuranceCompany' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_INSURANCE_COMPANY") + "</a> ";
            lblMissingInformation.Text += " insurance company missing </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingAttorney' onclick=\"javascript:OpenPage('MissingAttorney');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_ATTORNEY") + "</a>";
            lblMissingInformation.Text += " attorney missing </li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingClaimNumber' onclick=\"javascript:OpenPage('MissingClaimNumber');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_CLAIM_NUMBER") + "</a> claim number missing </li>";
            lblMissingInformation.Text += "<li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingReportNumber' onclick=\"javascript:OpenPage('MissingReportNumber');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_REPORT_NUMBER") + "</a> report number missing </li>";
            lblMissingInformation.Text += "<li> <a href='Bill_Sys_PaidBills.aspx?Flag=MissingPolicyHolder'> " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "MISSING_POLICY_HOLDER") + "</a> policy holder missing </li>";
            lblMissingInformation.Text += "<li> <a href='Bill_Sys_ShowUnSentNF2.aspx' > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "UNSENTNF2") + "</a> unsent NF2 </li></ul>";



            // lblReport.Text = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='Bill_Sys_PaidBills.aspx?Flag=report&Type=R' onclick=\"javascript:OpenPage('Litigation');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "DOCUMENT_RECEIVED_COUNT") + "</a>" + " Received Report";
            lblReport.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a href='Bill_Sys_ReffPaidBills.aspx' onclick=\"javascript:OpenPage('Litigation');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "DOCUMENT_RECEIVED_COUNT") + "</a>" + " Received Report";
            lblReport.Text += "</li>  <li> <a href='Bill_Sys_PaidBills.aspx?Flag=report&Type=P' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + _obj.getAppoinmentCount(System.DateTime.Today.ToString(), System.DateTime.Today.ToString(), txtCompanyID.Text, "DOCUMENT_PENDING_COUNT") + "</a> Pending Report </li></ul>";

            lblProcedureStatus.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li>" + _obj.getBilledUnbilledProcCode(txtCompanyID.Text, "GET_BILLEDPROC") + " billed procedure codes";
            lblProcedureStatus.Text += "</li>  <li>" + _obj.getBilledUnbilledProcCode(txtCompanyID.Text, "GET_UNBILLEDPROC") + " Un-billed procedure codes </li></ul>";


            //lblVisits.Text = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li><a id='hlnkTotalVisit' href='#' onclick='javascript:OpenTotalVisitPopup();'>" + _obj.getTotalVisits(txtCompanyID.Text, "GET_VISIT_COUNT") + " </a> Visits</li>";
            //lblVisits.Text += "<li><a id='hlnkVisit' href='#' onclick='javascript:OpenVisitPopup();'>" + _obj.getTotalVisits(txtCompanyID.Text, "GET_BILLED_VISIT_COUNT") + " </a>Billed visits </li>";
            //lblVisits.Text += "<li><a id='hlnkUnVisit' href='#' onclick='javascript:OpenUnVisitPopup();'>" + _obj.getTotalVisits(txtCompanyID.Text, "GET_UNBILLED_VISIT_COUNT") + "</a> Un-billed visits </a></li></ul>";

            lblTotalVisit.Text    = _obj.getTotalVisits(txtCompanyID.Text, "GET_VISIT_COUNT");
            lblBilledVisit.Text   = _obj.getTotalVisits(txtCompanyID.Text, "GET_BILLED_VISIT_COUNT");
            lblUnBilledVisit.Text = _obj.getTotalVisits(txtCompanyID.Text, "GET_UNBILLED_VISIT_COUNT");

            // 8 April - add patient visit status block on page - sachin
            lblPatientVisitStatus.Text  = "<ul style=\"list-style-type:disc;padding-left:60px;\"> <li> <a href='Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientscheduled' onclick=\"javascript:OpenPage('PatientScheduled');\" > " + _obj.getPatientVisitStatusCount(txtCompanyID.Text, "GET_PATIENT_VISIT_SCHEDULED_COUNT") + "</a> ";
            lblPatientVisitStatus.Text += " Patient Scheduled </li>  <li> <a href='Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientnoshows' onclick=\"javascript:OpenPage('PatientNoShows');\" > " + _obj.getPatientVisitStatusCount(txtCompanyID.Text, "GET_PATIENT_VISIT_NO_SHOWS") + "</a>";
            lblPatientVisitStatus.Text += " Patient No Shows </li>  <li> <a href='Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientrescheduled' onclick=\"javascript:OpenPage('PatientRescheduled');\" > " + _obj.getPatientVisitStatusCount(txtCompanyID.Text, "GET_PATIENT_VISIT_RESCHEDULED") + "</a>";
            lblPatientVisitStatus.Text += " Patient Rescheduled </li>  <li> <a href='Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientvisitcompleted' onclick=\"javascript:OpenPage('PatientVisitcompleted');\" > " + _obj.getPatientVisitStatusCount(txtCompanyID.Text, "GET_PATIENT_VISIT_COMPLETED") + "</a>Patient Visit completed </li></ul>";

            ConfigDashBoard();
        }
        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());
        }
    }
コード例 #11
0
    private void ConfigDashBoard()
    {
        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());
        }
        DashBoardBO _objDashBoardBO = new DashBoardBO();

        try
        {
            DataTable dt = _objDashBoardBO.GetConfigDashBoard(((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ROLE);
            foreach (DataRow dr in dt.Rows)
            {
                switch (dr[0].ToString())
                {
                case "Daily Appointment":
                    tblDailyAppointment.Visible = true;
                    break;

                case "Weekly Appointment":
                    tblWeeklyAppointment.Visible = true;
                    break;

                case "Bill Status":
                    tblBillStatus.Visible = true;
                    break;

                case "Desk":
                    tblDesk.Visible = true;
                    break;

                case "Missing Information":
                    tblMissingInfo.Visible = true;
                    break;

                case "Report Section":
                    tblReportSection.Visible = true;
                    break;

                case "Procedure Status":
                    tblBilledUnbilledProcCode.Visible = true;
                    break;

                case "Visits":
                    tblVisits.Visible        = true;
                    grdTotalVisit.DataSource = _objDashBoardBO.getVisitDetails(txtCompanyID.Text, "TOTALCOUNT");
                    grdTotalVisit.DataBind();
                    grdVisit.DataSource = _objDashBoardBO.getVisitDetails(txtCompanyID.Text, "BILLEDVISIT");
                    grdVisit.DataBind();
                    grdUnVisit.DataSource = _objDashBoardBO.getVisitDetails(txtCompanyID.Text, "UNBILLEDVISIT");
                    grdUnVisit.DataBind();
                    break;

                case "Missing Speciality":
                    tblMissingSpeciality.Visible = true;
                    break;

                case "Patient Visit Status":
                    tblPatientVisitStatus.Visible = true;
                    break;
                }
            }
        }
        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());
        }
    }
コード例 #12
0
    protected void setLabels()
    {
        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());
        }
        DashBoardBO dbo = new DashBoardBO();

        this._billTransactionBO = new Bill_Sys_BillTransaction_BO();
        try
        {
            int      dayOfWeek = (int)Convert.ToDateTime(DateTime.Today.ToString()).DayOfWeek;
            DateTime time      = Convert.ToDateTime(DateTime.Today.ToString()).AddDays((double)-dayOfWeek);
            DateTime time2     = time.AddDays(6.0);
            DataSet  set       = new DataSet();
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), time.ToString(), time2.ToString(), this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "ALL", this.UserId);
            this.LblNoshow_Today2.Text    = set.Tables[0].Rows[0][0].ToString();
            this.LblScheduled_Today2.Text = set.Tables[0].Rows[0][1].ToString();
            this.LblComplete_Today2.Text  = set.Tables[0].Rows[0][2].ToString();
            try
            {
                this.LblNewReferral_Today2.Text = set.Tables[0].Rows[0][3].ToString();
                this.Referral_today.InnerHtml   = "New Referal Appointment";
            }
            catch
            {
                this.Referral_today.InnerHtml = "-";
            }
            this.Lblshow_missingdoc.Text        = "<a href='Bill_Sys_Notification_Report.aspx'>Show</a>";
            this.LblNoshow_Weekly2.Text         = set.Tables[0x19].Rows[0][0].ToString();
            this.LblScheduled_Weekly2.Text      = set.Tables[0x19].Rows[0][1].ToString();
            this.LblComplete_Weekly2.Text       = set.Tables[0x19].Rows[0][2].ToString();
            this.LblCompany_MissingInf2.Text    = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingInsuranceCompany' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + set.Tables[1].Rows[0][0].ToString() + "</a>";
            this.LblAttorney_MissingInf2.Text   = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingAttorney' onclick=\"javascript:OpenPage('MissingAttorney');\" > " + set.Tables[2].Rows[0][0].ToString() + "</a>";
            this.LblClaim_MissingInf2.Text      = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingClaimNumber' onclick=\"javascript:OpenPage('MissingClaimNumber');\" > " + set.Tables[3].Rows[0][0].ToString() + "</a>";
            this.LblReport_MissingInf2.Text     = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingReportNumber' onclick=\"javascript:OpenPage('MissingReportNumber');\" > " + set.Tables[4].Rows[0][0].ToString() + "</a>";
            this.LblPolicyHldr_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingPolicyHolder'> " + set.Tables[5].Rows[0][0].ToString() + "</a>";
            Bill_Sys_BillingCompanyDetails_BO s_bo = new Bill_Sys_BillingCompanyDetails_BO();
            if (s_bo.GetRefDocID(this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ID.ToString()) != "")
            {
                this.Missing_Inflbl.Text           = "-";
                this.LblUNSENTNF2_MissingInf2.Text = "";
            }
            else
            {
                this.Missing_Inflbl.Text           = "Unsent&nbsp;NF2";
                this.LblUNSENTNF2_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=UnSentNF2'> " + set.Tables[14].Rows[0][0].ToString() + "</a>";
            }
            this.LblReceived_Report2.Text            = "<a href='Bill_Sys_ReffPaidBills.aspx' title='View Details' onclick=\"javascript:OpenPage('Litigation');\" > " + set.Tables[6].Rows[0][0].ToString() + "</a>";
            this.LblPending_Report2.Text             = "<a href='Bill_Sys_paid_bills.aspx?Flag=report&Type=P' title='View Details' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + set.Tables[7].Rows[0][0].ToString() + "</a>";
            this.LblBilled_Procedure2.Text           = set.Tables[9].Rows[0][0].ToString();
            this.LblUnBilled_Procedure2.Text         = set.Tables[10].Rows[0][0].ToString();
            this.LblTotal_Visits2.Text               = "<a href='#' title='View Details'> " + set.Tables[11].Rows[0][0].ToString() + "</a>";
            this.LblBilled_Visits2.Text              = "<a href='#' title='View Details'> " + set.Tables[12].Rows[0][0].ToString() + "</a>";
            this.LblUnBilled_Visits2.Text            = "<a href='#' title='View Details'> " + set.Tables[13].Rows[0][0].ToString() + "</a>";
            this.LblScheduled_PateintsVisits2.Text   = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientscheduled' title='View Details' onclick=\"javascript:OpenPage('PatientScheduled');\" > " + set.Tables[15].Rows[0][0].ToString() + "</a>";
            this.LblNoshow_PateintsVisits2.Text      = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientnoshows' title='View Details' onclick=\"javascript:OpenPage('PatientNoShows');\" > " + set.Tables[0x10].Rows[0][0].ToString() + "</a>";
            this.LblRescheduled_PateintsVisits2.Text = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientrescheduled' title='View Details' onclick=\"javascript:OpenPage('PatientRescheduled');\" > " + set.Tables[0x11].Rows[0][0].ToString() + "</a>";
            this.LblComplete_PateintsVisits2.Text    = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientvisitcompleted' title='View Details' onclick=\"javascript:OpenPage('PatientVisitcompleted');\" > " + set.Tables[0x12].Rows[0][0].ToString() + "</a>";
            this.LblPaid_Status2.Text   = "<a href='Bill_Sys_paid_bills.aspx?Flag=Paid' title='View Details' onclick=\"javascript:OpenPage('Paid');\" > " + set.Tables[0x13].Rows[0][0].ToString() + "</a>";
            this.LblUnPaid_Status2.Text = "<a href='Bill_Sys_paid_bills.aspx?Flag=UnPaid' title='View Details' onclick=\"javascript:OpenPage('UnPaid');\" > " + set.Tables[20].Rows[0][0].ToString() + "</a>";
            this.LblBillsDue_Desk2.Text = "<a href='Bill_Sys_LitigationDesk.aspx?Type=Litigation' title='View Details' onclick=\"javascript:OpenPage('Litigation');\" > " + set.Tables[0x15].Rows[0][0].ToString() + "</a>";
            this.ConfigDashBoard(set.Tables[8], set.Tables[0x16], set.Tables[0x17], set.Tables[0x18]);
        }
        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());
        }
    }
コード例 #13
0
    protected void refresh_click(object sender, ImageClickEventArgs e)
    {
        DashBoardBO dbo = new DashBoardBO();
        DataSet     set = new DataSet();

        switch (((Control)sender).ID)
        {
        case "ImgBtn_Status":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_PAID_LIST_COUNT", this.UserId);
            this.LblPaid_Status2.Text = "<a href='Bill_Sys_PaidBills.aspx?Flag=Paid' title='View Details' onclick=\"javascript:OpenPage('Paid');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_UNPAID_LIST_COUNT", this.UserId);
            this.LblUnPaid_Status2.Text = "<a href='Bill_Sys_PaidBills.aspx?Flag=UnPaid' title='View Details' onclick=\"javascript:OpenPage('UnPaid');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            return;

        case "ImgBtn_Report":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "DOCUMENT_RECEIVED_COUNT", this.UserId);
            this.LblReceived_Report2.Text = "<a href='Bill_Sys_ReffPaidBills.aspx' title='View Details' onclick=\"javascript:OpenPage('Litigation');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "DOCUMENT_PENDING_COUNT", this.UserId);
            this.LblPending_Report2.Text = "<a href='Bill_Sys_PaidBills.aspx?Flag=report&Type=P' title='View Details' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            return;

        case "ImgBtn_Today":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_APPOINTMENT_DASHBOARD", this.UserId);
            this.LblNoshow_Today2.Text    = set.Tables[0].Rows[0][0].ToString();
            this.LblScheduled_Today2.Text = set.Tables[0].Rows[0][1].ToString();
            this.LblComplete_Today2.Text  = set.Tables[0].Rows[0][2].ToString();
            try
            {
                this.LblNewReferral_Today2.Text = set.Tables[0].Rows[0][3].ToString();
                this.Referral_today.InnerHtml   = "New Referal Appointment";
            }
            catch
            {
                this.Referral_today.InnerHtml = "-";
            }
            break;

        case "ImgBtn_Visits":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_VISIT_COUNT", this.UserId);
            this.LblTotal_Visits2.Text = "<a href='#' title='View Details'> " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_BILLED_VISIT_COUNT", this.UserId);
            this.LblBilled_Visits2.Text = "<a href='#' title='View Details'> " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_UNBILLED_VISIT_COUNT", this.UserId);
            this.LblUnBilled_Visits2.Text = "<a href='#' title='View Details'> " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "TotalBilledUnbilledVisit", this.UserId);
            this.grdTotalVisit.DataSource = set.Tables[0];
            this.grdTotalVisit.DataBind();
            this.grdVisit.DataSource = set.Tables[1];
            this.grdVisit.DataBind();
            this.grdUnVisit.DataSource = set.Tables[2];
            this.grdUnVisit.DataBind();
            return;

        case "ImgBtn_Procedure":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_BILLEDPROC", this.UserId);
            this.LblBilled_Procedure2.Text = set.Tables[0].Rows[0][0].ToString();
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_UNBILLEDPROC", this.UserId);
            this.LblUnBilled_Procedure2.Text = set.Tables[0].Rows[0][0].ToString();
            return;

        case "ImgBtn_PateintsVisits":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_PATIENT_VISIT_SCHEDULED_COUNT", this.UserId);
            this.LblScheduled_PateintsVisits2.Text = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientscheduled' title='View Details' onclick=\"javascript:OpenPage('PatientScheduled');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_PATIENT_VISIT_NO_SHOWS", this.UserId);
            this.LblNoshow_PateintsVisits2.Text = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientnoshows' title='View Details' onclick=\"javascript:OpenPage('PatientNoShows');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_PATIENT_VISIT_RESCHEDULED", this.UserId);
            this.LblRescheduled_PateintsVisits2.Text = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientrescheduled' title='View Details' onclick=\"javascript:OpenPage('PatientRescheduled');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_PATIENT_VISIT_COMPLETED", this.UserId);
            this.LblComplete_PateintsVisits2.Text = "<a href='../Bill_Sys_ShowPatientVisitStatus.aspx?Flag=patientvisitcompleted' title='View Details' onclick=\"javascript:OpenPage('PatientVisitcompleted');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            return;

        case "ImgBtn_MissingInf":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "MISSING_INSURANCE_COMPANY", this.UserId);
            this.LblCompany_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingInsuranceCompany' onclick=\"javascript:OpenPage('MissingInsuranceCompany');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "MISSING_ATTORNEY", this.UserId);
            this.LblAttorney_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingAttorney' onclick=\"javascript:OpenPage('MissingAttorney');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "MISSING_CLAIM_NUMBER", this.UserId);
            this.LblClaim_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingClaimNumber' onclick=\"javascript:OpenPage('MissingClaimNumber');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "MISSING_REPORT_NUMBER", this.UserId);
            this.LblReport_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingReportNumber' onclick=\"javascript:OpenPage('MissingReportNumber');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "MISSING_POLICY_HOLDER", this.UserId);
            this.LblPolicyHldr_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=MissingPolicyHolder'> " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "UNSENTNF2", this.UserId);
            this.LblUNSENTNF2_MissingInf2.Text = "<a href='Bill_Sys_MissingInformation.aspx?Flag=UnSentNF2' > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            return;

        case "ImgBtn_Desk":
            set = dbo.AllDashBoardData(DateTime.Today.ToString(), DateTime.Today.ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_LETIGATION_COUNT", this.UserId);
            this.LblBillsDue_Desk2.Text = "<a href='Bill_Sys_LitigationDesk.aspx?Type=Litigation' title='View Details' onclick=\"javascript:OpenPage('Litigation');\" > " + set.Tables[0].Rows[0][0].ToString() + "</a>";
            return;

        case "ImgBtn_Weekly":
        {
            int      dayOfWeek = (int)Convert.ToDateTime(DateTime.Today.ToString()).DayOfWeek;
            DateTime time      = Convert.ToDateTime(DateTime.Today.ToString()).AddDays((double)-dayOfWeek);
            set = dbo.AllDashBoardData(time.ToString(), time.AddDays(6.0).ToString(), "", "", this.txtCompanyID.Text, ((Bill_Sys_UserObject)this.Session["USER_OBJECT"]).SZ_USER_ROLE, "GET_APPOINTMENT_DASHBOARD", this.UserId);
            this.LblNoshow_Weekly2.Text    = set.Tables[0].Rows[0][0].ToString();
            this.LblScheduled_Weekly2.Text = set.Tables[0].Rows[0][1].ToString();
            this.LblComplete_Weekly2.Text  = set.Tables[0].Rows[0][2].ToString();
            break;
        }

        default:
            return;
        }
    }
コード例 #14
0
    private void ConfigDashBoard()
    {
        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());
        }
        DashBoardBO _objDashBoardBO = new DashBoardBO();

        try
        {
            DataTable dt = _objDashBoardBO.GetConfigDashBoard(oC_UserObject.SZ_USER_ROLE);
            foreach (DataRow dr in dt.Rows)
            {
                switch (dr[0].ToString())
                {
                case "Daily Appointment":
                    tblDailyAppointment.Visible = true;
                    break;

                case "Weekly Appointment":
                    tblWeeklyAppointment.Visible = true;
                    break;

                case "Bill Status":
                    tblBillStatus.Visible = true;
                    break;

                case "Desk":
                    tblDesk.Visible = true;
                    break;

                case "Missing Information":
                    tblMissingInfo.Visible = true;
                    break;

                case "Report Section":
                    tblReportSection.Visible = true;
                    break;

                case "Procedure Status":
                    tblBilledUnbilledProcCode.Visible = true;
                    break;

                case "Visits":
                    tblVisits.Visible = true;
                    break;
                }
            }
        }
        catch (Exception ex)
        {
            //string strError = ex.Message.ToString();
            //strError = strError.Replace("\n", " ");
            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());
        }
    }