Пример #1
0
 public dr_visit CreateVisit(dr_visit info, out string error)
 {
     error = string.Empty;
     try
     {
         dr_visit_DA da = new dr_visit_DA();
         da.CreateVisit(info,out error);
         return info;
     }
     catch (Exception ex)
     {
         error += Share.BaseTool.FormatExceptionMessage(ex);
         return null;
     }
 }
Пример #2
0
 public List<dr_pre_visit> SearchPreVisitList(int drid, int visit_id, int patient_id, DateTime? pre_date1, DateTime? pre_date2,
     string pre_time, int pre_type, DateTime? createtime1, DateTime? createtime2, int status, DateTime? visit_date1, DateTime? visit_date2,
     orderbyEnum? orderby, string orderbyCol, int pageIndex, int pageSize, out string error)
 {
     error = string.Empty;
     try
     {
         dr_visit_DA da = new dr_visit_DA();
         var resultList = da.SearchPreVisitList(drid ,visit_id, patient_id, pre_date1, pre_date2,
                              pre_time, pre_type, createtime1, createtime2, status , visit_date1, visit_date2,
                               orderby, orderbyCol, pageIndex, pageSize, out  error);
         return resultList;
     }
     catch (Exception ex)
     {
         error += BaseTool.FormatExceptionMessage(ex);
         return null;
     }
 }
Пример #3
0
 public List<dr_pre_visit> GetPreVisitListByVisitID(int visitID)
 {
     dr_visit_DA da = new dr_visit_DA();
     var resultList = da.GetPreVisitListByVisitID(visitID);
     return resultList;
 }