/// <summary> /// 通过病人ID获得病人的项目明细 /// </summary> /// <param name="patlistid"></param> /// <param name="IsConfird">false=没有确费的 true=已经确费的</param> /// <returns></returns> public DataTable GetItemDetails(bool IsConfird) { ConfirCenter center = ConfirFactory.GetConfirType(type); center.zyPlist = zyPlist; center.mzPlist = mzPlist; return(center.GetItemDetails(IsConfird, deptId, docId)); }
public static ConfirCenter GetConfirType(ConfirType Confirtype) { switch (Confirtype) { case ConfirType.门诊: ConfirCenter = new MzConfir(); break; case ConfirType.住院: ConfirCenter = new ZyConfir(); break; default: return(null); } return(ConfirCenter); }