Ejemplo n.º 1
0
        /// <summary>
        /// 检查助记码是否使用
        /// </summary>
        /// <param name="strID">如是ID 不为空就是修改时使用</param>
        /// <returns></returns>
        public long m_mthCheckCodeIsUsed(string strCode, string strID, string strFlag)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_mthCheckCodeIsUsed(this.objPrincipal, strCode, strID, strFlag);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 获取检查部位及检验样本
        /// </summary>
        /// <param name="P_dtPark">返回检查部位或检验样本</param>
        /// <param name="ParkName">返回项目对应的检验样本名称</param>
        /// <param name="parkID">返回项目对应的检验样本ID</param>
        /// <param name="strItemId">原项目ID(检验样本)</param>
        /// <param name="strType">0-检验样本,其它检查部位</param>
        /// <returns></returns>
        public long m_lngGetPart(out DataTable P_dtPark, out string ParkName, out string parkID, string strItemId, string strType)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngGetPart(this.objPrincipal, out P_dtPark, out ParkName, out parkID, strItemId, strType);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 获取协定处方
        /// </summary>
        public long m_lngGetConcertreCipeDetailByIDOutTb(string strID, out DataTable p_objResultArr)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngGetConcertreCipeDetailByIDOutTb(p_objPrincipal, strID, out p_objResultArr);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 获取协定处方m_lngGetConcertreCipeDetailByIDOutTb
        /// </summary>
        public long m_lngGetConcertreCipeByEmpIDOutTB(string CREATERID, string strID, out DataTable p_objResultArr, int intFLAG, bool isPublic)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngGetConcertreCipeByEmpIDOutTB(p_objPrincipal, CREATERID, strID, out p_objResultArr, intFLAG, isPublic);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// 获取频率的次数及天数
        /// </summary>
        /// <param name="strResult"></param>
        /// <param name="strFREQID"></param>
        /// <returns></returns>
        public long m_lngGetDayAndTime(out string strResult, out string strResult1, string strFREQID)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngGetDayAndTime(p_objPrincipal, out strResult, out strResult1, strFREQID);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 6
0
        /// <summary>
        /// 新增明细
        /// </summary>
        public long m_lngConcertreCipeDetailAddNEWDe(string strID, object[] btDe, int m_intSort)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngConcertreCipeDetailAddNEWDe(p_objPrincipal, strID, btDe, m_intSort);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 7
0
        /// <summary>
        /// 检查当前登陆的用户是否有编辑公用处方的权限
        /// </summary>
        /// <param name="p_objPrincipal"></param>
        /// <param name="strID">用户ID</param>
        /// <param name="isPublic">false-没有权限,true-有权限</param>
        /// <returns></returns>
        public long m_lngGetPublic(string strID, out bool isPublic)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngGetPublic(p_objPrincipal, strID, out isPublic);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 8
0
        /// <summary>
        /// 修改协定处方
        /// </summary>
        public long m_lngConcertreModify(object[] ModifiyRow, DataTable Deptbt)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngConcertreModify(p_objPrincipal, ModifiyRow, Deptbt);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 9
0
        /// <summary>
        /// 修改处方明细
        /// </summary>
        /// <param name="strID">处方ID</param>
        /// <param name="dtRow">新的明细数据</param>
        /// <param name="oldITEMID">旧的明细项目ID,如= null修改单条记录,!=NULL所有修改处方名细中相同项目的数据</param>
        /// <param name="blIsPublic">是否有公用权限</param>
        /// <param name="CREATERID">创建人</param>
        /// <returns></returns>
        public long m_lngConcertreCipeDetailModifyDe(string strID, object[] dtRow, string oldITEMID, string strFLAG, bool blIsPublic, string CREATERID, int m_intSort)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngConcertreCipeDetailModifyDe(p_objPrincipal, strID, dtRow, oldITEMID, strFLAG, blIsPublic, CREATERID, m_intSort);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 10
0
        /// <summary>
        /// 删除数据
        /// </summary>
        public long m_lngDeleteConcertrecipeAndDe(object[] DeleRow, object[] DeleRowDe, string strItem, string strFlag)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngDeleteConcertrecipeAndDe(p_objPrincipal, DeleRow, DeleRowDe, strItem, strFlag);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 11
0
        /// <summary>
        /// 增加新的协处方
        /// </summary>
        public long m_lngAddNewConcertre(out string p_strRecordID, object[] bt, DataTable btDe, DataTable btDetp, string isDetp, int intFLAG)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngAddNewConcertre(p_objPrincipal, out p_strRecordID, bt, btDe, btDetp, isDetp, intFLAG);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 12
0
        /// <summary>
        /// 获取所有的用法信息
        /// </summary>
        public long m_mthFindUsage(out DataTable dtbResult)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_mthFindUsage(p_objPrincipal, out dtbResult);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 13
0
        /// <summary>
        /// 删除使用部门
        /// </summary>
        public long m_lngDeleteConcertrecipeDept(clsConcertrecipeDept_VO p_objResultArr)
        {
            long lngRes = 0;

            //p_objResultArr=new clsConcertrecipeDept_VO();
            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngDeleteConcertrecipeDept(p_objPrincipal, p_objResultArr);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 14
0
        /// <summary>
        /// 获取协定处方
        /// </summary>
        public long m_lngGetConcertreCipeByEmpID(string strID, out clsConcertrectpe_VO[] p_objResultArr)
        {
            long lngRes = 0;

            p_objResultArr = new clsConcertrectpe_VO[0];
            System.Security.Principal.IPrincipal p_objPrincipal             = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_lngGetConcertreCipeByEmpID(p_objPrincipal, strID, out p_objResultArr);
            objSvc.Dispose();
            objSvc = null;
            return(lngRes);
        }
Ejemplo n.º 15
0
        /// <summary>
        /// 查找自付比例
        /// </summary>
        public long m_longPrecent(DataTable dt, out DataTable dt1, string payType)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal = null;
            //			System.Security.Principal.IPrincipal p_objPrincipal = null;
            com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc objSvc =
                (com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsConcertreCipeSvc));
            lngRes = objSvc.m_longPrecent(p_objPrincipal, dt, out dt1, payType);
            objSvc.Dispose();
            objSvc = null;

            return(lngRes);
        }