rehabilitation-api.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. findTemplateList:function(data){
  39. return httpRequest.get("doctor/specialist/rehabilitationPlan/findTemplateList",{data:data})
  40. },
  41. // 康复服务套餐管理-获取机构服务项目列表
  42. findServiceItemsByHospital:function(data){
  43. return httpRequest.get("doctor/specialist/hospitalServiceItem/findServiceItemsByHospital",{data:data})
  44. },
  45. createTemplate:function(data){
  46. return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplate',{data:data})
  47. },
  48. createTemplateDetail:function(data){
  49. return httpRequest.post('doctor/specialist/rehabilitationPlan/createTemplateDetail',{data:data})
  50. },
  51. findTemplateDetail:function(data){
  52. return httpRequest.get("doctor/specialist/rehabilitationPlan/findTemplateDetail",{data:data})
  53. },
  54. deleteTemplate:function(data){
  55. return httpRequest.post('doctor/specialist/rehabilitationPlan/deleteTemplate',{data:data})
  56. },
  57. selectByIds:function(data){
  58. return httpRequest.get("doctor/specialist/hospitalServiceItem/selectByIds",{data:data})
  59. },
  60. // 终止专科计划详情
  61. getServiceItemsAfterStop: function(data) {
  62. return httpRequest.get("doctor/specialist/rehabilitation/getServiceItemsAfterStop", {data: data})
  63. },
  64. //获取计划表
  65. planSchedule: function(data) {
  66. return httpRequest.get("doctor/specialist/rehabilitation/planSchedule", {data: data})
  67. },
  68. //获取服务医生列表
  69. serviceDoctorList: function(data) {
  70. return httpRequest.get("doctor/specialist/rehabilitation/serviceDoctorList", {data: data})
  71. },
  72. //发送模板信息给居民确认
  73. sendWxMsg: function(data) {
  74. return httpRequest.post("doctor/specialist/rehabilitationPlan/sendWxMsg", {data: data})
  75. },
  76. //获取康复计划服务项
  77. calendarPlanDetailItems: function(data) {
  78. return httpRequest.get("doctor/specialist/rehabilitation/calendarPlanDetailItems",{data:data})
  79. },
  80. //获取康复服务项
  81. getServiceItemList: function(data) {
  82. return httpRequest.get("doctor/specialist/rehabilitation/getServiceItemList", {data: data})
  83. },
  84. //获取下转居民列表
  85. getRehabilitationPatientList: function(data) {
  86. return httpRequest.get("/doctor/rehabilitation/getRehabilitationPatientList", {data: data})
  87. },
  88. //获取居民标签字典(健康情况、疾病类型、自定义分组)
  89. getSpecialistPatientLabel: function(data) {
  90. return httpRequest.get("doctor/patient_label/getSpecialistPatientLabel", {data: data})
  91. },
  92. //获取居民标签(健康情况、疾病类型、自定义分组)
  93. getPatientLabelInfo: function(data) {
  94. return httpRequest.get("doctor/patient_label_info/getPatientLabelInfo", {data: data})
  95. },
  96. // 获取诊断信息
  97. getIcd10Info: function(data) {
  98. return httpRequest.get("doctor/prescriptionInfo/getIcd10Info", {data: data})
  99. },
  100. // 添加住院病历
  101. createMedicalRecords: function(data) {
  102. return httpRequest.post("/doctor/rehabilitation/createMedicalRecords", {data: data})
  103. },
  104. // 获取住院病历列表
  105. selectByMedicalCode: function(data){
  106. return httpRequest.get("doctor/specialist/rehabilitation/selectByMedicalCode", {data: data})
  107. },
  108. // 获取康复计划列表
  109. selectPlanByPatient: function(data){
  110. return httpRequest.get("doctor/specialist/rehabilitation/selectPlanByPatient", {data: data})
  111. },
  112. // 获取专科团队
  113. getSpecialistTeamList: function(data){
  114. return httpRequest.get("doctor/specialist/getSpecialistTeamList", {data: data})
  115. },
  116. // 更新居民专科标签(健康情况、疾病类型、自定义分组)
  117. updatePatientLabelInfo: function(data){
  118. return httpRequest.get("doctor/patient_label_info/updatePatientLabelInfo", {data: data})
  119. },
  120. // 提醒患者
  121. sendSpecialistWeixinMessage: function(data){
  122. return httpRequest.get("doctor/specialist/rehabilitation/sendSpecialistWeixinMessage", {data: data})
  123. },
  124. // 十大病种列表
  125. selectType: function(data){
  126. return httpRequest.get("doctor/specialist/rehabilitation/selectType", {data: data})
  127. },
  128. // 康复指导列表
  129. selectGuidances: function(data){
  130. return httpRequest.get("doctor/specialist/rehabilitation/selectGuidances", {data: data})
  131. },
  132. // 发送康复指导
  133. sendGuidance: function(data){
  134. return httpRequest.get("doctor/specialist/rehabilitation/sendGuidance", {data: data})
  135. },
  136. // 获取团队二维码
  137. createSpecialDoctorQrCode: function(data){
  138. return httpRequest.post("doctor/specialist/rehabilitation/createSpecialDoctorQrCode", {data: data})
  139. },
  140. // 居民未与扫描的二维码团队对应
  141. createPatientInSpeciaRelation: function(data){
  142. return httpRequest.post("doctor/specialist/createPatientInSpeciaRelation", {data: data})
  143. }
  144. }
  145. exports.rehaAPI = rehaAPI;
  146. })(window)