/// <summary>
        /// 删除模型
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool RemoveModel(EmrModel model)
        {
            //bool ret = m_models.Remove(model);
            bool ret = m_nodes.Remove(model);

            return(ret);
        }
Exemple #2
0
        public EmrModel Clone()
        {
            EmrModel model = new EmrModel();

            model.InstanceId         = this._instanceId;
            model.ModelCatalog       = this._modelCatalog;
            model.TempIdentity       = this._tempIdentity;
            model.HadSigned          = this._hadSigned;
            model.State              = this._emState;
            model.CreatorXH          = this._crXh;
            model.CreateTime         = this._crDate;
            model.ExaminerXH         = this._emXh;
            model.ExamineTime        = this._emDate;
            model.DisplayTime        = this._displayTime;
            model.FirstDailyEmrModel = this._FirstDailyEmrModel;
            model.IsYiHuanGouTong    = this.m_IsYiHuanGouTong;
            model.ModelContent       = this._modelContent;
            //是否读页面大小的通用配置 Add By wwj 2012-03-31
            model.IsReadConfigPageSize = this.IsReadConfigPageSize;
            model.IsSetNewPageStart    = this.IsSetNewPageStart;

            //病人转科ID Add by wwj 2013-04-03
            model.DeptChangeID = this.DeptChangeID;
            model.ModelName    = this._modelName;

            //Add by wwj 2013-04-26
            model.IsShowDailyEmrPreView = this.m_IsShowDailyEmrPreView;

            return(model);
        }
 /// <summary>
 /// 添加模板
 /// </summary>
 /// <param name="model">加入的模板</param>
 /// <returns>加入成功则返回真</returns>
 public void AddModel(EmrModel model)
 {
     m_nodes.Add(model);
 }
 /// <summary>
 /// 删除模型
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public bool RemoveModel(EmrModel model)
 {
     return(m_nodes.Remove(model));
 }