public patient_recipelist_druguse Add(patient_recipelist_druguse info, out string error) { error = string.Empty; try { patient_recipelist_DA recipeDa = new patient_recipelist_DA(); recipeDa.Add(info, out error); return info; } catch (Exception ex) { error = Share.BaseTool.FormatExceptionMessage(ex); return null; } }
public bool CreateReciptList(patient_recipelist info, List<patient_recipelist_druguse> drugList, out string error) { error = string.Empty; try { patient_recipelist_DA recipeDa = new patient_recipelist_DA(); bool success = recipeDa.CreateReciptList(info, drugList, out error); return success; } catch (Exception ex) { error = Share.BaseTool.FormatExceptionMessage(ex); return false; } }
public List<patient_recipelist> SearchReciptList(int drid, int medical_rcd_id, int hospital_id, int patient_id, string cust_name, DateTime? issue_time1, DateTime? issue_time2, DateTime? createtime1, DateTime? createtime2, string check_result, int fileid, orderbyEnum? orderby, string orderbyCol, int pageIndex, int pageSize, out string error) { error = string.Empty; try { patient_recipelist_DA recipeDa = new patient_recipelist_DA(); var resultList = recipeDa.SearchReciptList(drid,medical_rcd_id, hospital_id, patient_id, cust_name, issue_time1, issue_time2, createtime1, createtime2, check_result, fileid, orderby, orderbyCol, pageIndex, pageSize, out error); return resultList; } catch (Exception ex) { error += BaseTool.FormatExceptionMessage(ex); return null; } }
public List<patient_recipelist_druguse> GetRecipeDrugListByReciptID(int reciptID) { patient_recipelist_DA recipeDa = new patient_recipelist_DA(); return recipeDa.GetRecipeDrugListByReciptID(reciptID); }