rehabilitation-api.js 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. ;(function (exports) {
  2. var rehaAPI = {
  3. //获取日历列表
  4. calendarPlanDetail: function (data) {
  5. return httpRequest.get('doctor/specialist/rehabilitation/calendarPlanDetail', { data: data })
  6. },
  7. //获取列表
  8. calendarPlanDetailList: function (data) {
  9. return httpRequest.get('doctor/specialist/rehabilitation/calendarPlanDetailList', { data: data })
  10. },
  11. serviceItemList: function (data) {
  12. return httpRequest.get('doctor/specialist/rehabilitation/serviceItemList', { data: data })
  13. },
  14. serviceItem: function (data) {
  15. return httpRequest.get('doctor/specialist/rehabilitation/serviceItem', { data: data })
  16. },
  17. //获取医生二维码
  18. createServiceQrCode: function (data) {
  19. return httpRequest.post('doctor/specialist/rehabilitation/createServiceQrCode', { data: data })
  20. },
  21. // 居民扫码后验证是否是关联的居民扫码(居民端)
  22. checkAfterQrCode: function (data) {
  23. return httpRequest.post('patient/specialist/rehabilitation/checkAfterQrCode', { data: data })
  24. },
  25. upload: function (file) {
  26. return httpRequest.post('upload/fastDFSImag', { data: file, contentType: false, cache: false, processData: false })
  27. },
  28. updateNoteAndImageRehabilitationOperate: function (data) {
  29. return httpRequest.post('doctor/specialist/rehabilitation/updateNoteAndImageRehabilitationOperate', { data: data })
  30. },
  31. // 新增operateRecodr
  32. saveRehabilitationOperateRecord: function (data) {
  33. return httpRequest.post('doctor/specialist/rehabilitation/saveRehabilitationOperateRecord', { data: data })
  34. },
  35. // 服务项关联计划
  36. updateRelationCodeByDetailId: function (data) {
  37. return httpRequest.post('doctor/specialist/rehabilitation/updateRelationCodeByDetailId', { data: data })
  38. },
  39. // 康复服务套餐管理-获取康复服务套餐模板列表
  40. findTemplateList: function (data) {
  41. return httpRequest.get('doctor/specialist/rehabilitationPlan/findTemplateList', { data: data })
  42. },
  43. // 康复服务套餐管理-获取机构服务项目列表
  44. findServiceItemsByHospital: function (data) {
  45. return httpRequest.get('doctor/specialist/hospitalServiceItem/findServiceItemsByHospital', { data: data })
  46. },
  47. //获取医生团队信息
  48. getDoctorTeam: function (uid) {
  49. return httpRequest.get('doctor/admin-teams/team/' + uid + '/teams')
  50. },
  51. createTemplate: function (data) {
  52. return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplate', { data: data })
  53. },
  54. createTemplateDetail: function (data) {
  55. return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplateDetail', { data: data })
  56. },
  57. findTemplateDetail: function (data) {
  58. return httpRequest.get('doctor/specialist/rehabilitationPlan/findTemplateDetail', { data: data })
  59. },
  60. deleteTemplate: function (data) {
  61. return httpRequest.post('doctor/specialist/rehabilitationPlan/deleteTemplate', { data: data })
  62. },
  63. selectByIds: function (data) {
  64. return httpRequest.get('doctor/specialist/hospitalServiceItem/selectByIds', { data: data })
  65. },
  66. // 终止专科计划详情
  67. getServiceItemsAfterStop: function (data) {
  68. return httpRequest.get('doctor/specialist/rehabilitation/getServiceItemsAfterStop', { data: data })
  69. },
  70. //获取计划表
  71. planSchedule: function (data) {
  72. return httpRequest.get('doctor/specialist/rehabilitation/planSchedule', { data: data })
  73. },
  74. //获取服务医生列表
  75. serviceDoctorList: function (data) {
  76. return httpRequest.get('doctor/specialist/rehabilitation/serviceDoctorList', { data: data })
  77. },
  78. //发送模板信息给居民确认
  79. sendWxMsg: function (data) {
  80. return httpRequest.post('doctor/specialist/rehabilitationPlan/sendWxMsg', { data: data })
  81. },
  82. //获取康复计划服务项
  83. calendarPlanDetailItems: function (data) {
  84. return httpRequest.get('doctor/specialist/rehabilitation/calendarPlanDetailItems', { data: data })
  85. },
  86. //获取康复服务项
  87. getServiceItemList: function (data) {
  88. return httpRequest.get('doctor/specialist/rehabilitation/getServiceItemList', { data: data })
  89. },
  90. //获取下转居民列表
  91. getRehabilitationPatientList: function (data) {
  92. return httpRequest.get('/doctor/rehabilitation/getRehabilitationPatientList', { data: data })
  93. },
  94. //获取居民标签字典(健康情况、疾病类型、自定义分组)
  95. getSpecialistPatientLabel: function (data) {
  96. return httpRequest.get('doctor/patient_label/getSpecialistPatientLabel', { data: data })
  97. },
  98. //获取居民标签(健康情况、疾病类型、自定义分组)
  99. getPatientLabelInfo: function (data) {
  100. return httpRequest.get('doctor/patient_label_info/getPatientLabelInfo', { data: data })
  101. },
  102. // 获取诊断信息
  103. getIcd10Info: function (data) {
  104. return httpRequest.get('doctor/serviceOrder/getIcd10Info', { data: data })
  105. },
  106. // 添加住院病历
  107. createMedicalRecords: function (data) {
  108. return httpRequest.post('/doctor/rehabilitation/createMedicalRecords', { data: data })
  109. },
  110. getSurveyMessage(data) {
  111. return httpRequest.post('doctor/screen/getSurveyMessage', { data: data })
  112. },
  113. sendFollowMessage(data) {
  114. return httpRequest.post('doctor/screen/sendFollowMessage', { data: data })
  115. },
  116. // 获取住院病历列表
  117. selectByMedicalCode: function (data) {
  118. return httpRequest.get('doctor/specialist/rehabilitation/selectByMedicalCode', { data: data })
  119. },
  120. // 获取康复计划列表
  121. selectPlanByPatient: function (data) {
  122. return httpRequest.get('doctor/specialist/rehabilitation/selectPlanByPatient', { data: data })
  123. },
  124. // 获取康复计划列表
  125. selectPlanServerDoctor: function (data) {
  126. return httpRequest.post('doctor/specialist/rehabilitation/selectPlanServerDoctor', { data: data })
  127. },
  128. // 获取专科团队
  129. getSpecialistTeamList: function (data) {
  130. return httpRequest.get('doctor/specialist/getSpecialistTeamList', { data: data })
  131. },
  132. // 更新居民专科标签(健康情况、疾病类型、自定义分组)
  133. updatePatientLabelInfo: function (data) {
  134. return httpRequest.get('doctor/patient_label_info/updatePatientLabelInfo', { data: data })
  135. },
  136. // 提醒患者
  137. sendSpecialistWeixinMessage: function (data) {
  138. return httpRequest.get('doctor/specialist/rehabilitation/sendSpecialistWeixinMessage', { data: data })
  139. },
  140. // 十大病种列表
  141. selectType: function (data) {
  142. return httpRequest.get('doctor/specialist/rehabilitation/selectType', { data: data })
  143. },
  144. // 康复指导列表
  145. selectGuidances: function (data) {
  146. return httpRequest.get('doctor/specialist/rehabilitation/selectGuidances', { data: data })
  147. },
  148. // 发送康复指导
  149. sendGuidance: function (data) {
  150. return httpRequest.get('doctor/specialist/rehabilitation/sendGuidance', { data: data })
  151. },
  152. // 获取团队二维码
  153. createSpecialDoctorQrCode: function (data) {
  154. return httpRequest.post('doctor/specialist/rehabilitation/createSpecialDoctorQrCode', { data: data })
  155. },
  156. // 居民未与扫描的二维码团队对应
  157. createPatientInSpeciaRelation: function (data) {
  158. return httpRequest.post('doctor/specialist/createPatientInSpeciaRelation', { data: data })
  159. },
  160. // 获取居民签约的专科团队
  161. findPatientTeamList: function (data) {
  162. return httpRequest.get('doctor/specialist/findPatientTeamList', { data: data })
  163. },
  164. // 获取不限频次的服务项记录
  165. selectByPlanDetaiId: function (data) {
  166. return httpRequest.get('doctor/specialist/rehabilitation/selectByPlanDetaiId', { data: data })
  167. },
  168. // 根据患者身份证或社保卡号进行搜索添加出院记录
  169. getPatientByIdcardOrSsc: function (data) {
  170. return httpRequest.post('doctor/rehabilitation/getPatientByIdcardOrSsc', { data: data })
  171. },
  172. // 获取康复计划服务项的指导留言
  173. selectByGuidance: function (data) {
  174. return httpRequest.get('doctor/specialist/rehabilitation/selectByGuidance', { data: data })
  175. },
  176. // 远程协诊
  177. appointmentConsultation: function (data) {
  178. return httpRequest.get('doctor/specialist/rehabilitation/appointmentConsultation', { data: data })
  179. },
  180. getList: function (data) {
  181. return httpRequest.get('doctor/specialist/screen/getList', { data: data })
  182. }
  183. }
  184. exports.rehaAPI = rehaAPI
  185. })(window)