rehabilitation-api.js 7.6 KB

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