recover_api.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. (function(exports) {
  2. var recoverAPI = {
  3. // 居民康复详情
  4. patientRehabilitationDetail: function(data) {
  5. return httpRequest.get("doctor/specialist/rehabilitation/patientRehabilitationDetail", {data: data})
  6. },
  7. // 近期康复记录
  8. recentPlanDetailRecord: function(data) {
  9. return httpRequest.get("doctor/specialist/rehabilitation/recentPlanDetailRecord", {data: data})
  10. },
  11. // 就诊记录
  12. archivesEvent: function(data) {
  13. return httpRequest.get("doctor/archives/event", {data: data})
  14. },
  15. // 完成项目详情
  16. serviceItem: function(data) {
  17. return httpRequest.get("doctor/specialist/rehabilitation/serviceItem", {data: data})
  18. },
  19. // 获取专病居民类别
  20. findLabelAndPatientCountByDoctor: function(data) {
  21. return httpRequest.get("doctor/specialist/findLabelAndPatientCountByDoctor", {data: data})
  22. },
  23. // 获取居民列表by医生
  24. getPatientInfoByDoctor: function(data) {
  25. return httpRequest.get("doctor/specialist/getPatientInfoByDoctor", {data: data})
  26. },
  27. // 获取专病居民类别 2020-03-03 新增接口
  28. findHealthLabelAndPatientCountByDoctor: function(data) {
  29. return httpRequest.get("doctor/specialist/findHealthLabelAndPatientCountByDoctor", {data: data})
  30. },
  31. // 获取居民列表by医生 2020-03-03 新增接口
  32. getPatientInfoByDoctorAndHealth: function(data) {
  33. return httpRequest.get("doctor/specialist/getPatientInfoByDoctorAndHealth", {data: data})
  34. },
  35. // 获取居民信息
  36. getPatientInfo: function(data) {
  37. return httpRequest.get("doctor/patient_label_info/patient", {data: data})
  38. },
  39. // 获取模板列表
  40. findTemplateList: function(data) {
  41. return httpRequest.get("/doctor/specialist/rehabilitationPlan/findTemplateList", {data: data})
  42. },
  43. // 获取模板详细
  44. findTemplateDetail: function(data) {
  45. return httpRequest.get("/doctor/specialist/rehabilitationPlan/findTemplateDetail", {data: data})
  46. },
  47. // 删除模板
  48. deleteTemplate: function(data) {
  49. return httpRequest.get("/doctor/specialist/rehabilitationPlan/deleteTemplate", {data: data})
  50. },
  51. // 获取机构服务项目列表
  52. findServiceItemsByHospital: function(data) {
  53. return httpRequest.get("/doctor/specialist/hospitalServiceItem/findServiceItemsByHospital", {data: data})
  54. },
  55. // 获取医生团队疾病
  56. findTeamDiseaseRelation: function(data) {
  57. return httpRequest.get("third/specialist/findTeamDiseaseRelation", {data: data})
  58. },
  59. // 根据机构服务id获取详细信息
  60. selectByIds: function(data) {
  61. return httpRequest.get("doctor/specialist/hospitalServiceItem/selectByIds", {data: data})
  62. },
  63. // 创建康复计划
  64. createRehabilitationPlan: function(data) {
  65. return httpRequest.post("doctor/specialist/rehabilitationPlan/createRehabilitationPlan", {data: data})
  66. },
  67. // 编辑居民康复计划详情
  68. updateRehabilitationPlan: function(data) {
  69. return httpRequest.post("doctor/specialist/rehabilitationPlan/updateRehabilitationPlan", {data: data})
  70. },
  71. // 根据患者获取专科医生跟技管师
  72. findPatientSignSpecialistInfo: function(data) {
  73. return httpRequest.get("doctor/specialist/findPatientSignSpecialistInfo", {data: data})
  74. },
  75. // 获取频次接口
  76. selectFrequencys: function(data) {
  77. return httpRequest.get("doctor/specialist/rehabilitation/selectFrequencys", {data: data})
  78. },
  79. // 获取专科团队接口
  80. specialistTeam: function(data) {
  81. return httpRequest.get("doctor/admin-teams/teams/info", {data: data})
  82. },
  83. // 保存诊疗信息接口
  84. createDiagnosisInformation: function(data) {
  85. return httpRequest.post("doctor/specialist/diagnosisInformation/createDiagnosisInformation", {data: data})
  86. },
  87. // 根据康复计划id获取诊疗信息
  88. findDiagnosisInformationByPlanId: function(data) {
  89. return httpRequest.get("doctor/specialist/diagnosisInformation/findDiagnosisInformationByPlanId", {data: data})
  90. },
  91. // 根据居民获取诊疗信息
  92. findDiagnosisInformationByPatient: function(data) {
  93. return httpRequest.get("doctor/specialist/diagnosisInformation/findDiagnosisInformationByPatient", {data: data})
  94. },
  95. //诊疗信息
  96. diagnosisQuery:function(data){
  97. return httpRequest.get("doctor/archives/event",{data:data})
  98. },
  99. //诊疗信息的附属信息
  100. diagnosisSubsidiary:function(data){
  101. return httpRequest.get("doctor/archives/event/healthData",{data:data})
  102. },
  103. //保存诊疗信息接口
  104. preservationInfo:function(data){
  105. return httpRequest.post("doctor/specialist/diagnosisInformation/createDiagnosisInformation",{data:data})
  106. },
  107. // 最后一条数据,用来推算时间
  108. getBodyRecoredLast: function(data) {
  109. return httpRequest.get('doctor/health_index/last', {data: data});
  110. },
  111. // 获取体征数据doctor/health_index/chart
  112. getHealthIndex: function(data) {
  113. return httpRequest.post("doctor/health_index/chart", {data: data})
  114. },
  115. }
  116. exports.recoverAPI = recoverAPI;
  117. })(window)