Ejemplo n.º 1
0
        /// <summary>
        /// 从界面读取的控制参数值
        /// </summary>
        /// <returns>从界面读取的控制参数值集合</returns>
        public ArrayList GetAllControl()
        {
            ArrayList allControlValues = new ArrayList();              //所有的控制类集合

            Neusoft.HISFC.Models.Base.Controler tempControlObj = null; //临时控制类实体;

            string tempControlValue = null;                            // 从界面读取的控制参数值



            #region 发卡
            #region 是否收取卡成本费用
            if (this.ckbIsAcceptCardFee.Checked == true)
            {
                tempControlValue = "1";//收取
            }
            else
            {
                tempControlValue = "0";//不收取
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = AccountConstant.IsAcceptCardFee;
            tempControlObj.Name           = accountConstant.GetParamDescription(AccountConstant.IsAcceptCardFee);
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;

            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region  收取金额
            tempControlValue              = this.txtAcceptCardFee.Text;
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = AccountConstant.AcceptCardFee;
            tempControlObj.Name           = accountConstant.GetParamDescription(AccountConstant.AcceptCardFee);
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;

            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 发卡的同时是否建立病案信息
            //if (this.ckCase.Checked == true)
            //{
            //    tempControlValue = "1";//建立病案信息
            //}
            //else
            //{
            //    tempControlValue = "0";//不建立病案信息
            //}
            //tempControlObj = new Neusoft.HISFC.Models.Base.Controler();
            //tempControlObj.ID = AccountConstant.BulidCardIsCreateCaseInfo;
            //tempControlObj.Name = accountConstant.GetParamDescription(AccountConstant.BulidCardIsCreateCaseInfo);
            //tempControlObj.ControlerValue = tempControlValue;
            //tempControlObj.VisibleFlag = true;

            //allControlValues.Add(tempControlObj.Clone());
            #endregion
            #endregion

            #region 换卡
            #region 是否收取
            if (this.ckbisChangeCardFee.Checked == true)
            {
                tempControlValue = "1";//收取
            }
            else
            {
                tempControlValue = "0";//不收取
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = AccountConstant.IsAcceptChangeCardFee;
            tempControlObj.Name           = accountConstant.GetParamDescription(AccountConstant.IsAcceptChangeCardFee);
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;

            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region  收取金额
            tempControlValue              = this.txtChangeCardFee.Text;
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = AccountConstant.AcceptChangeCardFee;
            tempControlObj.Name           = accountConstant.GetParamDescription(AccountConstant.AcceptChangeCardFee);
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;

            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #endregion

            return(allControlValues);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 从界面读取的控制参数值

        /// </summary>
        /// <returns>从界面读取的控制参数值集合</returns>
        private ArrayList GetAllControlValue()
        {
            ArrayList allControlValues = new ArrayList(); //所有的控制类集合


            Neusoft.HISFC.Models.Base.Controler tempControlObj = null; //临时控制类实体;

            string tempControlValue = null;                            // 从界面读取的控制参数值

            #region 门诊挂号-挂号级别显示列数

            tempControlValue              = this.nudRegLevCount.Value.ToString();
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Display_RegLevel_ColumnNumber;
            tempControlObj.Name           = "门诊挂号-挂号级别显示列数";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-挂号科室显示列数

            tempControlValue              = this.nudRegDeptCount.Value.ToString();
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Display_RegDept_ColumnNumber;
            tempControlObj.Name           = "门诊挂号-挂号科室显示列数";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-合同单位显示列数


            tempControlValue              = this.nudRegPactCount.Value.ToString();
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Display_RegPact_ColumnNumber;
            tempControlObj.Name           = "门诊挂号-合同单位显示列数";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-出诊教授显示列数

            tempControlValue              = this.nudRegProfCount.Value.ToString();
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Display_RegProfessor_ColumnNumber;
            tempControlObj.Name           = "门诊挂号-出诊教授显示列数";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-专家号是否先输科室

            if (this.ckbFirsDept.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_RegProfessor_IsFirstDept;
            tempControlObj.Name           = "门诊挂号-专家号是否先输科室";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-诊金是否报销
            if (this.ckbDialogFeePub.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Dialog_IsPub;
            tempControlObj.Name           = "门诊挂号-诊金是否报销";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-是否只显示出诊科室

            if (this.ckbDisplayDeptOnly.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Display_Only_Dept;
            tempControlObj.Name           = "门诊挂号-是否只显示出诊科室";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-多张号是否作为加号

            if (this.ckbMultiAdd.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_IsMultAdd;
            tempControlObj.Name           = "门诊挂号-多张号是否作为加号";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-挂号是否允许超出排班限额

            if (this.ckbOverFlowLimit.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Allow_Beyond_Limit;
            tempControlObj.Name           = "门诊挂号-挂号是否允许超出排班限额";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-诊断是否录入ICD码 {4C9DD3E0-9CE6-4dce-A9BB-EB56317AD24E}


            //if (this.ckbICD.Checked)
            //{
            //    tempControlValue = "1";
            //}
            //else
            //{
            //    tempControlValue = "0";
            //}
            //tempControlObj = new Neusoft.HISFC.Models.Base.Controler();
            //tempControlObj.ID = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_IsICD;
            //tempControlObj.Name = "门诊挂号-诊断是否录入ICD码";
            //tempControlObj.ControlerValue = tempControlValue;
            //tempControlObj.VisibleFlag = true;
            //allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-是否跳到预约流水号处

            if (this.ckbJumpToYY.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Jump_To_Yuyue;
            tempControlObj.Name           = "门诊挂号-是否跳到预约流水号处";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-光标是否需跳到预约时间段处
            if (this.ckbJumpToYYTime.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Jump_To_YuyueTime;
            tempControlObj.Name           = "门诊挂号-光标是否需跳到预约时间段处";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-科室、医生下拉列表是否显示全院,默认是


            if (this.ckbDeptDoctList.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Alow_Quanyuan;
            tempControlObj.Name           = "门诊挂号-科室、医生下拉列表是否显示全院,默认是";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-保存时是否提示

            if (this.ckbSaveMessage.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_IsSaveMsg;
            tempControlObj.Name           = "门诊挂号-保存时是否提示";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-排班是否输入医生类别


            if (this.ckbDoctType.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Schama_Doct_IsDoctType;
            tempControlObj.Name           = "门诊挂号-排班是否输入医生类别";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());

            #endregion

            #region 门诊挂号 - 排班是否选择挂号级别
            if (this.chkReglevel.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_IsInputRegLevel;
            tempControlObj.Name           = "门诊挂号-排班是否选择挂号级别";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());

            #endregion

            #region 门诊挂号-是否预约号看诊序号排在现场号前面别

            if (this.ckbYYBeforeXC.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_IsBookingBeforeLocal;
            tempControlObj.Name           = "门诊挂号-是否预约号看诊序号排在现场号前面别";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-是否收取空调费(附加费)
            if (this.ckbYYBeforeXC.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Is_AirCondition;
            tempControlObj.Name           = "门诊挂号-是否收取空调费(附加费) ";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-专家号是否区分教授级别

            if (this.ckbDifferentProfLev.Checked)
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = "0";
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_IsDivision_ProLevel;
            tempControlObj.Name           = "门诊挂号-专家号是否区分教授级别";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊退号-允许退号天数


            tempControlValue              = this.nudAllow_QuitReg_Days.Value.ToString();
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Allow_QuitReg_Days;
            tempControlObj.Name           = "门诊退号-允许退号天数";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-公费患者允许日挂号限额

            tempControlValue              = this.nudAllow_PubPatient_RegLimitCost.Value.ToString();
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Allow_PubPatient_RegLimitCost;
            tempControlObj.Name           = "门诊挂号-公费患者允许日挂号限额";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-排班默认时间段间隔,0默认为整个午别
            tempControlValue              = this.udDefaultNoon.Value.ToString();
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Default_Noon;
            tempControlObj.Name           = "门诊挂号-排班默认时间段间隔,0默认为整个午别";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;
            allControlValues.Add(tempControlObj.Clone());

            #endregion

            #region 获得发票号方案

            if (this.cmbGetRecipe_Way.Text.Trim() == "")//如果没有输入默认为0
            {
                tempControlValue = "2";
            }
            else
            {
                tempControlValue = (this.cmbGetRecipe_Way.SelectedIndex + 1).ToString();
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_GetRecipe_Way;
            tempControlObj.Name           = "门诊挂号-1处方号,2挂号收据号,3门诊收据号";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;

            allControlValues.Add(tempControlObj.Clone());

            #endregion

            #region 门诊挂号-挂号费中otherfee的意义 0:床费(广医专用) 1:病历本费 2:其他费
            if (this.cmbAirCondition.Text.Trim() == "") //如果没有输入默认为0
            {
                tempControlValue = "2";
            }
            else
            {
                tempControlValue = (this.cmbGetRecipe_Way.SelectedIndex).ToString();
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Is_AirCondition;
            tempControlObj.Name           = "门诊挂号-挂号费中otherfee的意义 0:床费(广医专用) 1:病历本费 2:其他费";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;

            allControlValues.Add(tempControlObj.Clone());
            #endregion

            #region 门诊挂号-打印哪种收据Invoice?Recipe {4C9DD3E0-9CE6-4dce-A9BB-EB56317AD24E}

            /*
             *
             * if (this.cmbInvoiceType.Text.Trim() == "")//如果没有输入默认为0
             * {
             *  tempControlValue = "1";
             * }
             * else
             * {
             *  tempControlValue = this.cmbInvoiceType.SelectedIndex.ToString();
             * }
             * tempControlObj = new Neusoft.HISFC.Models.Base.Controler();
             * tempControlObj.ID = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_InvoiceType;
             * tempControlObj.Name = "门诊挂号-打印哪种收据Invoice?Recipe";
             * tempControlObj.ControlerValue = tempControlValue;
             * tempControlObj.VisibleFlag = true;
             *
             * allControlValues.Add(tempControlObj.Clone());
             */

            #endregion

            #region  合同单位默认代码
            if (this.cmbPact.Text.Trim() == "")
            {
                tempControlValue = "1";
            }
            else
            {
                tempControlValue = this.cmbPact.Tag.ToString();
            }
            tempControlObj                = new Neusoft.HISFC.Models.Base.Controler();
            tempControlObj.ID             = Neusoft.HISFC.BizProcess.Integrate.RegistrationConstant.Const_Display_DefaultPact;
            tempControlObj.Name           = "合同单位默认代码";
            tempControlObj.ControlerValue = tempControlValue;
            tempControlObj.VisibleFlag    = true;

            allControlValues.Add(tempControlObj.Clone());

            #endregion
            return(allControlValues);
        }