// 收费项目用法 #region 查询收费项目用法 created by Cameron Wong on Aug 12, 2004 /// <summary> /// 查询收费项目用法 /// </summary> /// <param name="p_objResultArr"></param> /// <returns></returns> public long m_lngFindUsageTypeList(out clsUsageType_VO[] p_objResultArr) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngFindUsageTypeList(objPrincipal, out p_objResultArr); objSvc.Dispose(); return(lngRes); }
public long m_mthDoAddNewChargeItem(clsChargeItem_VO p_objResultArr, out string strID) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDoAddNewChargeItem(objPrincipal, p_objResultArr, out strID); objSvc.Dispose(); return(lngRes); }
public long m_GetEXType(string strFlag, out clsChargeItemEXType_VO[] objResult) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngFindChargeItemEXTypeListByFlag(objPrincipal, strFlag, out objResult); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 获取用药频率 /// </summary> /// <param name="m_strFindText"></param> /// <param name="dt"></param> /// <returns></returns> public long m_mthFindRecipeFreq(string m_strFindText, out DataTable dt) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthFindRecipeFreq(objPrincipal, m_strFindText, out dt); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 获取执行医嘱分类名称 /// </summary> /// <param name="p_objResultdt"></param> /// <returns></returns> public long m_lngGetAllBihCate(out DataTable p_objResultdt) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngGetAllBihCate(objPrincipal, out p_objResultdt); objSvc.Dispose(); return(lngRes); }
public long m_lngFindItemNoUsageGroup(string strCatID, string strUsageID, out DataTable p_objResultArr) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_GetItemNoUsageGroup(objPrincipal, strCatID, strUsageID, out p_objResultArr); objSvc.Dispose(); return(lngRes); }
public long m_mthLoadCheckType(out DataTable dt, string strEx) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthLoadCheckType(out dt, strEx); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 获取医嘱类型 /// </summary> /// <param name="m_objTable"></param> /// <returns></returns> public long m_mthSelectOrderCate(out DataTable m_objTable) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthSelectOrderCate(objPrincipal, out m_objTable); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 删除关联项目 /// </summary> /// <param name="itemID"></param> /// <param name="sumItemID"></param> /// <returns></returns> public long m_lngDeleteSunItem(string itemID, string sumItemID, bool isDeleAll) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDeleteSunItem(null, itemID, sumItemID, isDeleAll); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 获取已经关联的项目 /// </summary> /// <param name="itemID"></param> /// <param name="dt"></param> /// <returns></returns> public long m_getSUBCHARGEITEM(string itemID, out DataTable dt) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_getSUBCHARGEITEM(null, itemID, out dt); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 保存数据 /// </summary> /// <param name="itemID"></param> /// <param name="dt"></param> /// <returns></returns> public long m_lngSaveSunItem(string itemID, DataTable dt, DataTable updt) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngSaveSunItem(null, itemID, dt, updt); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 将收费项目同步到诊疗项目 /// </summary> /// <param name="m_objData"></param> /// <returns></returns> public long m_mthChargeItemSynOrderDic(clsChargeItemSynToOrderDic[] m_objDataArr) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthChargeItemSynOrderDic(objPrincipal, m_objDataArr); objSvc.Dispose(); return(lngRes); }
public long m_mthItemIsUsed(string strCode, string strItemID) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthItemIsUsed(strCode, strItemID); objSvc.Dispose(); return(lngRes); }
public long m_mthChangeCat(string strID, string strType) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthChangeCat(objPrincipal, strID, strType); objSvc.Dispose(); return(lngRes); }
/// <summary> ///新增中药用法带出的项目 /// </summary> /// <param name="p_strRecordID">流水号</param> /// <param name="p_objResultArr"></param> /// <returns></returns> public long m_lngDoAddNewChargeItemCMUsageGroup(out string p_strRecordID, clsChargeItemUsageGroup_VO p_objResultArr) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDoAddNewChargeItemCMUsageGroup(objPrincipal, out p_strRecordID, p_objResultArr); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 查询收费项目 /// </summary> /// <param name="p_strFindString"></param> /// <param name="p_dtResult"></param> /// <returns></returns> public long m_mthFindMedicineByID(out DataTable p_dtResult, string strFindfild, string strFind) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthFindMedicineByID(out p_dtResult, null, strFindfild, strFind); objSvc.Dispose(); return(lngRes); }
public long m_lngDelCMUsageGroupByID(clsChargeItemUsageGroup_VO p_objResultArr) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDelCMUsageGroupByID(objPrincipal, p_objResultArr); objSvc.Dispose(); return(lngRes); }
//收费项目 #region 新增收费项目 public long m_mthInsertCASEHISCHR(string GroupID, string strCatID, string strName) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthInsertCASEHISCHR(objPrincipal, GroupID, strCatID, strName); objSvc.Dispose(); return(lngRes); }
public long m_lngDoUpdCatByID(clsCharegeItemCat_VO p_objResultArr, string ID) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDoUpdChargeItemCatByID(objPrincipal, p_objResultArr, ID); objSvc.Dispose(); return(lngRes); }
//收费项目分类类型 #region 新增收费项目分类类型 public long m_lngAddCat(clsCharegeItemCat_VO objResult) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDoAddNewChargeItemCat(objPrincipal, objResult); objSvc.Dispose(); return(lngRes); }
public long m_mthFindChargeItem1(string strCatID, string strType, string strContent, out DataTable dt) { dt = null; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); long lngRes = objSvc.m_mthFindChargeItem1(objPrincipal, strCatID, strType, strContent, out dt); objSvc.Dispose(); return(lngRes); }
public long m_mthGetCASEHISCHR(string strID, out DataTable dt) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_mthGetCASEHISCHR(objPrincipal, strID, out dt); objSvc.Dispose(); return(lngRes); }
public long m_lngDel(string ID) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDelCharegeItem(objPrincipal, ID); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 新增收费项目用法 /// </summary> /// <param name="strCode"></param> /// <param name="strName"></param> /// <param name="strID"></param> /// <returns></returns> public long m_lngAddUsageType(string strCode, string strName, out string strID) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDoAddNewUsageType(objPrincipal, strCode, strName, out strID); objSvc.Dispose(); return(lngRes); }
public long m_GetAllSour(string SourType, ref DataTable dtResult) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngFindAllSour(objPrincipal, SourType, ref dtResult); objSvc.Dispose(); return(lngRes); }
public long m_lngGetData(string SQLstr, out DataTable dt) { dt = null; long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngGetData(objPrincipal, SQLstr, out dt); objSvc.Dispose(); return(lngRes); }
/// <summary> /// 新增与删除单据 /// </summary> /// <param name="strID"></param> /// <returns></returns> public long m_lngDoUpdUsageorderid_vchrByIDAndTypeId(int p_intTypeindex, string p_strUsageID, string p_strGroupID, bool p_blnAdd) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngDoUpdUsageorderid_vchrByIDAndTypeId(objPrincipal, p_intTypeindex, p_strUsageID, p_strGroupID, p_blnAdd); objSvc.Dispose(); return(lngRes); }
public long m_GetSourName(string strID, string SourType, out string strName) { long lngRes = 0; strName = ""; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_lngFindSour(objPrincipal, strID, SourType, out strName); objSvc.Dispose(); return(lngRes); }
public long m_lngGetUsageByCode(string strCode, out clsUsageType_VO[] objResult) { long lngRes = 0; objResult = new clsUsageType_VO[0]; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); lngRes = objSvc.m_GetUsage(objPrincipal, out objResult, strCode); objSvc.Dispose(); return(lngRes); }
public long m_lngUpdateOrderDicByChargeItemId(clsChargeItem_VO clsVO) { long lngRes = 0; com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsChargeItemSvc)); string strSetStatus = "0"; lngRes = objSvc.GetSysSetting(objPrincipal, "1031", out strSetStatus); if (lngRes > 0 && strSetStatus == "1") { lngRes = objSvc.m_lngUpdateOrderDicByChargeItemId(objPrincipal, clsVO); } objSvc.Dispose(); return(lngRes); }