IMedicalRecord.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using PMS.BusinessModels.SmartForm;
  2. using PMS.EntityModels.MedicalRecordManager;
  3. using PMS.EntityModels.SmartForm;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Data;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace PMS.Interface.MedicalRecordManager
  11. {
  12. public interface IMedicalRecord
  13. {
  14. bool AddCategory(int type, BLYXFL model);
  15. bool DelCategory(BLYXFL model, ref string msg);
  16. /// <summary>
  17. /// 获取分类下来树
  18. /// </summary>
  19. /// <returns></returns>
  20. List<TreeStruct> GetCategory(DTOPrototypeCassModel model);
  21. /// <summary>
  22. /// 查询原型
  23. /// </summary>
  24. /// <param name="id"></param>
  25. /// <returns></returns>
  26. DataTable PrototypeRecordSelect(DTOPrototypeRecordModel model, out int total);
  27. /// <summary>
  28. /// 查询单个记录
  29. /// </summary>
  30. /// <param name="ID"></param>
  31. /// <returns></returns>
  32. DataTable PrototypeIndividualRecord(string ID);
  33. /// <summary>
  34. /// 更新记录状态
  35. /// </summary>
  36. /// <param name="type">1状态状态,2审核操作</param>
  37. /// <param name="id"></param>
  38. /// <param name="state"></param>
  39. /// <returns></returns>
  40. bool UpdateSate(int type, string id, int state,string SHR, string SHRID);
  41. /// <summary>
  42. /// 获取过程记录
  43. /// </summary>
  44. /// <param name="ID"></param>
  45. /// <returns></returns>
  46. DataTable GetProcessRecords(string ID);
  47. /// <summary>
  48. /// 新增
  49. /// </summary>
  50. /// <param name="model"></param>
  51. /// <returns></returns>
  52. bool AddProcessRecords(DTOProcessRecordsModel model);
  53. }
  54. }