/// <summary> /// 根据病人ID获得病人的费用明细 /// </summary> /// <param name="id"></param> /// <param name="IsConfird"></param> /// <param name="deptid"></param> /// <param name="docid"></param> /// <returns></returns> public override DataTable FindDetails(string id, bool IsConfird, int deptid, int docid) { string strWhere = Tables.zy_patlist.CURENO + oleDb.EuqalTo() + "'" + id + "'"; HIS.Model.ZY_PatList zypat = BindEntity <HIS.Model.ZY_PatList> .CreateInstanceDAL(oleDb).GetModel(strWhere); if (zypat == null) { return(null); } List <HIS.Model.ZY_PatList> plist = new List <HIS.Model.ZY_PatList>(); plist.Add(zypat); return(ZyGetFee.GetZyItems(plist, IsConfird, deptid, docid)); }
/// <summary> /// 通过病人ID获得病人的项目明细 /// </summary> /// <param name="patlistid"></param> /// <param name="IsConfird">false=没有确费的 true=已经确费的</param> /// <returns></returns> public override DataTable GetItemDetails(bool IsConfird, int deptid, int docid) { return(ZyGetFee.GetZyItems(zyPlist, IsConfird, deptid, docid)); }
/// <summary> /// 通过项目名称得到门诊病人和住院病人做这些项目的明细 /// </summary> /// <param name="itemname"></param> /// <param name="dtMz"></param> /// <param name="dtZy"></param> public static void GetDetailFee(string itemname, out DataTable dtMz, out DataTable dtZy) { dtMz = MzGetFee.GetMzFees(itemname); dtZy = ZyGetFee.GetZyFees(itemname); }