Esempio n. 1
0
        /// <summary>
        /// 文件方式存储,调用此方法
        /// </summary>
        public void InitLoad()
        {
            EmrToolTipManage.InitEmrToolTip(); //初始化提示控件
            KnowledgeManage.InitKnowledg();    //初始化知识库

            emrView.emrControlType     = EmrControlType.病历模板;
            emrView.emrDatastorageType = EmrDatastorageType.文件存储;
            //emrView.IsShowFileBtn = true;
            emrView.btnState();
        }
Esempio n. 2
0
        /// <summary>
        /// 模板功能调用此方法
        /// </summary>
        /// <param name="_keyData"></param>
        public void InitLoad(IEmrTemplateDbHelper _emrTemplateDbHelper, EmrBindKeyData _keyData)
        {
            emrDbHelper             = _emrTemplateDbHelper;
            emrView.CurrBindKeyData = _keyData;
            currBindKeyData         = _keyData;
            //DataSourceManage.InitData(emrDataSource);
            EmrToolTipManage.InitEmrToolTip(); //初始化提示控件
            KnowledgeManage.InitKnowledg();    //初始化知识库

            emrView.emrControlType     = EmrControlType.病历模板;
            emrView.emrDatastorageType = EmrDatastorageType.数据库存储;
            emrView.IsShowFileBtn      = false;
            emrView.btnState();
        }
Esempio n. 3
0
        /// <summary>
        /// 病历书写调用此方法
        /// </summary>
        /// <param name="_keyData"></param>
        public void InitLoad(IEmrWriteDbHelper _emrWriteDbHelper, EmrBindKeyData _keyData, bool IsPreview)
        {
            emrDbHelper             = _emrWriteDbHelper;
            emrView.CurrBindKeyData = _keyData;
            currBindKeyData         = _keyData;
            DataSourceManage.InitData(_emrWriteDbHelper);
            EmrToolTipManage.InitEmrToolTip(); //初始化提示控件
            KnowledgeManage.InitKnowledg();    //初始化知识库

            if (IsPreview)
            {
                emrView.emrControlType = EmrControlType.病历预览;
            }
            else
            {
                emrView.emrControlType = EmrControlType.病历编辑;
            }
            emrView.emrDatastorageType = EmrDatastorageType.数据库存储;
            emrView.IsShowFileBtn      = false;
            emrView.btnState();
        }