Example #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);
        }
Example #2
0
        public long m_lngUndoTransferOut(string AreaID, string strTransferID, string RegisterID, string BedID)
        {
            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.m_lngUndoTransferOut(objPrincipal, AreaID, strTransferID, RegisterID, BedID);
            }
            catch
            {
                return(0);
            }
            objSvc.Dispose();
            return(lngRes);
        }
Example #3
0
        public long m_lngGetChargeNameByID(string p_strChargeItemID, out com.digitalwave.iCare.ValueObject.clsT_bse_chargeitem_VO p_objResult)
        {
            long lngRes = 0;

            p_objResult = null;
            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.m_lngGetChargeNameByID(objPrincipal, p_strChargeItemID, out p_objResult);
            }
            catch
            {
                return(0);
            } objSvc.Dispose();
            return(lngRes);
        }
Example #4
0
        public long m_lngQueryOccupyBed(string p_strRegisterid, out DataTable dtbResult)
        {
            long lngRes = 0;

            dtbResult = null;
            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.m_lngQueryOccupyBed(p_strRegisterid, out dtbResult);
            }
            catch
            {
                return(0);
            } objSvc.Dispose();
            return(lngRes);
        }
Example #5
0
        /// <summary>
        /// 载入空调收费信息
        /// </summary>
        public long m_lngGetAIRRATEChargeItem(out com.digitalwave.iCare.ValueObject.clsT_bse_chargeitem_VO[] p_objResultArr)
        {
            long lngRes = 0;

            p_objResultArr = new clsT_bse_chargeitem_VO[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.m_lngGetAIRRATEChargeItem(objPrincipal, out p_objResultArr);
            }
            catch
            {
                return(0);
            } objSvc.Dispose();
            return(lngRes);
        }
Example #6
0
        /// <summary>
        /// 修改床位信息
        /// </summary>
        /// <param name="p_strBEDID_CHR">流水号</param>
        /// <param name="p_objRecord"></param>
        /// <returns></returns>
        public long m_lngModifyBedInfoByVo(string p_strBEDID_CHR, clsT_Bse_Bed_VO p_objRecord)
        {
            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.m_lngModifyBedInfoByVo(objPrincipal, p_strBEDID_CHR, p_objRecord);
            }
            catch
            {
                return(0);
            }
            objSvc.Dispose();
            return(lngRes);
        }
Example #7
0
        public long m_lngDelPatientOccupyBedByRegisterID(string p_strRegisterID, string p_strBedid)
        {
            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.m_lngDelPatientOccupyBedByRegisterID(p_strRegisterID);
            }
            catch
            {
                return(0);
            }
            objSvc.Dispose();
            return(lngRes);
        }
Example #8
0
        /// <summary>
        /// 查询某病区号的所有某状态的病床信息 {1=空床;2=占床;3=预约占床;4=包房占床}
        /// </summary>
        /// <param name="p_strAreaid_chr">病区ID</param>
        /// <param name="p_intStatus_int">病床状态 {1=空床;2=占床;3=预约占床;4=包房占床}</param>
        /// <param name="p_dtbResult">[DataTable out参数]</param>
        /// <returns></returns>
        public long m_lngGetAreaBedInfoByStatus_int(string p_strAreaid_chr, int p_intStatus_int, out DataTable p_dtbResult)
        {
            long lngRes = 0;

            p_dtbResult = null;
            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.m_lngGetAreaBedInfoByStatus_int(objPrincipal, p_strAreaid_chr, p_intStatus_int, out p_dtbResult);
            }
            catch
            {
                return(0);
            } objSvc.Dispose();
            return(lngRes);
        }
Example #9
0
        /// <summary>
        /// 查询某病区号、床号的病床信息
        /// </summary>
        /// <param name="p_strAreaID_chr">病区号</param>
        /// <param name="p_strCode_chr">床号</param>
        /// <param name="p_objResult"></param>
        /// <returns></returns>
        public long m_lngGetBedInfoByAreaIDAndCode(string p_strAreaID_chr, string p_strCode_chr, out clsT_Bse_Bed_VO p_objResult)
        {
            long lngRes = 0;

            p_objResult = null;
            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.m_lngGetBedInfoByAreaIDAndCode(objPrincipal, p_strAreaID_chr, p_strCode_chr, out p_objResult);
            }
            catch
            {
                return(0);
            } objSvc.Dispose();
            return(lngRes);
        }
Example #10
0
        /// <summary>
        /// 获取床号	根据床位流水号
        /// </summary>
        /// <param name="p_strID">床位流水号</param>
        /// <returns></returns>
        public string m_BedIDToBedNo(string p_strID)
        {
            string strName = "";
            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.m_lngBedIDToBedNo(objPrincipal, p_strID, out strName);
            }
            catch
            {
                return("");
            } objSvc.Dispose();
            return(strName);
        }
Example #11
0
        public long m_lngGetPatientLastestTransferInfo(string p_strRegisterID, out DataTable p_dtbResult)
        {
            long lngRes = 0;

            p_dtbResult = null;
            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.m_lngGetPatientLastestTransferInfo(objPrincipal, p_strRegisterID, out p_dtbResult);
            }
            catch
            {
                return(0);
            }
            objSvc.Dispose();
            return(lngRes);
        }
Example #12
0
        /// <summary>
        /// 统计某病区的空床位总数 [按照性别类型]
        /// </summary>
        /// <param name="p_strAreaid_chr">病区ID</param>
        /// <param name="intSEX_INT">性别类型	[1、男;2、女;3、不限;]</param>
        /// <returns></returns>
        public int m_intStatEmptyBedNumberByAreaIDSex(string p_strAreaid_chr, int intSEX_INT)
        {
            int  intNumber = 0;
            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.m_lngStatEmptyBedNumberByAreaIDSex(objPrincipal, p_strAreaid_chr, intSEX_INT, out intNumber);
            }
            catch
            {
            }
            objSvc.Dispose();

            return(intNumber);
        }
Example #13
0
        public long m_lngGetsickArea(out DataTable p_dtbResult)
        {
            long lngRes = 0;

            p_dtbResult = null;
            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.m_lngGetsickArea(objPrincipal, out p_dtbResult);
            }
            catch
            {
                return(0);
            }
            objSvc.Dispose();
            return(lngRes);
        }