record-api.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. exports.recordAPI = recordAPI;
  76. })(window)