/// <summary> /// 根据各条件组合查询得到样本列表 /// 刘彬 2004.05.10 /// </summary> /// <param name="p_intDevice"> /// 0: 手工和仪器 /// 1:仪器 /// 2:手工 /// </param> /// <param name="p_strDeviceID">可为空</param> /// <param name="p_intAuditing"> /// 0:已审核和未审核 /// 1:未审核 /// 2:已审核 /// </param> /// <param name="p_strCheckDate_Begin">可为空</param> /// <param name="p_strCheckDate_End">可为空</param> /// <param name="p_dtbSampleList">承载结果数据 /// sample_id_chr /// barcode_vchr /// groupid_chr /// check_date_dat /// status_int /// application_form_no_chr /// patient_name_vchr /// sex_chr /// age_chr /// diagnose_vchr /// appl_empid_chr /// appl_deptid_chr /// </param> /// <returns>>0 时有效</returns> // public long m_lngGetSampleList(int p_intDevice,string p_strDeviceID,int p_intAuditing, string p_strCheckDate_Begin, string p_strCheckDate_End,out DataTable p_dtbSampleList) // { // long lngRes = 0; // p_dtbSampleList = null; // com.digitalwave.iCare.middletier.LIS.clsSampleSvc objSvc = // (com.digitalwave.iCare.middletier.LIS.clsSampleSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.LIS.clsSampleSvc)); // lngRes = objSvc.m_lngGetSampleList(objPrincipal, p_intDevice, p_strDeviceID, p_intAuditing, p_strCheckDate_Begin, p_strCheckDate_End,out p_dtbSampleList); //// objSvc.Dispose(); // return lngRes; // } #endregion #endregion #region 查找病区 /// <summary> /// 查找病区 根据输入字符串 /// </summary> /// <param name="strCode">输入字符串</param> /// <param name="p_objResultArr">病区对象 [out 参数]</param> public long m_lngFindArea(string strCode, out clsBIHArea[] p_objResultArr) { long lngRes = 0; com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService objSampleSvc = (com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService)); lngRes = objSampleSvc.m_lngFindArea(strCode, out p_objResultArr); // objSampleSvc.Dispose(); return(lngRes); }
/// <summary> /// 查询病区 [数组] /// </summary> /// <param name="p_strFindString">查询字符串</param> /// <param name="p_objResultArr">病区对象 [数组] [out参数]</param> /// <returns></returns> public long m_lngFindArea(string p_strFindString, out clsBIHArea[] p_objResultArr) { long lngRes = 0; com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService objSvc = (com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService)clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService)); lngRes = objSvc.m_lngFindArea(p_strFindString, out p_objResultArr); objSvc.Dispose(); objSvc = null; return(lngRes); }
private void m_txtTARGETAREAID_CHR_m_evtFindItem(object sender, string strFindCode, System.Windows.Forms.ListView lvwList) { clsBIHArea[] arrArea; com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService objTem = new com.digitalwave.iCare.middletier.BIHOrderServer.clsBIHOrderService(); long ret = objTem.m_lngFindArea(strFindCode, out arrArea); if ((ret > 0) && (arrArea != null)) { for (int i = 0; i < arrArea.Length; i++) { ListViewItem lvi = lvwList.Items.Add(arrArea[i].m_strAreaName); lvi.Tag = arrArea[i].m_strAreaID; } } }