public override ActionResult Info(int id)
        {
            Model.SpecialPatientProcess model = bll.GetModel(id);
            bool result = model != null ? true : false;

            if (result)
            {
                return(this.Json(new { result = 1, data = model }, JsonRequestBehavior.AllowGet));
            }
            else
            {
                return(this.Json(new { result = 1, msg = "" }));
            }
        }
        public override ActionResult Delete(int id)
        {
            Model.SpecialPatientProcess model = bll.GetModel(id);
            bool result = false;

            if (model != null)
            {
                model.Status = null;
                result       = bll.Update(model);
            }
            if (result)
            {
                return(this.Json(new { result = 1, data = "" }));
            }
            else
            {
                return(this.Json(new { result = 0, msg = "删除失败" }));
            }
        }
        public ActionResult Update(Model.SpecialPatientProcess model)
        {
            bool result = false;

            HTNResp.BLL.Program  bllProgram  = new BLL.Program();
            HTNResp.BLL.EvalGuid bllEvalGuid = new BLL.EvalGuid();
            if (!String.IsNullOrEmpty(model.DecisionRule) && String.IsNullOrEmpty(bllProgram.testContent(model.DecisionRule)) && bllEvalGuid.Exists(model.EvalGuidId.Value))
            {
                result = bll.Update(model);
            }

            if (result)
            {
                return(this.Json(new { result = 1, data = "" }));
            }
            else
            {
                return(this.Json(new { result = 0, msg = "修改失败" }));
            }
        }