Exemple #1
0
        private void m_cmdFind_Click(object sender, System.EventArgs e)
        {
            this.Text = "住院病历评分与统计 - 正在查询病人,请稍候......";
            clsCaseGradeDomain objDomain = new clsCaseGradeDomain();
            string             strDeptId = "";
            string             strAreaid = "";

            if (m_cboDept.SelectedItem != null)
            {
                strDeptId = ((clsEmrDept_VO)(m_cboDept.SelectedItem)).m_strDEPTID_CHR;
            }
            if (m_cboArea.SelectedItem is clsEmrDept_VO)
            {
                strAreaid = ((clsEmrDept_VO)(m_cboArea.SelectedItem)).m_strDEPTID_CHR;
            }
            DataTable dtb    = null;
            long      lngRes = objDomain.m_lngGetPatient(strDeptId.Trim(), strAreaid.Trim(), m_txtInpatientId.Text.Trim(), m_txtInpatientName.Text.Trim(), out dtb);

            if (lngRes <= 0 || dtb.Rows.Count == 0)
            {
                return;
            }
            m_lsvPatient.Tag = null;
            m_mthAddData(dtb);
            m_lsvPatient.Tag = dtb;

            this.Text = "住院病历评分与统计";
        }
Exemple #2
0
        public frmGradeStatistic()
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();

            m_objDomain = new clsCaseGradeDomain();
            m_mthInitilize();
        }