/*将Notice的Entity翻译为数据契约*/
 private void TranslateNoticeEntityToNoticeInfoContractData(NoticeEntity noticeEntity, Notice notice) {
     notice.ErrorMessage = noticeEntity.ErrorMessage;
     notice.Count = noticeEntity.Count;
     notice.notice = noticeEntity.notice;
 }
 /*获取药品的疾病温馨提示*/
 public Notice GetPhysicNotice(string userID, string password, string sPrescriptionID) {
     UserService userService = new UserService();
     UserInfo userInfo = userService.Login(userID, password);
     if (userInfo.ErrorMessage == null) {
         return userService.GetPhysicNotice(sPrescriptionID);
     }
     else {
         Notice notice = new Notice();
         notice.ErrorMessage = userInfo.ErrorMessage;
         return notice;
     }
 }
 /*获取药品的疾病温馨提示*/
 public Notice GetPhysicNotice(string sPrescriptionID) {
     Notice notice = new Notice();
     Guid gPrescriptionID = Guid.Empty;
     try {
         gPrescriptionID = new Guid(sPrescriptionID);
     }
     catch {
         notice.ErrorMessage = "Invalid ID! @Service";
         return notice;
     }
     NoticeEntity noticeEntity = userLogic.GetPhysicNotice(gPrescriptionID);
     TranslateNoticeEntityToNoticeInfoContractData(noticeEntity, notice);
     return notice;
 }