Beispiel #1
0
 /// <summary>
 /// 根据条件查询已采集,但未接收的标本信息
 /// </summary>
 /// <param name="p_strDatFrom"></param>
 /// <param name="p_strDatTo"></param>
 /// <param name="p_strSampleType"></param>
 /// <param name="p_strAcceptEmp"></param>
 /// <param name="p_strPatientName"></param>
 /// <param name="p_strPatientCardID"></param>
 /// <param name="p_strBarCode"></param>
 /// <param name="p_strCheckCategory"></param>
 /// <param name="p_objResultArr"></param>
 /// <returns></returns>
 public long m_lngGetUnReceivedSampleByCondition(string p_strDatFrom, string p_strDatTo, string p_strSampleType,
                                                 string p_strAcceptEmp, string p_strPatientName, string p_strPatientCardID, string p_strBarCode, string p_strCheckCategory, string p_strSendPeopleID, string p_strInPatientNum, out clsSampleUnReceive_VO[] p_objResultArr)
 {
     com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
         (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
     return(objSvc.m_lngGetUnReceivedSampleByCondition(objPrincipal, p_strDatFrom, p_strDatTo, p_strSampleType, p_strAcceptEmp, p_strPatientName, p_strPatientCardID, p_strBarCode, p_strCheckCategory, p_strSendPeopleID, p_strInPatientNum, out p_objResultArr));
 }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="strSampleID">当前样本的ID号</param>
        /// <param name="strApplFormNo">当前样本所属的申请单号</param>
        /// <param name="strApplID">当前样本所属的申请单ID号</param>
        /// <param name="strSampleStatus">当前样本的状态</param>
        /// <param name="strSetApplDetailStatus">设置t_opr_lis_application_detail的状态</param>
        /// <returns></returns>
        public long m_lngSetApplDetailSatausBySampleSataus(string strSampleID, string strApplFormNo, string strApplID, string strSampleStatus, string strSetApplDetailStatus)
        {
            long      lngRes         = 0;
            DataTable dtbGroupSample = null;

            System.Security.Principal.IPrincipal p_objPrincipal = null;
            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSampleSvc = (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSampleSvc.m_lngGetSampleStatusByGroup(p_objPrincipal, strSampleID, strApplFormNo, out dtbGroupSample);
            int count = dtbGroupSample.Rows.Count;

            if (count > 0)
            {
                bool bolRecepted = true;
                for (int i = 0; i < count; i++)
                {
                    string strStatus = dtbGroupSample.Rows[i]["status_int"].ToString().Trim();
                    if (strStatus != strSampleStatus)
                    {
                        bolRecepted = false;
                    }
                }
                if (bolRecepted)
                {
                    this.m_lngSetStatusToConfirmByApplicationIDAndGroupID(dtbGroupSample.Rows[0]["groupid_chr"].ToString().Trim(), strApplID, strSetApplDetailStatus);
                }
            }
            return(lngRes);
        }
Beispiel #3
0
        //public long m_lngFindItemNameByApplicationID(string strAppID,out string strItemName)
        //{
        //    strItemName = "";
        //    long lngRes = 0;
        //    com.digitalwave.iCare.middletier.LIS.clsApplicationSvc objSvc = (com.digitalwave.iCare.middletier.LIS.clsApplicationSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsApplicationSvc));
        //    lngRes = objSvc.m_lngFindItemNameByApplicationID(this.objPrincipal,strAppID,out strItemName);
        //    return lngRes;
        //}
        #endregion

        #region         xing.chen add for 根据标本号查询标本状态
        public long m_lngFindStatusBySampleID(string strSampleID, out int intStatus)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_lngFindStatusBySampleID(this.objPrincipal, strSampleID, out intStatus);
            return(lngRes);
        }
Beispiel #4
0
        /// <summary>
        /// 根据BarCode查询待接收的样本信息
        /// </summary>
        public long m_mthGetUnReceivedSampleByBarCode(string p_strBarCode, out clsSampleReceive_VO p_objRecord)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_mthGetUnReceivedSampleByBarCode(objPrincipal, p_strBarCode, out p_objRecord);
//			objSvc.Dispose();
            return(lngRes);
        }
Beispiel #5
0
        public long m_lngGetDeviceRelationVOArrBySampleID(string p_strSampleID, out clsT_LIS_DeviceRelationVO[] p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_lngGetDeviceRelationVOArrBySampleID(objPrincipal, p_strSampleID, out p_objResultArr);
//			objSvc.Dispose();
            return(lngRes);
        }
Beispiel #6
0
        public long m_lngGetSampleVOByBarcode(string p_strBarCode, out clsT_OPR_LIS_SAMPLE_VO[] p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_lngGetSampleVOByBarcode(objPrincipal, p_strBarCode, out p_objResultArr);
            //			objSvc.Dispose();
            return(lngRes);
        }
Beispiel #7
0
        public long m_lngGetSampleTypeArr(out clsSampleType_VO[] p_objResultArr)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_lngGetSampleTypeArr(objPrincipal, out p_objResultArr);
//			objSvc.Dispose();
            return(lngRes);
        }
Beispiel #8
0
        public long m_lngGetSampleInfoByBarCode(string p_strBarCode, out DataTable p_dtbResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_lngGetSampleInfoByBarCode(objPrincipal, p_strBarCode, out p_dtbResult);
//			objSvc.Dispose();
            return(lngRes);
        }
Beispiel #9
0
        public long m_lngGetNotReceptSampleBySamplingDat(string p_strFromDat, string p_strToDat, out DataTable p_dtbResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_lngGetAllNotReceptSample(objPrincipal, p_strFromDat, p_strToDat, out p_dtbResult);
//			objSvc.Dispose();
            return(lngRes);
        }
Beispiel #10
0
        public long m_lngGetSampleInterposeByDeviceID(string p_strDeviceID, out clsLisSampleInterposeVO p_objResult)
        {
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSvc.m_lngGetSampleInterposeByDeviceID(objPrincipal, p_strDeviceID, out p_objResult);
            //			objSvc.Dispose();
            return(lngRes);
        }
Beispiel #11
0
        /// <summary>
        /// 得到所有的样本状态信息列表
        ///  刘彬 2004.05.27
        /// </summary>
        /// <param name="p_dtbSampleState">
        /// table:t_aid_lis_sample_character
        /// column:
        /// character_desc_vchr
        /// pycode_chr
        /// wbcode_chr
        /// sample_type_id_chr
        /// </param>
        /// <returns></returns>
        public long m_lngGetSampleStateList(out System.Data.DataTable p_dtbSampleState)
        {
            p_dtbSampleState = null;
            long lngRes = 0;

            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSampleSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSampleSvc.m_lngGetSampleState(objPrincipal, out p_dtbSampleState);
            //			objSampleSvc.Dispose();
            return(lngRes);
        }
Beispiel #12
0
        /// <summary>
        /// 获取所有的检型类别
        /// baojian.mo 2007.09.10
        /// </summary>
        /// <param name="p_dtbCheckCategory"></param>
        /// <returns></returns>
        public long m_lngGetCheckCategoryList(out DataTable p_dtbCheckCategory)
        {
            long lngRes = 0;

            p_dtbCheckCategory = null;
            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSampleSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            System.Security.Principal.IPrincipal objPrincipal = null;
            lngRes = objSampleSvc.m_lngGetCheckCategoryList(objPrincipal, out p_dtbCheckCategory);
            return(lngRes);
        }
Beispiel #13
0
        public long m_lngGetGroupSampleCountByApplFormNoAndGorupID(string strApplFormNo, string strGroupID, out DataTable dtbGroupSampleCount)
        {
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal = null;
            dtbGroupSampleCount = null;
            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSampleSvc = (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSampleSvc.m_lngGetAllSampleCountByApplFormNoAndGroupID(p_objPrincipal, strApplFormNo, strGroupID, out dtbGroupSampleCount);
            //			objSampleSvc.Dispose();
            return(lngRes);
        }
Beispiel #14
0
        /// <summary>
        /// 根据样品类型ID获取样品状态
        /// 刘彬 2004.05.13
        /// </summary>
        /// <param name="strSampleTypeID"></param>
        /// <param name="dtbSampleState">
        /// character_desc_vchr
        /// </param>
        /// <returns></returns>
        public long m_lngGetStateBySampleType(string p_strSampleTypeID, out System.Data.DataTable p_dtbSampleState)
        {
            p_dtbSampleState = null;
            long lngRes = 0;

            System.Security.Principal.IPrincipal p_objPrincipal = null;
            com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSampleSvc =
                (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
            lngRes = objSampleSvc.m_lngGetSampleState(p_objPrincipal, p_strSampleTypeID, out p_dtbSampleState);
            //			objSampleSvc.Dispose();
            return(lngRes);
        }
Beispiel #15
0
 /// <summary>
 /// 返回自定义组所有申请单元
 /// baojian.mo 2007.09.11 add
 /// </summary>
 /// <param name="p_strCheckCategory">自定义申请组名称</param>
 /// <param name="p_dtbDetail"></param>
 /// <returns></returns>
 public long m_lngGetAppuserGroupDetail(string p_strCheckCategory, out DataTable p_dtbDetail)
 {
     com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc objSvc =
         (com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsQuerySampleSvc));
     return(objSvc.m_lngGetAppuserGroupDetail(objPrincipal, p_strCheckCategory, out p_dtbDetail));
 }