rehabilitation-api.js 7.2 KB

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