Ejemplo n.º 1
0
        private void QCScoreItemEdit_Load(object sender, EventArgs e)
        {
            m_sqlManger = new SqlManger(m_app);
            BindScoreType();

            BindDataToPage();
        }
Ejemplo n.º 2
0
 public ConfigQCAudit(IEmrHost app)
 {
     m_App        = app;
     m_SqlManager = new SqlManger(app);
     InitializeComponent();
     this.lookUpEditorDepartment.Focus();
 }
Ejemplo n.º 3
0
 public QualityMedicalRecord(IEmrHost app)
 {
     InitializeComponent();
     m_App       = app;
     m_SqlManger = new SqlManger(app);
     ucPoint1.EventHandlerTongGuo += EventHandlerTongGuo_UcPoint;
 }
Ejemplo n.º 4
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            QCScoreItem_DataEntity socreItementity = SetEntity();

            if (socreItementity == null)
            {
                return;
            }
            string edittype = "";

            //表示为新增
            if (m_scoreitem == null)
            {
                edittype = "0";
            }
            else
            {
                edittype = "1";
                socreItementity.Itemcode = m_scoreitem.Itemcode;
            }

            SqlManger m_sqlmanger = new SqlManger(m_app);

            m_sqlmanger.EditQCItemScore(edittype, socreItementity);

            m_app.CustomMessageBox.MessageShow("保存成功!");
            ISRefresh = true;
            this.Close();
        }
Ejemplo n.º 5
0
 public EmrAutoScore(IEmrHost app)
 {
     m_app       = app;
     m_SqlManger = new SqlManger(app);
     //manger = new IemMainPageManger(DataAccess.App, Common.CommonObjects.CurrentPatient);
     //manger.GetIemInfo();
     DataAccess.App   = m_app;
     m_dtMainpageRule = DataAccess.GetIemMainPageQC();
 }
Ejemplo n.º 6
0
        /// <summary>
        /// 患者病历评分列表页面
        /// </summary>
        public OutMedicalScore(IEmrHost app)
        {
            InitializeComponent();
            m_app = app;
            SqlManger m_SqlManger = new SqlManger(app);

            m_SqlManager = new SqlManger(app);
            m_userid     = app.User.DoctorId;
        }
Ejemplo n.º 7
0
        /// <summary>
        /// 患者病历评分列表页面
        /// </summary>
        public QC_ScoreRecord(IEmrHost app)
        {
            InitializeComponent();
            m_app = app;
            SqlManger m_SqlManger = new SqlManger(app);

            m_SqlManager = new SqlManger(app);
            m_userid     = app.User.DoctorId;
        }
Ejemplo n.º 8
0
        private void QCScoreItem_Load(object sender, EventArgs e)
        {
            m_sqlManger = new SqlManger(m_app);

            BindScoreType();

            BindDataSource();

            this.lookUpEditorType.Focus();
        }
Ejemplo n.º 9
0
 /// <summary>
 /// 窗体加载事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ConfigPoint_Load(object sender, EventArgs e)
 {
     m_SqlManager = new SqlManger(m_app);
     LoadConfigData();
     InitParentClass();
     //加载评分标准配置的数据add by ywk 2012年5月25日 16:42:35
     InitlookUpEditParents(); //wj  2012 11 8
     InitlookUpEditChild();
     LoadReductionData();
 }
Ejemplo n.º 10
0
        public EmrPainetScore(IEmrHost app, DataRow patientRow)
        {
            InitializeComponent();
            m_App            = app;
            m_SqlManager     = new SqlManger(app);
            m_NoOfInpat      = patientRow["NOOFINPAT"].ToString();
            this.patientRow  = patientRow;
            EmrScoreData.App = app;

            //在构造函数中取得病人的基本信息,绑定到用户控件里
            //DataTable dtpaientInfo = EmrScoreData.GetPatientInfoForPoint(m_NoOfInpat);
            //this.ucEmrPainetScore2.SetPatientInfo(dtpaientInfo);
            //this.ucEmrPainetScore2.LoadData();
        }
Ejemplo n.º 11
0
 public EmrPainetScore(IEmrHost app, string noofpaint, int sumpoint)
 {
     try
     {
         InitializeComponent();
         m_App            = app;
         m_SqlManager     = new SqlManger(app);
         m_NoOfInpat      = noofpaint;
         m_sumpoint       = sumpoint;
         EmrScoreData.App = app;
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 12
0
        /// <summary>
        /// 初始化评分类别下拉框
        /// add by ywk 2012年10月25日 11:19:51
        /// </summary>
        private void InitPointClass()
        {
            lookUpWindowCCNAME.SqlHelper = m_app.SqlHelper;

            SqlManger sqlManager = new SqlManger(m_app);
            DataTable DtParent   = sqlManager.GetParentClass();

            DtParent.Columns["CCODE"].Caption = "分类代码";
            DtParent.Columns["CNAME"].Caption = "分类名称";
            Dictionary <string, int> cols = new Dictionary <string, int>();

            cols.Add("CCODE", 50);
            cols.Add("CNAME", 100);
            SqlWordbook deptWordBook = new SqlWordbook("querybook", DtParent, "CCODE", "CNAME", cols);

            lookUpCCNAME.SqlWordbook = deptWordBook;
        }
Ejemplo n.º 13
0
        /// <summary>
        /// 判断当前登录人的身份(是科室质控员还是质控科的)
        /// QCDepart质控科人员  QCMANAGER 为科室指控员 CHIEF为科主任
        /// </summary>
        /// <param name="p"></param>
        /// <returns>QCDepart质控科人员  QCMANAGER 为科室指控员 CHIEF为科主任 </returns>
        internal string JudgeIdentity(string userid, SqlManger m_SqlManger)
        {
            string        Ident        = string.Empty;
            string        configvalue  = m_SqlManger.GetConfigValueByKey("RHQCMangesConfig");
            List <string> configIDList = new List <string>();

            if (!String.IsNullOrEmpty(configvalue))
            {
                configIDList = (configvalue.Split(',')).ToList();
            }
            bool hasUserQC = false; //人员是否是质控科人员

            foreach (var item in configIDList)
            {
                if (item == userid)
                {
                    hasUserQC = true;
                }
            }
            if (hasUserQC)
            {
                Ident = "QCDepart";
            }
            else
            {
                string sql = string.Format("select * from emr_ConfigCheckPointUser where qcmanagerid='{0}' and valid='1'", userid);
                if (m_app.SqlHelper.ExecuteDataTable(sql).Rows.Count > 0)//是科室质控员
                {
                    Ident = "QCMANAGER";
                }
                string sql1 = string.Format("select * from emr_ConfigCheckPointUser where chiefdoctorid='{0}' and valid='1'", userid);
                if (m_app.SqlHelper.ExecuteDataTable(sql1).Rows.Count > 0)//是主任
                {
                    Ident = "CHIEF";
                }
            }
            return(Ident);
        }
Ejemplo n.º 14
0
 public ConfigQCAudit(IEmrHost app)
 {
     m_App        = app;
     m_SqlManager = new SqlManger(app);
     InitializeComponent();
 }
Ejemplo n.º 15
0
 public OperationOfZhuyuanzhi(IEmrHost app)
 {
     m_App       = app;
     m_SqlManger = new SqlManger(app);
 }
Ejemplo n.º 16
0
 //    bool RefreshD = false;//此页面关闭后,上级页面数据要相应的刷新数据
 public ConfigPoint(IEmrHost app)
 {
     InitializeComponent();
     m_app        = app;
     m_SqlManager = new SqlManger(m_app);
 }
Ejemplo n.º 17
0
 public void InitData(IEmrHost host, SqlManger sqlManger)
 {
     m_App       = host;
     m_SqlManger = sqlManger;
 }
Ejemplo n.º 18
0
 public OperationOfBingchengjilu(IEmrHost app)
 {
     m_App       = app;
     m_SqlManger = new SqlManger(app);
 }
Ejemplo n.º 19
0
 public AutoMarkRecoed(IEmrHost app)
 {
     m_App       = app;
     m_SqlManger = new SqlManger(app);
 }
Ejemplo n.º 20
0
 private void QCScoreType_Load(object sender, EventArgs e)
 {
     m_sqlManger = new SqlManger(m_app);
     BindDataSource();
 }
Ejemplo n.º 21
0
 public OperationOfFirstCheck(IEmrHost app)
 {
     m_App       = app;
     m_SqlManger = new SqlManger(app);
 }
Ejemplo n.º 22
0
 /// <summary>
 /// 患者病历评分列表页面
 /// </summary>
 public OutMedicalScore(IEmrHost app)
 {
     InitializeComponent();
     m_app        = app;
     m_SqlManager = new SqlManger(app);
 }