using System; using System.Collections.Generic; using System.Linq; using System.Text; using SOH.Data; using SOH.Entities.DTO; using SOH.Entities; using System.Data; namespace SOH.BLL { public interface IJianYan { /// /// 通过条码获取检验项目 /// /// 检验条码 /// List getjyxmbytm(string tm, string yqbm); /// /// 获取检验yhxx /// /// /// jy_yhxx getjyyhxxbytm(string tm); /// /// 通过检验条码获取工作表 /// /// /// dto_gzb getGzbByJytmh(string jytm); /// /// 获取LIS检验大类 /// /// List getjydl(); void jycalcsample(string yq, DateTime rq, string sampleno); DataTable hyjglrjsgs(DataTable jglrList); /// /// 获取检验仪器 /// /// List getYQ(); /// /// 获取抽血数据 /// /// 抽血日期 /// string getCXTJ(DateTime cxrq); /// /// 标本号可不可以修改 /// /// /// /// /// bool jycanmodify(string yq, DateTime rq, int sampleno); /// /// 标本号可不可以修改 /// /// 仪器编号 /// 日期 /// 检验条码 /// bool jycanmodifybytm(string yq, DateTime rq, string sampleno); //jycanmodifybytm /// /// 获取仪器指定日期的标本项目 /// /// 检验日期 /// 仪器编码 /// string getyiqijyxm(DateTime jyrq, string yqbh); /// /// 根据检验条码获取组合项目 /// /// /// List getzhxmsbyjytm(string jytm); /// /// 添加检验结果 /// /// /// /// /// /// /// int jyaddresult(DateTime sampledate, string yq, string sampleno, string itemno, string srcresult); void jyupdateresult(DateTime sampledate, string yq, int sampleno, string jg, string xm); /// /// 根据组合编码获取组合明细 /// /// 组合编码 /// 检验项目 List getjyxmbyzhxm(int zhbm); /// /// 抽血登记 /// /// 打印条码 /// 抽血操作员 /// OperationResult cxdj(string dytm, string cxczy); /// /// 获取仪器的检验项目 /// /// 仪器编码 /// List getyiqixmbyyqbm(string yqbm); /// /// 获取最大的标本号 /// /// 检验日期 /// 仪器编号 /// int getMaxBBH(DateTime jyrq, string yqbm); /// /// 通过检验条码获取检验用户信息 /// /// /// jy_yhxx getyhxxbyjytm(string text); /// /// 通过标本检验用户信息 /// /// /// /// /// jy_yhxx getyhxxbyyqrqbh(string selectedValue, DateTime value, int bbh); /// /// 通过条码号获取申请单信息 /// /// /// jy_sqd getsqdbyjytm(string text); OperationResult shenhe(String listm, String yqh, string xm, string username, short yydm); OperationResult shenhe2(String listm, String yqh, string xm, string username, short yydm); #region LIS仪器相关接口 /// /// 注册LIS仪器 /// /// 仪器编码 /// 电脑名称 /// 仪器名称 /// 仪器型号 /// 仪器类别 /// OperationResult regJYYQ(string yqbm, string dnmc, string yqmc, string yqxh, int yqlb); /// /// 根据电脑名称获取当前电脑绑定的仪器 /// /// 电脑名称 /// List getYQbyDNMC(string dnmc); /// /// 注册LIS仪器 /// /// 检验仪器实体 /// OperationResult regJYRQEntity(jy_yiqi jyyq); /// /// LIS登记 /// /// /// OperationResult regyhxx(jy_yhxx yhxx); /// /// 通过编码获取检验仪器 /// /// 仪器编码 /// jy_yiqi getJYYQ(string yqbm); /// /// 添加仪器项目 /// /// void addyiqixm(jy_yiqi_xm xm); /// /// 添加仪器计算项目 /// /// void addyiqixmcalc(jy_yiqi_xm_calc jsxm); /// /// 获取条码的检验项目 /// /// 条码号 /// string getjyxm(string yh, DateTime jyrq, string bbh); /// /// 注销仪器 /// /// /// OperationResult yiqizhuxiao(string yq); /// /// 获取用户信息 /// /// 仪器编号 /// 检验日期 /// List getjyyhxx(string yqbh, DateTime jyrq); /// /// 注册仪器项目 /// /// /// OperationResult regyqxm(jy_yiqi_xm xm); /// /// 注册仪器计算项目 /// /// /// OperationResult regyqjsxm(jy_yiqi_xm_calc xm); OperationResult deleteJyxm(int id); /// /// 删除用户信息 /// /// 仪器编码 /// 检验日期 /// 标本号 /// OperationResult delyhxx(string yqbm, DateTime jyrq, string bbh); /// /// 获取检验申请单项目明细 /// /// 检验条码 /// List hqsqdmx(string jytm); #endregion DataTable hqjcxm(string zhbm); OperationResult qcobject(QC_Object qco); List getQCObject(string yqbh); List hqqcItems(string yqbh, int qcoid); OperationResult deleteQCObject(QC_Object qco, string czy); void qcItemUpdate(int xmbm, string yq, int qcoid, int qybj, string bzVar, string sdVar); DataTable hqqcvalues(string strrq, string endrq, QC_Items qcitems); void qcValueUpdate(int id, string jg, Double SD); OperationResult insertQcValue(string rq, string time, QC_Items qcitems); OperationResult deleteQcvalue(int id); List getAllYQ(); jy_yhxx getjyyhxxbybbh(int bbh, string querytime, string yqbm); } }