Exemple #1
0
        /// <summary>
        /// Init
        /// </summary>
        void Init()
        {
            clsBIHOrderService svc = new clsDcl_GetSvcObject().m_GetOrderSvcObject();
            DataTable          tmp = svc.GetCpExecPlan(this.patVo.m_strRegisterID);

            ExecPlanDataSource     = tmp.Rows[0];
            OutCriterionDataSource = svc.GetOutCriterion(Convert.ToInt32(this.ExecPlanDataSource["cpid"].ToString()));
            this.clstTarget.Items.Clear();
            if (OutCriterionDataSource != null && OutCriterionDataSource.Rows.Count > 0)
            {
                foreach (DataRow dr in OutCriterionDataSource.Rows)
                {
                    this.clstTarget.Items.Add(dr["criinfo"].ToString());
                }
            }
            this.lblCpName.Text   = this.ExecPlanDataSource["cpname"].ToString();
            this.lblDeptName.Text = this.patVo.m_strDeptName;
            this.lblBedNo.Text    = this.patVo.m_strBedName + "床";
            this.lblPatName.Text  = this.patVo.m_strPatientName;
            this.lblIpNo.Text     = this.patVo.m_strInHospitalNo;
        }