/*将DoctorInfo对应的Entity翻译为数据契约*/
        private void TranslateDoctorInfoEntityToDoctorInfoContractData(
            DoctorInfoEntity doctorInfoEntity,
            DoctorInfo doctorInfo) {
            doctorInfo.ErrorMessage = doctorInfoEntity.ErrorMessage;

            doctorInfo.SectionID = doctorInfoEntity.SectionID;
            doctorInfo.DoctorID = doctorInfoEntity.DoctorID;
            doctorInfo.UserID = doctorInfoEntity.UserID;
            doctorInfo.LastName = doctorInfoEntity.LastName;
            doctorInfo.FirstName = doctorInfoEntity.FirstName;
            doctorInfo.Designation = doctorInfoEntity.Designation;
            doctorInfo.Resume = doctorInfoEntity.Resume;
            doctorInfo.Phone = doctorInfoEntity.Phone;
            doctorInfo.Fax = doctorInfoEntity.Fax;
            doctorInfo.Email = doctorInfoEntity.Email;
            doctorInfo.Vocation = doctorInfoEntity.Vocation;
            doctorInfo.Portrait = doctorInfoEntity.Portrait;
            doctorInfo.LastLoginDate = doctorInfoEntity.LastLoginDate;
        }
        /*医生登录:若ID和Password均不为空,则转发至DL,将结果翻译为数据契约*/
        public DoctorInfo Login(string doctorID, string password) {

            DoctorInfoEntity doctorInfoEntity = null;

            if (doctorID == null) {
                doctorInfoEntity = new DoctorInfoEntity();
                doctorInfoEntity.ErrorMessage = "301 Empty DoctorID! @Service";
            }
            else if (password == null) {
                doctorInfoEntity = new DoctorInfoEntity();
                doctorInfoEntity.ErrorMessage = "302 Empty password! @Service";
            }
            else {
                doctorInfoEntity = doctorLogic.Login(doctorID, password);
            }

            DoctorInfo doctorInfo = new DoctorInfo();
            TranslateDoctorInfoEntityToDoctorInfoContractData(doctorInfoEntity, doctorInfo);

            return doctorInfo;
        }
        /*获取特定医师信息:提交DoctorID,返回该医师的信息*/
        public DoctorInfo GetDoctorInfo(string doctorID) {

            DoctorInfoEntity doctorInfoEntity = null;

            if (doctorID == null) {
                doctorInfoEntity = new DoctorInfoEntity();
                doctorInfoEntity.ErrorMessage = "113 Empty doctorID! @Service";
            }
            else {
                doctorInfoEntity = openAccessLogic.GetDoctorInfo(doctorID);
            }
            DoctorInfo doctorInfo = new DoctorInfo();
            TranslateDoctorInfoEntityToDoctorInfoContractData(doctorInfoEntity, doctorInfo);

            return doctorInfo;
        }