/*搜索科室信息:提交关键词,返回含有该关键词的所有科室的信息*/
        public AllSectionInfo FindSectionByName(string keyword) {

            AllSectionInfoEntity allSectionInfoEntity = null;

            if (keyword == null) {
                allSectionInfoEntity = new AllSectionInfoEntity();
                allSectionInfoEntity.ErrorMessage = "121 Empty Keyword of SectionName! @Service";
            }
            else {
                allSectionInfoEntity = openAccessLogic.FindSectionByName(keyword);
            }
            AllSectionInfo allSectionInfo = new AllSectionInfo();
            TranslateAllSectionInfoEntityToAllSectionInfoContractData(allSectionInfoEntity, allSectionInfo);

            return allSectionInfo;
        }
        /*将AllSectionInfo对应的Entity翻译为数据契约,调用TranslateSectionInfoEntityToSectionInfoContractData()*/
        private void TranslateAllSectionInfoEntityToAllSectionInfoContractData(
            AllSectionInfoEntity    allSectionInfoEntity,
            AllSectionInfo          allSectionInfo) {

                int cnt = 0;

                allSectionInfo.ErrorMessage     = allSectionInfoEntity.ErrorMessage;
                allSectionInfo.Count            = allSectionInfoEntity.Count;

                if (allSectionInfo.Count > 0) {
                    allSectionInfo.sectionInfo = new SectionInfo[allSectionInfo.Count];
                    for (cnt = 0; cnt < allSectionInfo.Count; cnt++) {
                        allSectionInfo.sectionInfo[cnt] = new SectionInfo();
                        TranslateSectionInfoEntityToSectionInfoContractData(
                            allSectionInfoEntity.sectionInfoEntity[cnt],
                            allSectionInfo.sectionInfo[cnt]);
                    }
                }
        }
        /*获取科室信息:提交医院编号,返回该医院的所有科室的信息*/
        public AllSectionInfo GetAllSectionInfo(string hospitalID) {

            AllSectionInfoEntity allSectionInfoEntity = null;

            if (hospitalID == null) {
                allSectionInfoEntity = new AllSectionInfoEntity();
                allSectionInfoEntity.ErrorMessage = "102 Empty HospitalID! @Service";
            }
            else {
                allSectionInfoEntity = openAccessLogic.GetAllSectionInfo(hospitalID);
            }
            AllSectionInfo allSectionInfo = new AllSectionInfo();
            TranslateAllSectionInfoEntityToAllSectionInfoContractData(allSectionInfoEntity, allSectionInfo);

            return allSectionInfo;
        }