Ejemplo n.º 1
0
        /// <summary>
        /// 返回仪器数据	xing.chen添加注释
        /// </summary>
        /// <param name="p_strDeviceID">仪器id</param>
        /// <param name="p_strDeviceSampleID">仪器样本id</param>
        /// <param name="p_strCheckDate">仪器检验日期</param>
        /// <param name="p_intBeginIndex"></param>
        /// <param name="p_intEndIndex"></param>
        /// <param name="p_objDeviceResultList">仪器数据(out VO)</param>
        public void m_mthGetDeviceData(string p_strDeviceID, string p_strDeviceSampleID, string p_strCheckDate,
                                       int p_intBeginIndex, int p_intEndIndex, out clsDeviceReslutVO[] p_objDeviceResultList)
        {
            System.Security.Principal.IPrincipal objPrincipal = null;
            p_objDeviceResultList = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc = (clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));

            long lngRes = objSvc.m_lngGetDeviceData(objPrincipal, p_strDeviceID, p_strDeviceSampleID, p_strCheckDate,
                                                    p_intBeginIndex, p_intEndIndex, out p_objDeviceResultList);
        }
Ejemplo n.º 2
0
        public long m_lngGetDeviceSampleListByCondition(string p_strImpReq, string p_strDeviceID, out clsResultLogVO[] p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetDeviceSampleListByCondition(objPrincipal, p_strImpReq, p_strDeviceID, out p_objResultArr);
//			objSvc.Dispose();

            return(lngRes);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 以自动绑定方式,根据指定的仪器编号 查询绑定 刘彬 2004.06.10
        /// </summary>
        /// <param name="p_strDeviceID"></param>
        /// <param name="p_objResultLogVO">以此到仪器结果表提取数据</param>
        /// <returns>
        /// 小于 0 : 查询失败;
        /// 100: 无可绑定的仪器样本;
        /// 300: 可绑定的仪器样本号存在且未绑定,但无历史记录
        /// 其它: 成功返回
        /// </returns>
        public long m_lngQueryBindByAutoBind(string p_strDeviceID, out clsResultLogVO p_objResultLogVO)
        {
            long lngRes = 0;

            p_objResultLogVO = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngQueryBindByAutoBind(objPrincipal, p_strDeviceID, out p_objResultLogVO);
            //			objSvc.Dispose();
            return(lngRes);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 根据report_group_id和application_id_chr查询报告的结果记录
        /// </summary>
        /// <param name="strApplicationID">申请单ID</param>
        /// <param name="strReportGroupID">报告组ID</param>
        /// <param name="blnConfirmed">是否审核</param>
        /// <param name="dtbCheckResult">返回结果信息</param>
        /// <returns></returns>
        public long m_lngGetCheckResultByReportGroupIDAndApplicationID(string p_strApplicationID, string p_strReportGroupID, bool p_blnConfirmed, out DataTable p_dtbCheckResult)
        {
            long lngRes = 0;

            p_dtbCheckResult = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetCheckResultByReportGroupIDAndApplicationID(objPrincipal, p_strApplicationID, p_strReportGroupID, p_blnConfirmed, out p_dtbCheckResult);
            //			objSvc.Dispose();
            return(lngRes);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// 查询得到  CheckResultTable 刘彬 2004.06.04
        /// </summary>
        /// <param name="p_objPrincipal"></param>
        /// <param name="p_strAppID"></param>
        /// <param name="p_strReportID"></param>
        /// <param name="p_strGroupID"></param>
        /// <param name="p_blnRealResult"></param>
        /// <param name="p_dtbResultList"></param>
        /// <returns></returns>
        public long m_lngGetCheckResultTable(string p_strAppID, string p_strOringinDate, bool p_blnRealResult, out DataTable p_dtbResultList)
        {
            long lngRes = 0;

            p_dtbResultList = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetCheckResultTable(objPrincipal, p_strAppID, p_strOringinDate, p_blnRealResult, out p_dtbResultList);
            //			objSvc.Dispose();
            return(lngRes);
        }
Ejemplo n.º 6
0
        public long m_lngGetLisBatchReportDetailByCondition(clsLisBatchReportList_VO[] p_objReportList, out clsLisBatchReportDetail_VO[] p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetLisBatchReportDetailByCondition(objPrincipal, p_objReportList, out p_objResultArr);
//			objSvc.Dispose();

            return(lngRes);
        }
Ejemplo n.º 7
0
        /// <summary>
        /// 根据申请号得到对应样本的仪器关联
        /// </summary>
        /// <param name="p_strAppID"></param>
        /// <param name="p_objDRVOArr"></param>
        /// <returns></returns>
        public long m_lngGetDeviceRelationByAppID(
            string p_strAppID, out clsT_LIS_DeviceRelationVO[] p_objDRVOArr)
        {
            long lngRes = 0;

            p_objDRVOArr = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetDeviceRelationByAppID(objPrincipal, p_strAppID, out p_objDRVOArr);
            //			objSvc.Dispose();
            return(lngRes);
        }
Ejemplo n.º 8
0
        public long m_lngGetBatchReportDataByCondition(string p_strFromSampleID, string p_strToSampleID, string p_strFromConfirmDat,
                                                       string p_strToConfirmDat, string p_strReportGroupID, out clsLisBatchReport_VO[] p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetBatchReportDataByCondition(objPrincipal, p_strFromSampleID, p_strToSampleID, p_strFromConfirmDat, p_strToConfirmDat,
                                                               p_strReportGroupID, out p_objResultArr);
//			objSvc.Dispose();

            return(lngRes);
        }
Ejemplo n.º 9
0
        /// <summary>
        /// 根据SampleID,GroupID(基本检验组)查询结果项
        /// </summary>
        /// <param name="p_strGroupID"></param>
        /// <param name="p_strSmapleID"></param>
        /// <param name="p_dtbPrintResult">
        /// modify_dat
        /// groupid_chr
        /// check_item_id_chr
        /// sample_id_chr
        /// result_vchr
        /// unit_vchr
        /// device_check_item_name_vchr
        /// refrange_vchr
        /// check_item_name_vchr
        /// check_item_english_name_vchr
        /// min_val_dec
        /// max_val_dec
        /// abnormal_flag_chr
        /// check_dat
        /// clinicapp_vchr
        /// memo_vchr
        /// confirm_dat
        /// deviceid_chr
        /// pointliststr_vchr
        /// summary_vchr
        /// graph_img
        /// status_int
        /// checker1_chr
        /// checker2_chr
        /// confirm_person_chr
        /// operator_id_chr
        /// check_deptid_chr
        /// print_ord_int
        /// </param>
        /// <returns></returns>
        public long m_lngGetPrintResult(string p_strSampleID, string p_strGroupID, out System.Data.DataTable p_dtbPrintResult)
        {
            long lngRes = 0;

            p_dtbPrintResult = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objResultSvc = null;
            //objResultSvc=new com.digitalwave.iCare.middletier.LIS.clsCheckResultSvc();
            com.digitalwave.iCare.middletier.LIS.clsCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsCheckResultSvc));

            lngRes = objResultSvc.m_lngGetPrintResult(objPrincipal, p_strGroupID, p_strSampleID, out p_dtbPrintResult);
            //objResultSvc.Dispose();
            return(lngRes);
        }
Ejemplo n.º 10
0
        public long m_lngGetDeviceData(string p_strDeviceID, string p_strDeviceSampleID, string p_strCheckDate, int p_intBeginIndex, int p_intEndIndex,
                                       out clsDeviceReslutVO[] p_objDeviceResultList)
        {
            long lngRes = 0;

            p_objDeviceResultList = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetDeviceData(objPrincipal,
                                               p_strDeviceID, p_strDeviceSampleID, p_strCheckDate, p_intBeginIndex, p_intEndIndex,
                                               out p_objDeviceResultList);
//			objSvc.Dispose();
            return(lngRes);
        }
Ejemplo n.º 11
0
        /// <summary>
        /// 以指定编号方式,根据指定的仪器编号,检验日期(trunc),和仪器样本编号查询绑定和提取数据
        /// </summary>
        /// <param name="p_strDeviceID"></param>
        /// <param name="p_strDeviceSampleID"></param>
        /// <param name="p_strCheckDate"></param>
        /// <param name="p_objResultArr"></param>
        /// <returns>
        /// 小于 0 : 查询失败;
        /// 100: 无可绑定的仪器样本;
        /// 300: 指定的仪器样本号存在,但无历史记录;
        /// 350: 指定的仪器样本已被作废;
        /// 400:指定的仪器样本无原始数据;
        /// 其它: 成功返回
        /// </returns>
        public long m_lngQueryBindAndGetDeviceDataByAppointment(
            string p_strDeviceID, string p_strDeviceSampleID, string p_strCheckDate,
            out clsDeviceReslutVO[] p_objResultArr)
        {
            long lngRes = 0;

            p_objResultArr = null;
            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngQueryBindAndGetDeviceDataByAppointment(
                objPrincipal, p_strDeviceID, p_strDeviceSampleID, p_strCheckDate, out p_objResultArr);
            //			objSvc.Dispose();
            return(lngRes);
        }
Ejemplo n.º 12
0
        /// <summary>
        /// 查询得到  CheckResultVO
        /// </summary>
        /// <param name="p_objPrincipal"></param>
        /// <param name="p_strSampleID"></param>
        /// <param name="p_strCheckItemID"></param>
        /// <param name="p_objResultVO"></param>
        /// <returns></returns>

        public long m_lngGetCheckResultVO(string p_strSampleID,
                                          string p_strCheckItemID, out clsCheckResult_VO p_objResultVO)
        {
            long lngRes = 0;

            p_objResultVO = null;

            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetCheckResultVO(
                objPrincipal, p_strSampleID, p_strCheckItemID, out p_objResultVO);
            //			objSvc.Dispose();

            return(lngRes);
        }
Ejemplo n.º 13
0
        /// <summary>
        /// 根据report_group_id和application_id_chr查询报告单相关信息
        /// </summary>
        /// <param name="p_strReportGroupID">报告组ID</param>
        /// <param name="p_strApplID">申请单ID</param>
        /// <param name="p_blnConfirmed">是否审核</param>
        /// <param name="p_dtbReportInfo">返回报告单相关信息</param>
        /// <returns></returns>
        public long m_lngGetReportPrintInfo(string p_strReportGroupID, string p_strApplID, bool p_blnConfirmed, out clsPrintValuePara p_objPrintContent)
        {
            p_objPrintContent = null;
            long      lngRes         = 0;
            DataTable dtbReportInfo  = null;
            DataTable dtbCheckResult = null;

            com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQueryCheckResultSvc));
            lngRes = objSvc.m_lngGetReportInfoByReportGroupIDAndApplicationID(objPrincipal, p_strReportGroupID, p_strApplID, p_blnConfirmed, out dtbReportInfo);
            if (lngRes > 0)
            {
                lngRes = 0;
                lngRes = objSvc.m_lngGetCheckResultByReportGroupIDAndApplicationID(objPrincipal, p_strApplID, p_strReportGroupID, p_blnConfirmed, out dtbCheckResult);
            }
            if (lngRes > 0)
            {
                p_objPrintContent = new clsPrintValuePara();
                p_objPrintContent.m_dtbBaseInfo = dtbReportInfo;
                p_objPrintContent.m_dtbResult   = dtbCheckResult;
            }
//			objSvc.Dispose();
            return(lngRes);
        }