Ejemplo n.º 1
0
        /// <summary>
        /// 验证部门是否是病区
        /// </summary>
        /// <param name="p_objPrincipal"></param>
        /// <param name="p_strDEPTID_CHR">部门ID</param>
        /// <returns></returns>
        public bool IsIllAreaID(string p_strDEPTID_CHR)
        {
            bool IsAreaID = false;
            long lngRes   = 0;

            com.digitalwave.iCare.middletier.HIS.clsBedManageSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsBedManageSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsBedManageSvc));
            try
            {
                lngRes = objSvc.lngCheckIsIllAreaID(objPrincipal, p_strDEPTID_CHR, out IsAreaID);
            }
            catch
            {
            }
            objSvc.Dispose();
            return(IsAreaID);
        }