Пример #1
0
        /// <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.mz_patlist.VISITNO + oleDb.EuqalTo() + "'" + id + "'";

            HIS.Model.MZ_PatList mzpat = BindEntity <HIS.Model.MZ_PatList> .CreateInstanceDAL(oleDb).GetModel(strWhere);

            if (mzpat == null)
            {
                return(null);
            }
            List <HIS.Model.MZ_PatList> mzplist = new List <HIS.Model.MZ_PatList>();

            mzplist.Add(mzpat);
            return(MzGetFee.GetMzItems(mzplist, IsConfird, deptid, docid));
        }
Пример #2
0
 /// <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(MzGetFee.GetMzItems(mzPlist, IsConfird, deptid, docid));
 }
Пример #3
0
 /// <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);
 }