record-api.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. (function(exports) {
  2. var recordAPI = {
  3. //根据患者获取团队信息
  4. teamInfo: function(data) {
  5. return httpRequest.get("doctor/family_contract/patient_doctor_teams", {data: data})
  6. },
  7. //获取医生信息
  8. docInfo:function(data){
  9. return httpRequest.get("doctor/baseinfo", {data: data})
  10. },
  11. //获取患者信息
  12. patientInfo:function(data) {
  13. return httpRequest.get("doctor/patient_label_info/patient", {data: data})
  14. },
  15. //咨询列表
  16. consultList: function(data) {
  17. return httpRequest.post("doctor/consult/list_by_team", {data: data})
  18. },
  19. //获取咨询数据
  20. getList: function(data){
  21. return httpRequest.get('doctor/consult/loglist',{data:data});
  22. },
  23. getMembers: function(sessionId){
  24. return httpRequest.imHttpGet('/sessions/'+sessionId+'/participants');
  25. },
  26. //取当前医生的sessionId
  27. getSessionId:function(data){
  28. return httpRequest.get('im_new/getTopic',{data:data});
  29. },
  30. //指导列表
  31. guidanceList: function(data) {
  32. return httpRequest.post("doctor/health/guidance/list_by_team", {data: data})
  33. },
  34. guidanceDetail: function(data) {
  35. return httpRequest.post("doctor/health/guidance/id", {data: data})
  36. },
  37. //教育列表
  38. educationList:function(data){
  39. return httpRequest.post("doctor/jkEdu/article/PC/fetchPatientArticlePushedList", {data: data})
  40. },
  41. educationDetail:function(data){
  42. return httpRequest.get("third/jkEdu/Article/getArticalById", {data: data})
  43. },
  44. // 字典 优先级
  45. educationDictionary:function(data){
  46. return httpRequest.get("third/jkEdu/Article/getConfigDicShoList", {data: data})
  47. },
  48. //代预约
  49. toBeReservedList:function(data){
  50. return httpRequest.post("third/guahao/GetPatientReservationList", {data: data})
  51. },
  52. reservedDetail:function(data){
  53. return httpRequest.post("third/guahao/GetPatientReservation", {data: data})
  54. },
  55. //获取统计
  56. getStatistics:function(data){
  57. return httpRequest.post("doctor/patient/service/statistics", {data: data})
  58. },
  59. //随访列表
  60. followUpList:function(data){
  61. return httpRequest.post("doctor/followup/list_by_team", {data: data})
  62. },
  63. //获取随访内容
  64. getFollowup: function(data){
  65. return httpRequest.get("doctor/followup/getFollowup", {data: data})
  66. },
  67. getFollowupProjectData: function(data){
  68. return httpRequest.get("doctor/followup/getFollowupProjectData", {data: data})
  69. },
  70. //获取药品信息
  71. getFollowupDrugs: function(data){
  72. return httpRequest.get("doctor/followup/drugs/getFollowupDrugs", {data: data})
  73. },
  74. //随访医生
  75. getFollowUpDoc: function(data){
  76. return httpRequest.get("doctor/patient_group/sign_doctors", {data: data})
  77. },
  78. //随访状态
  79. getFollowUpStatue: function(data){
  80. return httpRequest.get("common/getDictByDictName", {data: data})
  81. },
  82. //修改随访结果
  83. ModifyFollowupResult: function(data){
  84. return httpRequest.post("doctor/followup/saveFollowupProjectData", {data: data})
  85. },
  86. //保存药品(两个接口)
  87. saveDrugs: function(data){
  88. return httpRequest.post("doctor/followup/drugs/saveFollowupDrugs", {data: data})
  89. },
  90. //保存服药规律性
  91. saveDrugsLaw: function(data){
  92. return httpRequest.post("doctor/followup/saveFollowupProjectData", {data: data})
  93. },
  94. // 完成随访
  95. finishFollowup: function(data){
  96. return httpRequest.post("doctor/followup/finishFollowup", {data: data})
  97. },
  98. // 登记随访
  99. startFollowup: function (data) {
  100. return httpRequest.post("doctor/followup/startFollowup", { data: data })
  101. },
  102. //获取所有药品
  103. findDictByName:function(data){
  104. return httpRequest.get("doctor/prescriptionInfo/findDictByName",{data:data})
  105. },
  106. //保存所有药品
  107. saveAllFollowupProjectData:function(data){
  108. return httpRequest.post("doctor/followup/saveAllFollowupProjectData",{data:data})
  109. }
  110. }
  111. exports.recordAPI = recordAPI;
  112. })(window)