Exemplo n.º 1
0
        /// <summary>
        /// 检查在内存中或数据库中是否存在首次病程
        /// </summary>
        /// <returns></returns>
        private bool CheckIsHaveFirstDailyEmr()
        {
            //获取数据库中的首次病程
            string displayDateTime = m_HistoryEmrBll.GetFirstDailyEmrCaptionDateTime(m_CurrentUCEmrInput.CurrentInpatient.NoOfFirstPage.ToString());

            //获取内存中的首次病程
            EmrModel firstDailyEmrModel = Util.GetFirstDailyEmrModel(m_CurrentUCEmrInput.CurrentInputBody.CurrentTreeList);

            //表示首程不存在,如果需要导入日常病程,则需要和首程一起导入
            if (displayDateTime != "" || firstDailyEmrModel != null)
            {
                return(true);
            }
            return(false);
        }