recover_api.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. // 获取居民信息
  28. getPatientInfo: function(data) {
  29. return httpRequest.get("doctor/patient_label_info/patient", {data: data})
  30. },
  31. // 获取模板列表
  32. findTemplateList: function(data) {
  33. return httpRequest.get("/doctor/specialist/rehabilitationPlan/findTemplateList", {data: data})
  34. },
  35. // 获取模板详细
  36. findTemplateDetail: function(data) {
  37. return httpRequest.get("/doctor/specialist/rehabilitationPlan/findTemplateDetail", {data: data})
  38. },
  39. // 删除模板
  40. deleteTemplate: function(data) {
  41. return httpRequest.get("/doctor/specialist/rehabilitationPlan/deleteTemplate", {data: data})
  42. },
  43. // 获取机构服务项目列表
  44. findServiceItemsByHospital: function(data) {
  45. return httpRequest.get("/doctor/specialist/hospitalServiceItem/findServiceItemsByHospital", {data: data})
  46. },
  47. // 获取医生团队疾病
  48. findTeamDiseaseRelation: function(data) {
  49. return httpRequest.get("third/specialist/findTeamDiseaseRelation", {data: data})
  50. },
  51. // 根据机构服务id获取详细信息
  52. selectByIds: function(data) {
  53. return httpRequest.get("doctor/specialist/hospitalServiceItem/selectByIds", {data: data})
  54. },
  55. // 创建康复计划
  56. createRehabilitationPlan: function(data) {
  57. return httpRequest.post("doctor/specialist/rehabilitationPlan/createRehabilitationPlan", {data: data})
  58. },
  59. // 根据患者获取专科医生跟技管师
  60. findPatientSignSpecialistInfo: function(data) {
  61. return httpRequest.get("doctor/specialist/findPatientSignSpecialistInfo", {data: data})
  62. },
  63. // 获取频次接口
  64. selectFrequencys: function(data) {
  65. return httpRequest.get("doctor/specialist/rehabilitation/selectFrequencys", {data: data})
  66. },
  67. // 获取专科团队接口
  68. specialistTeam: function(data) {
  69. return httpRequest.get("doctor/admin-teams/teams/info", {data: data})
  70. },
  71. // 保存诊疗信息接口
  72. createDiagnosisInformation: function(data) {
  73. return httpRequest.post("doctor/specialist/diagnosisInformation/createDiagnosisInformation", {data: data})
  74. },
  75. // 根据康复计划id获取诊疗信息
  76. findDiagnosisInformationByPlanId: function(data) {
  77. return httpRequest.get("doctor/specialist/diagnosisInformation/findDiagnosisInformationByPlanId", {data: data})
  78. },
  79. // 根据居民获取诊疗信息
  80. findDiagnosisInformationByPatient: function(data) {
  81. return httpRequest.get("doctor/specialist/diagnosisInformation/findDiagnosisInformationByPatient", {data: data})
  82. },
  83. //诊疗信息
  84. diagnosisQuery:function(data){
  85. return httpRequest.get("doctor/archives/event",{data:data})
  86. },
  87. //诊疗信息的附属信息
  88. diagnosisSubsidiary:function(data){
  89. return httpRequest.get("doctor/archives/event/healthData",{data:data})
  90. },
  91. //保存诊疗信息接口
  92. preservationInfo:function(data){
  93. return httpRequest.post("doctor/specialist/diagnosisInformation/createDiagnosisInformation",{data:data})
  94. },
  95. // 最后一条数据,用来推算时间
  96. getBodyRecoredLast: function(data) {
  97. return httpRequest.get('doctor/health_index/last', {data: data});
  98. },
  99. // 获取体征数据doctor/health_index/chart
  100. getHealthIndex: function(data) {
  101. return httpRequest.post("doctor/health_index/chart", {data: data})
  102. },
  103. }
  104. exports.recoverAPI = recoverAPI;
  105. })(window)