コード例 #1
0
        // 收费项目用法
        #region 查询收费项目用法 created by Cameron Wong on Aug 12, 2004
        /// <summary>
        /// 查询收费项目用法
        /// </summary>
        /// <param name="p_objResultArr"></param>
        /// <returns></returns>
        public long m_lngFindUsageTypeList(out clsUsageType_VO[] p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngFindUsageTypeList(objPrincipal, out p_objResultArr);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #2
0
        /// <summary>
        /// 获取医保分类
        /// </summary>
        /// <param name="dt"></param>
        /// <returns></returns>
        public long m_getMEDICARETYPE(out DataTable dt)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_getMEDICARETYPE(objPrincipal, out dt);
            return(lngRes);
        }
コード例 #3
0
        public long m_GetEXType(string strFlag, out clsChargeItemEXType_VO[] objResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngFindChargeItemEXTypeListByFlag(objPrincipal, strFlag, out objResult);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #4
0
        /// <summary>
        /// 获取用药频率
        /// </summary>
        /// <param name="m_strFindText"></param>
        /// <param name="dt"></param>
        /// <returns></returns>
        public long m_mthFindRecipeFreq(string m_strFindText, out DataTable dt)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthFindRecipeFreq(objPrincipal, m_strFindText, out dt);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #5
0
        /// <summary>
        /// 获取执行医嘱分类名称
        /// </summary>
        /// <param name="p_objResultdt"></param>
        /// <returns></returns>
        public long m_lngGetAllBihCate(out DataTable p_objResultdt)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngGetAllBihCate(objPrincipal, out p_objResultdt);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #6
0
        public long m_mthLoadCheckType(out DataTable dt, string strEx)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthLoadCheckType(out dt, strEx);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #7
0
        /// <summary>
        /// 查询收费项目
        /// </summary>
        /// <param name="p_strFindString"></param>
        /// <param name="p_dtResult"></param>
        /// <returns></returns>
        public long m_mthFindMedicineByID(out DataTable p_dtResult, string strFindfild, string strFind)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthFindMedicineByID(out p_dtResult, null, strFindfild, strFind);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #8
0
        public long m_lngDelCMUsageGroupByID(clsChargeItemUsageGroup_VO p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDelCMUsageGroupByID(objPrincipal, p_objResultArr);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #9
0
        /// <summary>
        /// 保存数据
        /// </summary>
        /// <param name="itemID"></param>
        /// <param name="dt"></param>
        /// <returns></returns>
        public long m_lngSaveSunItem(string itemID, DataTable dt, DataTable updt)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngSaveSunItem(null, itemID, dt, updt);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #10
0
        /// <summary>
        /// 获取已经关联的项目
        /// </summary>
        /// <param name="itemID"></param>
        /// <param name="dt"></param>
        /// <returns></returns>
        public long m_getSUBCHARGEITEM(string itemID, out DataTable dt)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_getSUBCHARGEITEM(null, itemID, out dt);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #11
0
        /// <summary>
        /// 将收费项目同步到诊疗项目
        /// </summary>
        /// <param name="m_objData"></param>
        /// <returns></returns>
        public long m_mthChargeItemSynOrderDic(clsChargeItemSynToOrderDic[] m_objDataArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthChargeItemSynOrderDic(objPrincipal, m_objDataArr);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #12
0
        public long m_mthItemIsUsed(string strCode, string strItemID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthItemIsUsed(strCode, strItemID);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #13
0
        public long m_mthChangeCat(string strID, string strType)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthChangeCat(objPrincipal, strID, strType);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #14
0
        public long m_mthDoAddNewChargeItem(clsChargeItem_VO p_objResultArr, out string strID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDoAddNewChargeItem(objPrincipal, p_objResultArr, out strID);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #15
0
        /// <summary>
        /// 获取医嘱类型
        /// </summary>
        /// <param name="m_objTable"></param>
        /// <returns></returns>
        public long m_mthSelectOrderCate(out DataTable m_objTable)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthSelectOrderCate(objPrincipal, out m_objTable);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #16
0
        /// <summary>
        ///新增中药用法带出的项目
        /// </summary>
        /// <param name="p_strRecordID">流水号</param>
        /// <param name="p_objResultArr"></param>
        /// <returns></returns>
        public long m_lngDoAddNewChargeItemCMUsageGroup(out string p_strRecordID, clsChargeItemUsageGroup_VO p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDoAddNewChargeItemCMUsageGroup(objPrincipal, out p_strRecordID, p_objResultArr);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #17
0
        /// <summary>
        /// 删除关联项目
        /// </summary>
        /// <param name="itemID"></param>
        /// <param name="sumItemID"></param>
        /// <returns></returns>
        public long m_lngDeleteSunItem(string itemID, string sumItemID, bool isDeleAll)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDeleteSunItem(null, itemID, sumItemID, isDeleAll);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #18
0
        public long m_lngFindItemNoUsageGroup(string strCatID, string strUsageID, out DataTable p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_GetItemNoUsageGroup(objPrincipal, strCatID, strUsageID, out p_objResultArr);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #19
0
        //收费项目
        #region 新增收费项目
        public long m_mthInsertCASEHISCHR(string GroupID, string strCatID, string strName)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthInsertCASEHISCHR(objPrincipal, GroupID, strCatID, strName);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #20
0
        public long m_lngDoUpdCatByID(clsCharegeItemCat_VO p_objResultArr, string ID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDoUpdChargeItemCatByID(objPrincipal, p_objResultArr, ID);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #21
0
        public long m_mthFindChargeItem1(string strCatID, string strType, string strContent, out DataTable dt)
        {
            dt = null;
            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            long lngRes = objSvc.m_mthFindChargeItem1(objPrincipal, strCatID, strType, strContent, out dt);

            objSvc.Dispose();
            return(lngRes);
        }
コード例 #22
0
        public long m_lngDel(string ID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDelCharegeItem(objPrincipal, ID);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #23
0
        //收费项目分类类型
        #region 新增收费项目分类类型
        public long m_lngAddCat(clsCharegeItemCat_VO objResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDoAddNewChargeItemCat(objPrincipal, objResult);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #24
0
        public long m_mthGetCASEHISCHR(string strID, out DataTable dt)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_mthGetCASEHISCHR(objPrincipal, strID, out dt);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #25
0
        /// <summary>
        /// 新增收费项目用法
        /// </summary>
        /// <param name="strCode"></param>
        /// <param name="strName"></param>
        /// <param name="strID"></param>
        /// <returns></returns>
        public long m_lngAddUsageType(string strCode, string strName, out string strID)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDoAddNewUsageType(objPrincipal, strCode, strName, out strID);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #26
0
        public long m_GetAllSour(string SourType, ref DataTable dtResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngFindAllSour(objPrincipal, SourType, ref dtResult);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #27
0
        public long m_lngGetData(string SQLstr, out DataTable dt)
        {
            dt = null;
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngGetData(objPrincipal, SQLstr, out dt);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #28
0
        /// <summary>
        /// 新增与删除单据
        /// </summary>
        /// <param name="strID"></param>
        /// <returns></returns>
        public long m_lngDoUpdUsageorderid_vchrByIDAndTypeId(int p_intTypeindex, string p_strUsageID, string p_strGroupID, bool p_blnAdd)

        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngDoUpdUsageorderid_vchrByIDAndTypeId(objPrincipal, p_intTypeindex, p_strUsageID, p_strGroupID, p_blnAdd);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #29
0
        public long m_lngGetUsageByCode(string strCode, out clsUsageType_VO[] objResult)
        {
            long lngRes = 0;

            objResult = new clsUsageType_VO[0];
            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_GetUsage(objPrincipal, out objResult, strCode);
            objSvc.Dispose();
            return(lngRes);
        }
コード例 #30
0
        public long m_GetSourName(string strID, string SourType, out string strName)
        {
            long lngRes = 0;

            strName = "";
            com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc));
            lngRes = objSvc.m_lngFindSour(objPrincipal, strID, SourType, out strName);
            objSvc.Dispose();
            return(lngRes);
        }