protected void Page_Load(object sender, EventArgs e) { txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; txtCompanyName.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; txtEventID.Text = Request.QueryString[0]; DataSet dsObj = _objCheckoutBO.PatientName(txtEventID.Text); txtPatientName.Text = dsObj.Tables[0].Rows[0][0].ToString(); txtCaseNo.Text = dsObj.Tables[0].Rows[0][2].ToString(); txtDAO.Text = dsObj.Tables[0].Rows[0][3].ToString(); txtInsCmp.Text = dsObj.Tables[0].Rows[0][4].ToString(); txtClaimNumber.Text = dsObj.Tables[0].Rows[0][5].ToString(); txtCaseID.Text = dsObj.Tables[0].Rows[0][1].ToString(); txtDate.Text = System.DateTime.Now.ToString("MM/dd/yyyy"); if (!Page.IsPostBack) { string EventID = _objCheckoutBO.PTNotesPatientInformation(txtEventID.Text, "SP_CO_CHECK_EVENT_ID"); if (EventID == "1") { css_btnSave.Visible = false; btnUpdate.Visible = true; LoadData(); DataSet ds = _objCheckoutBO.PTNotesPatientTreatment(txtEventID.Text, txtCompanyID.Text); for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { string j = ds.Tables[0].Rows[i]["INDEX"].ToString(); if (j == "1") { chkColdpack.Checked = true; } if (j == "2") { chkElectricalMS.Checked = true; } if (j == "3") { chkTherapeuticEx.Checked = true; } if (j == "4") { chkHotpack.Checked = true; } if (j == "5") { chkUltraSound.Checked = true; } if (j == "6") { chkMyofascialR.Checked = true; } if (j == "7") { chkTENS.Checked = true; } if (j == "8") { chkTherapeuticM.Checked = true; } if (j == "9") { chkParaffin.Checked = true; } if (j == "10") { chkPTEval.Checked = true; } if (j == "11") { chkInitialVisite.Checked = true; } if (j == "12") { ChkNewPatient.Checked = true; } if (j == "13") { ChkRemovalofTissues.Checked = true; } if (j == "14") { chkBalanceCoord.Checked = true; } } } else { btnUpdate.Visible = false; css_btnSave.Visible = true; } } #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_CO_PTNotes.aspx"); } #endregion }
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 { string company_id = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (!IsPostBack) { string lawfirmid = "7536"; string datefrom = ""; string dateto = ""; if (base.Request.QueryString["visitfromdate"] != null) { datefrom = Request.QueryString["visitfromdate"].ToString(); } if (base.Request.QueryString["visittodate"] != null) { dateto = Request.QueryString["visittodate"].ToString(); } if (base.Request.QueryString["assignedLFid"] != null) { lawfirmid = Request.QueryString["assignedLFid"].ToString(); } //string case_id = "'5094','5142','5142','7536'"; //string list_case_id = case_id.Substring(0, case_id.Length - 1); Bill_Sys_PatientBO _bill_Sys_PatientBO = new Bill_Sys_PatientBO(); DataTable dt = _bill_Sys_PatientBO.Get_SpecAttorneyCountReport(lawfirmid, company_id, datefrom, dateto); //DataTable dt = new DataTable(); //dt = ((DataTable)Session["SpecialityCount"]); if (dt.Rows.Count > 0) { //grdTreatment.DataSource = ((DataTable)Session["SpecialityCount"]); grdTreatment.DataSource = dt; grdTreatment.DataBind(); //Session["EXPORTSpecialityCount"] = Session["SpecialityCount"]; Session["EXPORTSpecialityCount"] = dt; //Session["SpecialityCount"] = null; } } } 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("Get_Treatment.aspx"); } #endregion //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 { if (!IsPostBack) { if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { extddlReferringFacility.Visible = false; lblReferringFacility.Visible = false; } extddlReferringFacility.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; callSchedule(DateTime.Today); } string strDate = System.DateTime.Today.Date.ToString("MM/dd/yyyy"); objCalendar = new Calendar_DAO(); objCalendar.ControlIDPrefix = "Calendar_" + Convert.ToDateTime(strDate).AddMonths(-1).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayMonth = Convert.ToDateTime(strDate).AddMonths(-1).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayYear = Convert.ToDateTime(strDate).AddMonths(-1).Year.ToString(); showCalendar(objCalendar); objCalendar = new Calendar_DAO(); objCalendar.ControlIDPrefix = "Calendar_" + Convert.ToDateTime(strDate).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayMonth = Convert.ToDateTime(strDate).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayYear = Convert.ToDateTime(strDate).Year.ToString(); showCalendar(objCalendar); objCalendar = new Calendar_DAO(); objCalendar.ControlIDPrefix = "Calendar_" + Convert.ToDateTime(strDate).AddMonths(1).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayMonth = Convert.ToDateTime(strDate).AddMonths(1).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayYear = Convert.ToDateTime(strDate).AddMonths(1).Year.ToString(); showCalendar(objCalendar); } 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_WeekCalendarEvents.aspx"); } #endregion //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 { if (Request.QueryString["EID"] == null) { Response.Redirect("Bill_Sys_AC_Acupuncture_FollowupCase.aspx"); } this.con.SourceGrid = grdProcedure; this.txtSearchBox.SourceGrid = grdProcedure; this.grdProcedure.Page = this.Page; this.grdProcedure.PageNumberList = this.con; //change by kunal this.con1.SourceGrid = gv_Complaints; //this.txtSearchBox.SourceGrid=gv_Complaints; this.gv_Complaints.Page = this.Page; this.gv_Complaints.PageNumberList = this.con1; //----- sz_UserID = ((Bill_Sys_UserObject)(Session["USER_OBJECT"])).SZ_USER_ID.ToString(); sz_CompanyID = ((Bill_Sys_BillingCompanyObject)(Session["BILLING_COMPANY_OBJECT"])).SZ_COMPANY_ID.ToString(); txtDoctorId.Text = GetDoctorUserID(sz_UserID, sz_CompanyID); if (Request.QueryString["EID"] != null) { Session["AC_FOLLOWUP_EVENT_ID"] = Request.QueryString["EID"].ToString(); } txtEventID.Text = Session["AC_FOLLOWUP_EVENT_ID"].ToString(); TXT_CURRENT_DATE.Text = DateTime.Now.ToString("MM/dd/yyyy"); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; if (!IsPostBack) { //show button save or update bool _checkImage = true; _checkImage = _objCheckoutBO.checkImageForAccuFollowup(txtEventID.Text); //ashutosh DataSet ds2 = Get_Proc_Code(txtEventID.Text); // if (ds2 != null) { if (_checkImage == true || ds2.Tables[0].Rows.Count != 0) { css_btnSave.Text = "UPDATE TREATMENTS"; } else { css_btnSave.Text = "SAVE TREATMENTS"; } } grdProcedure.XGridBind(); gv_Complaints.XGridBindSearch(); if (gv_Complaints.Rows.Count > 0) { // To Make Checkbox Checked DataSet dsComplaintId = new DataSet(); dsComplaintId = GetComplaintId(); for (int j = 0; j < gv_Complaints.Rows.Count; j++) { for (int i = 0; i < dsComplaintId.Tables[0].Rows.Count; i++) { if (gv_Complaints.DataKeys[j][0].ToString().Equals(dsComplaintId.Tables[0].Rows[i][0].ToString())) { btnSave.Text = "Update"; CheckBox chk = new CheckBox(); chk = (CheckBox)gv_Complaints.Rows[j].FindControl("ChkComplaintId"); chk.Checked = true; } } } } //End Of Code // show patient information LoadPatientInformation(); //------------------------ //string str = Session["eventId"].ToString(); DataSet ds_Status = Get_Status_Code(txtDoctorId.Text, Session["eventId"].ToString()); if (ds_Status.Tables[0].Rows.Count > 0) { if (ds_Status.Tables[0].Rows[0].ItemArray.GetValue(0).ToString() == "0" || ds_Status.Tables[0].Rows[0].ItemArray.GetValue(0).ToString() == "2") { LoadData(); if (Session["eventId"].ToString() != "") { eventId = Session["eventId"].ToString(); DataSet ds1 = Get_Proc_Code(eventId); for (int i = 0; i < grdProcedure.Rows.Count; i++) { //check checkbox value CheckBox chkDelete1 = (CheckBox)grdProcedure.Rows[i].FindControl("ChkProcId"); for (int j = 0; j < ds1.Tables[0].Rows.Count; j++) { if (grdProcedure.Rows[i].Cells[2].Text == ds1.Tables[0].Rows[j].ItemArray.GetValue(0).ToString()) { chkDelete1.Checked = true; } } } } } } if (TXT_DOA.Text != "") { TXT_DOA.Text = Convert.ToDateTime(TXT_DOA.Text).ToString("MM/dd/yyyy"); } TXT_CURRENT_DATE.Text = Convert.ToDateTime(TXT_CURRENT_DATE.Text).ToString("MM/dd/yyyy"); grdProcedure.Columns[2].Visible = false; } #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_AC_Acupuncture_Followup.aspx"); } #endregion } 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 { btnShowGrid.Attributes.Add("onclick", "return formValidator('frmCalPatientEntry','txtDate,ddlInterval,extddlReferringFacility');"); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (Session["PopUp"] != null) { if (Session["TestFacilityID"] != null && Session["AppointmentDate"] != null) { if (Session["PopUp"].ToString() == "True") { extddlReferringFacility.Flag_ID = txtCompanyID.Text.ToString(); extddlReferringFacility.Text = Session["TestFacilityID"].ToString(); string strSelectedDate = Session["AppointmentDate"].ToString(); Session["AppointmentDate"] = null; Session["TestFacilityID"] = null; GetCalenderDayAppointments(Convert.ToDateTime(strSelectedDate).ToString("MM/dd/yyyy"), extddlReferringFacility.Text); Session["PopUp"] = null; } } } else { if (!Page.IsPostBack) { if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { extddlReferringFacility.Visible = false; lblTestFacility.Visible = false; } extddlReferringFacility.Flag_ID = txtCompanyID.Text.ToString(); //txtDate.Text = DateTime.Today.Date.ToShortDateString(); _obj = new Bill_Sys_Schedular(); if (extddlReferringFacility.Visible == false) { GetCalenderDayAppointments(System.DateTime.Today.Date.ToString("MM/dd/yyyy"), txtCompanyID.Text); // grdScheduleReport.DataSource = _obj.GET_EVENT_DETAIL(txtCompanyID.Text, Convert.ToDateTime(txtDate.Text), Convert.ToDecimal(ddlInterval.SelectedValue), txtCompanyID.Text); //grdScheduleReport.DataBind(); } else { GetCalenderDayAppointments(System.DateTime.Today.Date.ToString("MM/dd/yyyy"), extddlReferringFacility.Text); } if (Request.QueryString["Flag"] != null) { Session["Flag"] = true; lblHeaderPatientName.Text = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_PATIENT_NAME; } else { Session["Flag"] = null; lblHeaderPatientName.Text = ""; } } } string strDate = System.DateTime.Today.Date.ToString("MM/dd/yyyy"); //objCalendar = new Calendar_DAO(); //objCalendar.ControlIDPrefix = "Calendar_" + Convert.ToDateTime(strDate).AddMonths(-1).ToString("MMM").ToUpper().ToString(); //objCalendar.InitialDisplayMonth = Convert.ToDateTime(strDate).AddMonths(-1).ToString("MMM").ToUpper().ToString(); //objCalendar.InitialDisplayYear = Convert.ToDateTime(strDate).AddMonths(-1).Year.ToString(); //showCalendar(objCalendar); objCalendar = new Calendar_DAO(); objCalendar.ControlIDPrefix = "Calendar_" + Convert.ToDateTime(strDate).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayMonth = Convert.ToDateTime(strDate).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayYear = Convert.ToDateTime(strDate).Year.ToString(); showCalendar(objCalendar); objCalendar = new Calendar_DAO(); objCalendar.ControlIDPrefix = "Calendar_" + Convert.ToDateTime(strDate).AddMonths(1).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayMonth = Convert.ToDateTime(strDate).AddMonths(1).ToString("MMM").ToUpper().ToString(); objCalendar.InitialDisplayYear = Convert.ToDateTime(strDate).AddMonths(1).Year.ToString(); showCalendar(objCalendar); } 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_CalPatientEntry.aspx"); } #endregion //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
static int iFlage = 0; //flag add for making diffrace between sort and search #endregion #region "Page Load" 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()); } UserId = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ID; iFlage = 0; ddlDateValues.Attributes.Add("onChange", "javascript:SetDate();"); try { txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY) { txtChartNO.Attributes.Add("onkeypress", "return clickButton1(event,'/')"); } extddlReferringFacility.Flag_ID = txtCompanyID.Text.ToString(); Bill_Sys_BillingCompanyDetails_BO objOffID = new Bill_Sys_BillingCompanyDetails_BO(); string sz_Off_Id = objOffID.GetRefDocID(txtCompanyID.Text, ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ID.ToString()); if (sz_Off_Id != "") { extddlOffice.Text = sz_Off_Id; extddlOffice.Enabled = false; extddlDoctor.Flag_Key_Value = "GET_REFERRINGOFF_DOCTORLIST"; extddlDoctor.Flag_ID = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ID; } else { extddlDoctor.Flag_Key_Value = "GETDOCTORLIST"; extddlDoctor.Flag_ID = txtCompanyID.Text; } extddlOffice.Flag_ID = txtCompanyID.Text.ToString(); if ((((Bill_Sys_SystemObject)Session["SYSTEM_OBJECT"]).SZ_CHART_NO != "1")) { txtChartNO.Visible = false; lblChartNO.Visible = false; } else { txtChartNO.Visible = true; lblChartNO.Visible = true; } if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { if (sz_Off_Id != "") { extddlDoctor.Flag_Key_Value = "GET_REFERRINGOFF_DOCTORLIST"; extddlDoctor.Flag_ID = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ID; } else { extddlDoctor.Flag_Key_Value = "GET_DOCTOR_LIST_TXNCALENDAR"; extddlDoctor.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; } extddlReferringFacility.Visible = false; lblTestFacility.Visible = false; } else { extddlOffice.Visible = false; lblOffice.Visible = false; extddlDoctor.Flag_Key_Value = "GETDOCTORLIST"; extddlDoctor.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; } if (!Page.IsPostBack) { // BindGrid(); } } 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_OutScheduleReport.aspx"); } #endregion //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()); } txtDoctorID.Text = Request.QueryString["DoctorID"].ToString(); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; _visitTreatmentBO = new Bill_Sys_VisitTreatmentBO(); btnClose.Attributes.Add("onclick", "return CloseWindow();"); btnCloseFromTPrices.Attributes.Add("onclick", "return CloseWindow();"); if (Request.QueryString["Flag"] != null) { _szDoctorName = _visitTreatmentBO.GetDoctorName(txtDoctorID.Text); if (Request.QueryString["Flag"] == "Visit") { szTabCaptions[0] = "Vists in your account"; szTabCaptions[1] = "Visit prices"; szTabCaptions[2] = "Visits of Doctor"; lblHeaderText.Text = "Visit"; lblDoctorNameViewTreatment.Text = "Manage visits for Doctor - Mr. " + _szDoctorName + " - Select the visits which"; lblDoctorHeaderPrice.Text = "Assign visits Price for Doctor - Mr. " + _szDoctorName; lblAssociateDoctorHeader.Text = "Manage visits for Doctor - Mr. " + _szDoctorName + " - Select the visits which"; if (!Page.IsPostBack) { LoadTypes("visits"); } } else if (Request.QueryString["Flag"] == "Treatment") { szTabCaptions[0] = "Treatments in your account"; szTabCaptions[1] = "Treatment prices"; szTabCaptions[2] = "Treatments of Doctor"; lblHeaderText.Text = "Treatment"; lblDoctorNameViewTreatment.Text = "Manage treatments for Doctor - Mr. " + _szDoctorName + " - Select the treatments which"; lblDoctorHeaderPrice.Text = "Assign treatment Price for Doctor - Mr. " + _szDoctorName; lblAssociateDoctorHeader.Text = "Manage treatments for Doctor - Mr. " + _szDoctorName + " - Select the treatments which"; //Manage visits for Doctor - Mr. Cohen - Select the visits which if (!Page.IsPostBack) { LoadTypes("treatments"); } } else if (Request.QueryString["Flag"] == "Test") { szTabCaptions[0] = "Tests in your account"; szTabCaptions[1] = "Test prices"; szTabCaptions[2] = "Tests of Doctor"; lblHeaderText.Text = "Test"; lblDoctorNameViewTreatment.Text = "Manage tests for Doctor - Mr. " + _szDoctorName + " - Select the tests which"; lblDoctorHeaderPrice.Text = "Assign tests Price for Doctor - Mr. " + _szDoctorName; lblAssociateDoctorHeader.Text = "Manage tests for Doctor - Mr. " + _szDoctorName + " - Select the tests which"; if (!Page.IsPostBack) { LoadTypes("tests"); } } } try { txtDoctorID.Text = Request.QueryString["DoctorID"].ToString(); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (!IsPostBack) { BindGrid(); } } 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_ManageVisitTreatmentTest.aspx"); } #endregion //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 { txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlDoctorNameList.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlDoctor.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (!IsPostBack) { if (Request.QueryString["PatientID"] != null) { if (Request.QueryString["PatientID"].ToString() != "") { CaseDetailsBO _caseDetailsBO = new CaseDetailsBO(); Bill_Sys_CaseObject _bill_Sys_CaseObject = new Bill_Sys_CaseObject(); _bill_Sys_CaseObject.SZ_CASE_ID = _caseDetailsBO.GetCasePatientID("", Request.QueryString["PatientID"].ToString()); _bill_Sys_CaseObject.SZ_PATIENT_ID = Request.QueryString["PatientID"].ToString(); _bill_Sys_CaseObject.SZ_COMAPNY_ID = Request.QueryString["companyId"].ToString(); Session["CASE_OBJECT"] = _bill_Sys_CaseObject; } } if (Session["CASE_OBJECT"] != null) { txtPatientID.Text = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_PATIENT_ID; ////////////////////// //CREATE SESSION FOR DOC MANAGER,TEMPLATE MANAGER,Notes,Bills Bill_Sys_Case _bill_Sys_Case = new Bill_Sys_Case(); _bill_Sys_Case.SZ_CASE_ID = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_CASE_ID; Session["CASEINFO"] = _bill_Sys_Case; Session["PassedCaseID"] = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_CASE_ID; String szURL = ""; String szCaseID = Session["PassedCaseID"].ToString(); Session["QStrCaseID"] = szCaseID; Session["Case_ID"] = szCaseID; Session["Archived"] = "0"; Session["QStrCID"] = szCaseID; Session["SelectedID"] = szCaseID; Session["DM_User_Name"] = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; Session["User_Name"] = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; Session["SN"] = "0"; Session["LastAction"] = "vb_CaseInformation.aspx"; Session["SZ_CASE_ID_NOTES"] = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_CASE_ID; Session["TM_SZ_CASE_ID"] = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_CASE_ID; GetPatientDeskList(); // /////////////////// } else { Response.Redirect("Bill_Sys_SearchCase.aspx", false); } // if (Request.QueryString["DoctorID"] != null) { tabcontainerPatientTreatment.ActiveTabIndex = 3; extddlDoctorNameList.Text = Request.QueryString["DoctorID"].ToString(); txtVisitDateFrom.Text = Convert.ToDateTime(Request.QueryString["Date"]).ToShortDateString(); GetTestList(); extddlDoctor.Text = Request.QueryString["DoctorID"].ToString(); BindViewTreatmentList(); lstTest.SelectedValue = Request.QueryString["TypeCode"].ToString(); } BindLatestTreatmentlist(); BindSummaryTreatmentList(); GetTotalTreatmentCountAndDate(); BindBilledTest(); Bind_Billed_UnBilled_Count(); } } 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_Tests.aspx"); } #endregion //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 { btnSave.Attributes.Add("onclick", "return formValidator('aspnetForm','txtCaseStatus');"); btnUpdate.Attributes.Add("onclick", "return formValidator('aspnetForm','txtCaseStatus');"); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; this.con.SourceGrid = grdCaseStatusList; this.grdCaseStatusList.Page = this.Page; this.grdCaseStatusList.PageNumberList = this.con; if (Session["Flag"] != null && Session["Flag"].ToString() == "true") { grdCaseStatusList.Visible = false; btnUpdate.Visible = false; } else { if (!IsPostBack) { grdCaseStatusList.XGridBind(); btnUpdate.Enabled = false; } } _deleteOpeation = new Bill_Sys_DeleteBO(); if (_deleteOpeation.checkForDelete(txtCompanyID.Text, ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ROLE)) { btnDelete.Visible = false; } } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("../Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } #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("AJAX Pages/Bill_Sys_CaseStatus.aspx"); } #endregion //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 { String ReportType = ""; if (Request.QueryString["Type"] != null) { hlnkShowDiv.Visible = true; } if (Request.QueryString["Re"] != null) { Session["ReportType"] = Request.QueryString["Re"].ToString(); lblScheduleID.Text = "Weekly Scheduled Report"; lblDayLabel.Text = "Date"; } else { Session["ReportType"] = ""; lblScheduleID.Text = "Daily Scheduled Report"; lblDayLabel.Text = "Day"; } if (!IsPostBack) { txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; setLabels(); txtDate.Text = DateTime.Today.ToShortDateString().ToString(); BindGrid(); } } 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_ScheduleReport.aspx"); } #endregion //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }
protected void Page_Load(object sender, EventArgs e) {//Logging Start string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } btnSaveAndGoToNext.Attributes.Add("onclick", "return ConfirmUpdate();"); try { txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; //if (Request.QueryString["BillNumber"] != null) //{ // Session["TEMPLATE_BILL_NO"] = Request.QueryString["BillNumber"]; //} //txtBillNumber.Text = Session["TEMPLATE_BILL_NO"].ToString();// "sas0000001"; if (Request.QueryString["doctorID"] != null) { Session["DOCTOR_ID"] = Request.QueryString["doctorID"]; } if (Request.QueryString["caseid"] != null) { txtCaseID.Text = Request.QueryString["caseid"].ToString(); Session["caseid"] = txtCaseID.Text; } if (Request.QueryString["patientID"] != null) { txtPatientID.Text = Request.QueryString["patientID"].ToString(); Session["patientID"] = txtPatientID.Text; } if (!IsPostBack) { _billingCompanyDetailsBO = new Bill_Sys_BillingCompanyDetails_BO(); //txtPatientID.Text = _billingCompanyDetailsBO.GetInsuranceCompanyID(txtBillNumber.Text, "SP_MST_PATIENT_INFORMATION", "GETPATIENTID"); //Session["C4_2_PATIENT_ID"] = txtPatientID.Text; if (Session["patientID"] != null) { txtPatientID.Text = Session["patientID"].ToString(); Session["PatientID"] = txtPatientID.Text; 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("PatientInformationC4_2.aspx"); } #endregion //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 { btnUpdate.Attributes.Add("onclick", "return formValidator('frmFileTypeSettings','extDisplayType,extDisplayPosition,txtDescription');"); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (Session["Flag"] != null && Session["Flag"].ToString() == "true") { TreeMenuControl1.Visible = false; } else { TreeMenuControl1.ROLE_ID = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_ROLE; if (!IsPostBack) { _bill_Sys_FileType_Settings = new Bill_Sys_FileType_Settings(); DataSet dtTable = _bill_Sys_FileType_Settings.GET_Settings(txtCompanyID.Text); if (dtTable.Tables.Count > 0) { extDisplayType.Text = dtTable.Tables[0].Rows[0].ItemArray.GetValue(0).ToString(); extDisplayPosition.Text = dtTable.Tables[0].Rows[0].ItemArray.GetValue(1).ToString(); txtDescription.Text = dtTable.Tables[0].Rows[0].ItemArray.GetValue(2).ToString(); if (extDisplayType.Text == "CI_0000003") { trDescription.Visible = false; trDisplayPosition.Visible = false; txtDescription.Text = ""; extDisplayPosition.Text = "NA"; } else if (extDisplayType.Text == "CI_0000004") { trDescription.Visible = false; trDisplayPosition.Visible = true; txtDescription.Text = ""; } else if (extDisplayType.Text == "CI_0000005") { trDescription.Visible = true; trDisplayPosition.Visible = true; } } } } lblMsg.Text = ""; } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } #region "check version readonly or not" string app_status = ((Bill_Sys_BillingCompanyObject)Session["APPSTATUS"]).SZ_READ_ONLY.ToString(); if (app_status.Equals("True")) { Bill_Sys_ChangeVersion cv = new Bill_Sys_ChangeVersion(this.Page); cv.MakeReadOnlyPage("Bill_Sys_FileTypeSettings.aspx"); } #endregion //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 { btnUpdateStatus.Attributes.Add("onclick", "return UpdateStatus();"); if (!Page.IsPostBack) { txtBillStatusdate.Text = System.DateTime.Today.ToShortDateString(); if (Request.QueryString["flag"].ToString() == "View") { Session["sz_StatusID"] = Request.QueryString["Status"].ToString(); Session["sz_DoctorID"] = Request.QueryString["speciality"].ToString(); } extddlBillStatus.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; BindGrid(); } foreach (DataGridItem dg in grdBillReportDetails.Items) { CheckBox chk = (CheckBox)dg.FindControl("chkUpdateStatus"); if (dg.Cells[20].Text == "TRF" || dg.Cells[20].Text == "DNL") { chk.Enabled = false; } else { chk.Enabled = 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); } #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_ViewBillRecordDetails.aspx"); } #endregion //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 { ddlDateValues.Attributes.Add("onChange", "javascript:SetDate();"); ddlServiseDate.Attributes.Add("onChange", "javascript:SetServiceDate();"); if (!IsPostBack) { //Session["sz_StatusID_For_Test"] = ""; //Session["sz_SpecialityID_For_Test"] = ""; //Session["sz_From_Date"] = ""; //Session["sz_To_Date"] = ""; //Session["sz_User"] = ""; ddlDateValues.SelectedValue = "1"; txtFromDate.Text = DateTime.Now.ToString("MM/dd/yyyy"); txtToDate.Text = DateTime.Now.ToString("MM/dd/yyyy"); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlBillStatus.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlSpeciality.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlUser.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; //_reportBO = new Bill_Sys_ReportBO(); //DataSet dset = new DataSet(); //dset = _reportBO.GetPatientList(txtCompanyID.Text); //ddlUserList.DataSource = dset.Tables[0]; //ddlUserList.DataTextField = "SZ_USER_NAME"; //ddlUserList.DataValueField = "SZ_USER_ID"; //ddlUserList.DataBind(); if ((((Bill_Sys_SystemObject)Session["SYSTEM_OBJECT"]).SZ_LOCATION == "1")) { extddlLocation.Visible = true; lblLocationName.Visible = true; extddlLocation.Flag_ID = txtCompanyID.Text.ToString(); } BindGrid(); Session["sz_From_Date"] = txtFromDate.Text; Session["sz_To_Date"] = txtToDate.Text; Session["sz_User"] = "******"; Session["sz_From_Service_Date"] = ""; Session["sz_To_Service_Date"] = ""; } } 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_BillReportSpeciality.aspx"); } #endregion //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()); } _objcheckOut = new Bill_Sys_CheckoutBO(); DigitalSign signobj = new DigitalSign(); objNF3Template = new Bill_Sys_NF3_Template(); DataSet dsObj = _objcheckOut.PatientName(Session["EventID"].ToString()); Session["ChkOutCaseID"] = dsObj.Tables[0].Rows[0][1].ToString(); sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; sz_EventID = Session["EventID"].ToString(); int flag = 0; try { String szDefaultPath = (objNF3Template.getPhysicalPath()) + ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["ChkOutCaseID"].ToString() + "/Signs/"; if (!Directory.Exists(szDefaultPath)) { Directory.CreateDirectory(szDefaultPath); } szDefaultPath = szDefaultPath + sz_EventID; string PatientImagePath = szDefaultPath + "_PatientSign.jpg"; signobj.SignSave(Request.Form["hiddenpatient"], PatientImagePath); DoctorImagePath = szDefaultPath + "_DoctorSign.jpg"; signobj.SignSave(Request.Form["hidden"], DoctorImagePath); #region " "Barcode functionality DataSet dset = new DataSet(); dset = _objcheckOut.GetNodeID(sz_CompanyID, sz_EventID); string sz_NodeId = dset.Tables[0].Rows[0][1].ToString(); string sz_CaseId = dset.Tables[0].Rows[0][0].ToString(); string barcodeValue = sz_CompanyID + "@" + sz_CaseId + "@" + sz_NodeId; String sz_BarcodeImagePath = (objNF3Template.getPhysicalPath()) + ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["ChkOutCaseID"].ToString() + "/Signs/"; SpecialityPDFBO pdfbo = new SpecialityPDFBO(); CaseBarcodePath = pdfbo.GetBarCodePath(sz_CompanyID, sz_CaseId, sz_NodeId, sz_BarcodeImagePath); #endregion _objcheckOut.UpdateSignPath(sz_EventID, PatientImagePath, DoctorImagePath, CaseBarcodePath); FillPDFValue(sz_EventID, sz_CompanyID, sz_CompanyName); } catch (Exception ex) { Label1.Text = "Page Laod :" + ex.ToString(); 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_Image_Save.aspx"); } #endregion //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()); } _objcheckOut = new Bill_Sys_CheckoutBO(); DigitalSign signobj = new DigitalSign(); objNF3Template = new Bill_Sys_NF3_Template(); DataSet dsObj = _objcheckOut.PatientName(Session["AC_INITIAL_EVENT_ID"].ToString()); Session["AC_Initial_CaseID"] = dsObj.Tables[0].Rows[0][1].ToString(); sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); int flag = 0; try { String szDefaultPath = (objNF3Template.getPhysicalPath()) + ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["AC_Initial_CaseID"].ToString() + "/Signs/"; if (!Directory.Exists(szDefaultPath)) { Directory.CreateDirectory(szDefaultPath); } szDefaultPath = szDefaultPath + sz_EventID; DoctorImagePath = szDefaultPath + "_DoctorSign.jpg"; signobj.SignSave(Request.Form["hidden"], DoctorImagePath); #region " "Barcode functionality DataSet dset = new DataSet(); dset = _objcheckOut.GetNodeID(sz_CompanyID, sz_EventID); string sz_NodeId = dset.Tables[0].Rows[0][1].ToString(); string sz_CaseId = dset.Tables[0].Rows[0][0].ToString(); string barcodeValue = sz_CompanyID + "@" + sz_CaseId + "@" + sz_NodeId; String sz_BarcodeImagePath = (objNF3Template.getPhysicalPath()) + ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["AC_Initial_CaseID"].ToString() + "/Signs/"; SpecialityPDFBO pdfbo = new SpecialityPDFBO(); CaseBarcodePath = pdfbo.GetBarCodePath(sz_CompanyID, sz_CaseId, sz_NodeId, sz_BarcodeImagePath); #endregion _objcheckOut.updateAccInitialDoctorPath(sz_EventID, DoctorImagePath, CaseBarcodePath); SpecialityPDFFill spf = new SpecialityPDFFill(); ArrayList obj = new ArrayList(); spf.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); spf.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; spf.sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; spf.sz_XMLPath = "Accu_Initial_XML_Path"; spf.sz_PDFPath = "Accu_Initial_PDF_Path"; spf.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); spf.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; spf.SZ_SPECIALITY_NAME = "AC"; obj = spf.FillPDFValue(spf); Response.Redirect(obj[1].ToString(), false); //Page.ClientScript.RegisterClientScriptBlock(typeof(GridView), "Msg", "window.open('" + obj[1] + "'); ", true); //Response.Write("<script>window.open('" + obj[1] + "')</script>"); spf.sz_Session_Id = Session["AC_Initial_CaseID"].ToString();; spf.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; spf.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); spf.SZ_PT_FILE_NAME = obj[0].ToString(); spf.SZ_PT_FILE_PATH = obj[2].ToString(); spf.SZ_SPECIALITY_CODE = "NFMAC"; spf.SZ_SPECIALITY_NAME = "AC"; spf.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; spf.savePDFForminDocMang(spf); //Code To generate pdf according to check box value and Visit Status // Bill_Sys_CheckoutBO ChkBo = new Bill_Sys_CheckoutBO(); // if (ChkBo.ChekVisitStaus(Convert.ToInt32(Session["AC_INITIAL_EVENT_ID"].ToString()), ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID) == "2") // { // ArrayList ObjalGetVal = new ArrayList(); // ArrayList objal1 = new ArrayList(); // SpecialityPDFFill SPDFF = new SpecialityPDFFill(); // ObjalGetVal = ChkBo.ChekCheckBoxStaus(Convert.ToInt32(Session["AC_INITIAL_EVENT_ID"].ToString())); // //CHK_REFERRALS_CHIROPRACTOR // if (ObjalGetVal[0].ToString().Equals("True")) // { // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; // SPDFF.SZ_SPECIALITY_NAME = "CH"; // SPDFF.SZ_SPECIALITY_CODE = "NFMCH"; // SPDFF.sz_XMLPath = "Refferal_IM_FOLLOWUP_XML_Path"; // SPDFF.sz_PDFPath = "CO_Refferal_PDF_Path"; // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // objal1 = SPDFF.FillPDFValue(SPDFF); // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.SZ_PT_FILE_NAME = objal1[0].ToString(); // SPDFF.SZ_PT_FILE_PATH = objal1[2].ToString(); // SPDFF.SZ_SPECIALITY_CODE = "NFMCH"; // SPDFF.SZ_SPECIALITY_NAME = "CH"; // SPDFF.IMG_ID_COLUMN_CODE = "CH_FU_REFERRAL"; // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // SPDFF.savePDFForminDocMang(SPDFF); // } // //CHK_REFERRALS_PHYSICAL_THERAPIST // if (ObjalGetVal[1].ToString().Equals("True")) // { // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; // SPDFF.SZ_SPECIALITY_NAME = "PT"; // SPDFF.SZ_SPECIALITY_CODE = "NFMPT"; // SPDFF.sz_XMLPath = "Refferal_IM_FOLLOWUP_XML_Path"; // SPDFF.sz_PDFPath = "CO_Refferal_PDF_Path"; // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // objal1 = SPDFF.FillPDFValue(SPDFF); // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.SZ_PT_FILE_NAME = objal1[0].ToString(); // SPDFF.SZ_PT_FILE_PATH = objal1[2].ToString(); // SPDFF.SZ_SPECIALITY_CODE = "NFMPT"; // SPDFF.SZ_SPECIALITY_NAME = "PT"; // SPDFF.IMG_ID_COLUMN_CODE = "PT_FU_REFERRAL"; // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // SPDFF.savePDFForminDocMang(SPDFF); // } // //CHK_REFERRALS_OCCUPATIONAL_THERAPIST // if (ObjalGetVal[14].ToString().Equals("True")) // { // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; // SPDFF.SZ_SPECIALITY_NAME = "OT"; // SPDFF.SZ_SPECIALITY_CODE = "NFMOT"; // SPDFF.sz_XMLPath = "Refferal_IM_FOLLOWUP_XML_Path"; // SPDFF.sz_PDFPath = "CO_Refferal_PDF_Path"; // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // objal1 = SPDFF.FillPDFValue(SPDFF); // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.SZ_PT_FILE_NAME = objal1[0].ToString(); // SPDFF.SZ_PT_FILE_PATH = objal1[2].ToString(); // SPDFF.SZ_SPECIALITY_CODE = "NFMOT"; // SPDFF.SZ_SPECIALITY_NAME = "OT"; // SPDFF.IMG_ID_COLUMN_CODE = "OT_FU_REFERRAL"; // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // SPDFF.savePDFForminDocMang(SPDFF); // } // //CHK_TEST_EMG_NCV // if (ObjalGetVal[15].ToString().Equals("True")) // { // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; // SPDFF.SZ_SPECIALITY_NAME = "EMG"; // SPDFF.SZ_SPECIALITY_CODE = "NFMEMG"; // SPDFF.sz_XMLPath = "MST_ECG_IM_FOLLOWUP_XML_Path"; // SPDFF.sz_PDFPath = "MST_ECG_PDF_Path"; // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // objal1 = SPDFF.FillPDFValue(SPDFF); // SPDFF.sz_Session_Id = Session["AC_Initial_CaseID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.SZ_PT_FILE_NAME = objal1[0].ToString(); // SPDFF.SZ_PT_FILE_PATH = objal1[2].ToString(); // SPDFF.SZ_SPECIALITY_CODE = "NFMEMG"; // SPDFF.SZ_SPECIALITY_NAME = "EMG"; // SPDFF.IMG_ID_COLUMN_CODE = "VSNCT_FU_REFERRAL"; // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // SPDFF.savePDFForminDocMang(SPDFF); // } // //CHK_SUPPLIES_EMS_UNIT TO CHK_SUPPLIES_BIOFEEDBACK_TRAINING_SESSIONS // if (ObjalGetVal[2].ToString().Equals("True") || ObjalGetVal[3].ToString().Equals("True") || ObjalGetVal[4].ToString().Equals("True") || ObjalGetVal[5].ToString().Equals("True") || ObjalGetVal[6].ToString().Equals("True") || ObjalGetVal[7].ToString().Equals("True") || ObjalGetVal[8].ToString().Equals("True") || ObjalGetVal[9].ToString().Equals("True") || ObjalGetVal[10].ToString().Equals("True") || ObjalGetVal[11].ToString().Equals("True") || ObjalGetVal[12].ToString().Equals("True") || ObjalGetVal[13].ToString().Equals("True")) // { // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; // SPDFF.SZ_SPECIALITY_NAME = "SP"; // SPDFF.SZ_SPECIALITY_CODE = "NFMSP"; // SPDFF.sz_XMLPath = "Supplies_XML_Path"; // SPDFF.sz_PDFPath = "Supplies_PDF_Path"; // SPDFF.sz_Session_Id = Session["IM_FOLLOWUP_CaseID"].ToString(); // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // objal1 = SPDFF.FillPDFValue(SPDFF); // SPDFF.sz_Session_Id = Session["IM_FOLLOWUP_CaseID"].ToString(); // SPDFF.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; // SPDFF.sz_EventID = Session["AC_INITIAL_EVENT_ID"].ToString(); // SPDFF.SZ_PT_FILE_NAME = objal1[0].ToString(); // SPDFF.SZ_PT_FILE_PATH = objal1[2].ToString(); // SPDFF.SZ_SPECIALITY_CODE = "NFMSP"; // SPDFF.SZ_SPECIALITY_NAME = "SP"; // SPDFF.IMG_ID_COLUMN_CODE = "SUPPLIES_FU_REFERRAL"; // SPDFF.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; // SPDFF.savePDFForminDocMang(SPDFF); // } // } //else //{ // //signature has not been returned successfully! //} } catch (Exception ex) { Label1.Text = "Page Laod :" + ex.ToString(); 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_Image_Save.aspx"); } #endregion //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()); } _associateDiagnosisCodeBO = new Bill_Sys_AssociateDiagnosisCodeBO(); try { btnAssign.Attributes.Add("onclick", "return formValidator('frmAssociateDignosisCode','extddlDoctor');"); txtCompanyID.Text = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlDoctor.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; extddlAPDoctor.Flag_ID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; if (!IsPostBack) { if (Request.QueryString["CaseId"] != null) { Session["CASE_OBJECT"] = null; txtCaseID.Text = Request.QueryString["CaseId"].ToString(); GetPatientDeskList(); } else if (Session["CASE_OBJECT"] != null) { txtCaseID.Text = ((Bill_Sys_CaseObject)Session["CASE_OBJECT"]).SZ_CASE_ID; ////////////////////// //CREATE SESSION FOR DOC MANAGER,TEMPLATE MANAGER,Notes,Bills Bill_Sys_Case _bill_Sys_Case = new Bill_Sys_Case(); _bill_Sys_Case.SZ_CASE_ID = txtCaseID.Text; Session["CASEINFO"] = _bill_Sys_Case; Session["PassedCaseID"] = txtCaseID.Text; String szURL = ""; String szCaseID = Session["PassedCaseID"].ToString(); Session["QStrCaseID"] = szCaseID; Session["Case_ID"] = szCaseID; Session["Archived"] = "0"; Session["QStrCID"] = szCaseID; Session["SelectedID"] = szCaseID; Session["DM_User_Name"] = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; Session["User_Name"] = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; Session["SN"] = "0"; Session["LastAction"] = "vb_CaseInformation.aspx"; Session["SZ_CASE_ID_NOTES"] = txtCaseID.Text; Session["TM_SZ_CASE_ID"] = txtCaseID.Text; GetPatientDeskList(); // /////////////////// } else { Response.Redirect("Bill_Sys_SearchCase.aspx", false); } strCaseType = _associateDiagnosisCodeBO.GetCaseType(txtCaseID.Text); if (Request.QueryString["DoctorID"] != null) { extddlDoctor.Text = Request.QueryString["DoctorID"].ToString(); extddlDoctor.Enabled = false; GetDiagnosisCode(txtCaseID.Text, txtCompanyID.Text, extddlDoctor.Text, "GET_DIAGNOSIS_CODE"); } if (Request.QueryString["SetId"] != null) { txtDiagnosisSetID.Text = Request.QueryString["SetId"].ToString(); _ds = _associateDiagnosisCodeBO.GetCaseAssociateDiagnosisDetails(txtDiagnosisSetID.Text); extddlDoctor.Text = _ds.Tables[0].Rows[0].ItemArray.GetValue(3).ToString(); GetDiagnosisCode(txtCaseID.Text, txtCompanyID.Text, extddlDoctor.Text, "GET_DIAGNOSIS_CODE"); //GetPTDiagnosisCode(extddlDoctor.Text, Request.QueryString["SetId"].ToString(), "GET_PT_DIAGNOSIS_CODE"); //GetEvaluationDiagnosisCode(extddlDoctor.Text, Request.QueryString["SetId"].ToString(), "GET_EVALUATION_DIAGNOSIS_CODE"); Visiblecontrol(); //BindControl(); } else { txtDiagnosisSetID.Text = _associateDiagnosisCodeBO.GetDiagnosisSetID(); } if (((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).BT_REFERRING_FACILITY == true) { extddlAPDoctor.Visible = false; extddlDoctor.Visible = false; lblDoctor.Visible = false; lblDeDoctor.Visible = false; GetDiagnosisCode(txtCaseID.Text, ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID, "", "GET_DIAGNOSIS_CODE"); GetAssignedDiagnosisCode(txtCaseID.Text, ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID, "", "GET_DIAGNOSIS_CODE"); } } lblMsg.Text = ""; } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } #region "check version readonly or not" string app_status = ((Bill_Sys_BillingCompanyObject)Session["APPSTATUS"]).SZ_READ_ONLY.ToString(); if (app_status.Equals("True")) { Bill_Sys_ChangeVersion cv = new Bill_Sys_ChangeVersion(this.Page); cv.MakeReadOnlyPage("Bill_Sys_AssociateDignosisCode.aspx"); } #endregion //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()); } _objcheckOut = new Bill_Sys_CheckoutBO(); DigitalSign signobj = new DigitalSign(); SIGPLUSLib.SigPlus sigObj_Patient1 = new SIGPLUSLib.SigPlus(); objNF3Template = new Bill_Sys_NF3_Template(); // DataSet dsObj = _objcheckOut.PatientName(Session["IMEventID"].ToString()); //Session["ChkCaseID"] = ((SpecialityPDFDAO)Session["SPECIALITY_PDF_OBJECT"]).CaseID; sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; sz_EventID = Session["PATIENT_LINE_CASE_ID"].ToString(); int flag = 0; try { String szDefaultPath = (objNF3Template.getPhysicalPath()) + ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["PATIENT_LINE_CASE_ID"].ToString() + "/Signs/"; //Added By-Sunil string SaveSignPathlogical = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["PATIENT_LINE_CASE_ID"].ToString() + "/Signs/"; //end if (!Directory.Exists(szDefaultPath)) { Directory.CreateDirectory(szDefaultPath); } szDefaultPath = szDefaultPath + sz_EventID; //Added By-Sunil SaveSignPathlogical = SaveSignPathlogical + sz_EventID; //end DoctorImagePath = szDefaultPath + "_DoctorSign.jpg"; string DoctorImagePathlogical = SaveSignPathlogical + "_DoctorSign.jpg"; string PatientImagePathlogical = SaveSignPathlogical + "_Patient.jpg"; string sz_Attorney_Path_logical = SaveSignPathlogical + "_Attoreny.jpg"; string sz_Patient_path = szDefaultPath + "_Patient.jpg"; string sz_Attorney_Path = szDefaultPath + "_Attoreny.jpg"; signobj.SignSave(Request.Form["hiddenPatient"], sz_Patient_path); signobj.SignSave(Request.Form["hidden"], sz_Attorney_Path); string RepresebtiveSign = Request.Form["hiddenPatientRepresentive"].ToString(); if (!RepresebtiveSign.Equals("FFFFFFFFF58841040500000004000000CF35D06FEE8E6C74CF35D06FEE8E6C74CF35D06FEE8E6C74CF35D06FEE8E6C74CF35D06FEE8E6C74")) { signobj.SignSave(Request.Form["hiddenPatientRepresentive"], DoctorImagePath); } else { DoctorImagePath = sz_Patient_path; } #region " "Barcode functionality DataSet dset = new DataSet(); dset = _objcheckOut.GetIntakeSheetNodeID(sz_CompanyID, sz_EventID, "NFLNK"); string sz_NodeId = dset.Tables[0].Rows[0][0].ToString(); string sz_CaseId = sz_EventID.ToString(); string barcodeValue = sz_CompanyID + "@" + sz_CaseId + "@" + sz_NodeId; String sz_BarcodeImagePath = (objNF3Template.getPhysicalPath()) + ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["PATIENT_LINE_CASE_ID"].ToString() + "/Signs/"; //Added By-Sunil string sz_BarcodeImagePathlogical = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME + "/" + Session["PATIENT_LINE_CASE_ID"].ToString() + "/Signs/"; //end //Added By-Sunil string CaseBarcodePathlogical = sz_BarcodeImagePathlogical + "BarcodeImg.jpg"; //end SpecialityPDFBO pdfbo = new SpecialityPDFBO(); CaseBarcodePath = pdfbo.GetBarCodePath(sz_CompanyID, sz_CaseId, sz_NodeId, sz_BarcodeImagePath); #endregion //_objcheckOut.LienPatientPath(sz_EventID, DoctorImagePath, CaseBarcodePath,sz_Patient_path,sz_Attorney_Path); _objcheckOut.LienPatientPath(sz_EventID, DoctorImagePathlogical, CaseBarcodePathlogical, PatientImagePathlogical, sz_Attorney_Path_logical); SpecialityPDFFill spf = new SpecialityPDFFill(); ArrayList obj = new ArrayList(); spf.sz_EventID = ""; spf.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; spf.sz_CompanyName = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_NAME; spf.sz_XMLPath = "LIEN_XML_Path"; spf.sz_PDFPath = "LIEN_PDF_Path"; spf.sz_Session_Id = Session["PATIENT_LINE_CASE_ID"].ToString(); spf.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; spf.SZ_SPECIALITY_NAME = "Lien"; obj = FillPDFValue(spf); Response.Redirect(obj[1].ToString(), false); Page.ClientScript.RegisterClientScriptBlock(typeof(GridView), "Msg", "window.open('" + obj[1] + "'); ", true); Response.Write("<script>window.open('" + obj[1] + "')</script>"); spf.sz_Session_Id = Session["PATIENT_LINE_CASE_ID"].ToString(); spf.sz_CompanyID = ((Bill_Sys_BillingCompanyObject)Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID; //spf.sz_EventID = Session["AOB_EVENT_ID"].ToString(); spf.SZ_PT_FILE_NAME = obj[0].ToString(); spf.SZ_PT_FILE_PATH = obj[2].ToString(); spf.SZ_SPECIALITY_CODE = "NFLNK"; spf.SZ_SPECIALITY_NAME = "Lien"; spf.SZ_USER_NAME = ((Bill_Sys_UserObject)Session["USER_OBJECT"]).SZ_USER_NAME; spf.savePDFForminDocMang(spf); } catch (Exception ex) { Label1.Text = "Page Laod :" + ex.ToString(); 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_Image_Save.aspx"); } #endregion //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }