예제 #1
0
        public long m_lngGetInfoByRegisterID(string RegisterID, out DataTable dtbResult)
        {
            long lngRes = 0;

            dtbResult = null;
            com.digitalwave.iCare.middletier.HIS.clsBihRegisterSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsBihRegisterSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsBihRegisterSvc));
            try
            {
                lngRes = objSvc.m_lngGetInfoByRegisterID(null, RegisterID, out dtbResult);
            }
            catch
            {
                return(0);
            } objSvc.Dispose();
            return(lngRes);
        }
예제 #2
0
        /// <summary>
        /// 统计某科室某病区的可转入的病人信息
        /// </summary>
        /// <param name="p_strDeptID">部门科室ID</param>
        /// <param name="p_strAreaID">病区ID</param>
        /// <param name="p_dtbResult">[out 参数]</param>
        /// <returns></returns>
        public long m_lngMayGetInPatientByAreaID(string p_strDeptID, string p_strAreaID, out DataTable p_dtbResult)
        {
            long lngRes = 0;

            p_dtbResult = null;
            com.digitalwave.iCare.middletier.HIS.clsBihRegisterSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsBihRegisterSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsBihRegisterSvc));
            try
            {
                lngRes = objSvc.m_lngMayGetInPatientByAreaID(objPrincipal, p_strDeptID, p_strAreaID, out p_dtbResult);
            }
            catch
            {
                return(0);
            }
            objSvc.Dispose();
            return(lngRes);
        }