/*获取特定疾病信息:输入DiseaseID,返回该疾病的完整信息*/
        public DiseaseInfoEntity GetDiseaseInfo(string diseaseID) {

            DrPEDatabaseEntities DEntities = new DrPEDatabaseEntities();

            var disease = (from d in DEntities.Diseases
                           where d.DiseaseID == diseaseID
                           select d).FirstOrDefault();

            DiseaseInfoEntity diseaseInfoEntity = null;
            if (disease != null) {
                diseaseInfoEntity = new DiseaseInfoEntity();

                diseaseInfoEntity.DiseaseID     = disease.DiseaseID;
                diseaseInfoEntity.Name          = disease.Name;
                diseaseInfoEntity.Description   = disease.Description;
                diseaseInfoEntity.Notice        = disease.Notice;
            }

            return diseaseInfoEntity;
        }
        /*将DiseaseInfo对应的Entity翻译为数据契约*/
        private void TranslateDiseaseInfoEntityToDiseaseInfoContractData(
            DiseaseInfoEntity diseaseInfoEntity,
            DiseaseInfo diseaseInfo) {

            diseaseInfo.ErrorMessage = diseaseInfoEntity.ErrorMessage;
            diseaseInfo.DiseaseID = diseaseInfoEntity.DiseaseID;
            diseaseInfo.Name = diseaseInfoEntity.Name;
            diseaseInfo.Description = diseaseInfoEntity.Description;
            //diseaseInfo.Method = diseaseInfoEntity.Method;
            diseaseInfo.Notice = diseaseInfoEntity.Notice;
        }
        /*获取特定疾病信息:输入DiseaseID,返回该疾病的完整信息*/
        public DiseaseInfoEntity GetDiseaseInfo(string diseaseID) {

            DiseaseInfoEntity diseaseInfoEntity = openAccessDAO.GetDiseaseInfo(diseaseID);

            if (diseaseInfoEntity == null) {
                diseaseInfoEntity = new DiseaseInfoEntity();
                diseaseInfoEntity.ErrorMessage = "145 No Disease of " + diseaseID + "! @Logic";
            }

            return diseaseInfoEntity;
        }
        /*获取特定疾病信息:输入DiseaseID,返回该疾病的完整信息*/
        public DiseaseInfo GetDiseaseInfo(string diseaseID) {

            DiseaseInfoEntity diseaseInfoEntity = null;

            if (diseaseID == null) {
                diseaseInfoEntity = new DiseaseInfoEntity();
                diseaseInfoEntity.ErrorMessage = "115 Empty diseaseID! @Service";
            }
            else {
                diseaseInfoEntity = openAccessLogic.GetDiseaseInfo(diseaseID);
            }
            DiseaseInfo diseaseInfo = new DiseaseInfo();
            TranslateDiseaseInfoEntityToDiseaseInfoContractData(diseaseInfoEntity, diseaseInfo);

            return diseaseInfo;
        }