/*搜索医师信息:提交关键词,返回含有该关键词的所有医师的信息*/
        public AllDoctorInfo FindDoctorByName(string keyword) {

            AllDoctorInfoEntity allDoctorInfoEntity = null;

            if (keyword == null) {
                allDoctorInfoEntity = new AllDoctorInfoEntity();
                allDoctorInfoEntity.ErrorMessage = "122 Empty Keyword of DoctorName! @Service";
            }
            else {
                allDoctorInfoEntity = openAccessLogic.FindDoctorByName(keyword);
            }
            AllDoctorInfo allDoctorInfo = new AllDoctorInfo();
            TranslateAllDoctorInfoEntityToAllDoctorInfoContractData(allDoctorInfoEntity, allDoctorInfo);

            return allDoctorInfo;
        }
        /*将AllDoctorInfo对应的Entity翻译为数据契约,调用TranslateDoctorInfoEntityToDoctorInfoContractData()*/
        private void TranslateAllDoctorInfoEntityToAllDoctorInfoContractData(
            AllDoctorInfoEntity     allDoctorInfoEntity,
            AllDoctorInfo           allDoctorInfo) {

                int cnt = 0;

                allDoctorInfo.ErrorMessage  = allDoctorInfoEntity.ErrorMessage;
                allDoctorInfo.Count         = allDoctorInfoEntity.Count;

                if (allDoctorInfo.Count > 0) {
                    allDoctorInfo.doctorInfo = new DoctorInfo[allDoctorInfo.Count];
                    for (cnt = 0; cnt < allDoctorInfo.Count; cnt++) {
                        allDoctorInfo.doctorInfo[cnt] = new DoctorInfo();
                        TranslateDoctorInfoEntityToDoctorInfoContractData(
                            allDoctorInfoEntity.doctorInfoEntity[cnt],
                            allDoctorInfo.doctorInfo[cnt]);
                    }
                }
        }
        /*获取医师信息:提交科室编号,返回该科室的所有医师的信息*/
        public AllDoctorInfo GetAllDoctorInfo(string sectionID) {

            AllDoctorInfoEntity allDoctorInfoEntity = null;

            if (sectionID == null) {
                allDoctorInfoEntity = new AllDoctorInfoEntity();
                allDoctorInfoEntity.ErrorMessage = "103 Empty SectionID! @Service";
            }
            else {
                allDoctorInfoEntity = openAccessLogic.GetAllDoctorInfo(sectionID);
            }
            AllDoctorInfo allDoctorInfo = new AllDoctorInfo();
            TranslateAllDoctorInfoEntityToAllDoctorInfoContractData(allDoctorInfoEntity, allDoctorInfo);

            return allDoctorInfo;
        }