|
@ -1,5 +1,6 @@
|
|
|
package com.yihu.wlyy.web.doctor.followup;
|
|
|
|
|
|
import com.yihu.wlyy.aop.ObserverRequired;
|
|
|
import com.yihu.wlyy.entity.followup.Followup;
|
|
|
import com.yihu.wlyy.logs.BusinessLogs;
|
|
|
import com.yihu.wlyy.service.app.followup.FollowUpService;
|
|
@ -87,6 +88,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("获取随访列表(创建者)")
|
|
|
@RequestMapping(value = "/createrList", produces = "application/json;charset=UTF-8", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String getCreaterList(@ApiParam(name = "startTime", value = "开始时间", defaultValue = "2016-12-07 00:00:00")
|
|
|
@RequestParam(value = "startTime", required = true) String startTime,
|
|
|
@ApiParam(name = "endTime", value = "结束时间", defaultValue = "2016-12-14 00:00:00")
|
|
@ -107,6 +109,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("新增随访计划(批量)")
|
|
|
@RequestMapping(value = "/addFollowupPlan", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String addFollowupPlan(@ApiParam(name = "patient", value = "患者代码", defaultValue = "443a196ef8744536a531260eb26c05d7")
|
|
|
@RequestParam(value = "patient", required = true) String patient,
|
|
|
@ApiParam(name = "data", value = "随访计划列表json", defaultValue = "[{\"date\":\"2016-12-16 20:00:00\",\"type\":\"10\",\"doctor\":\"64de9952-5b15-11e6-8344-fa163e8aee56\"},{\"date\":\"2016-12-17 15:00:00\",\"type\":\"3\",\"doctor\":\"64de9952-5b15-11e6-8344-fa163e8aee56\"}]")
|
|
@ -129,6 +132,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("编辑随访计划")
|
|
|
@RequestMapping(value = "/editFollowupPlan", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String editFollowupPlan(@ApiParam(name = "id", value = "随访记录ID", defaultValue = "")
|
|
|
@RequestParam(value = "id", required = true) String id,
|
|
|
@ApiParam(name = "planDate", value = "随访计划时间", defaultValue = "2016-12-14 20:00:00")
|
|
@ -147,6 +151,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("开始随访记录")
|
|
|
@RequestMapping(value = "/startFollowup", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String startFollowup(@ApiParam(name = "id", value = "随访记录ID", defaultValue = "")
|
|
|
@RequestParam(value = "id", required = true) String id,
|
|
|
@ApiParam(name = "date", value = "随访时间", defaultValue = "2016-12-14 20:00:00")
|
|
@ -169,6 +174,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("新增临时随访记录(返回ID)")
|
|
|
@RequestMapping(value = "/addFollowup", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String addFollowup(@ApiParam(name = "patient", value = "患者代码", defaultValue = "443a196ef8744536a531260eb26c05d7")
|
|
|
@RequestParam(value = "patient", required = true) String patient,
|
|
|
@ApiParam(name = "date", value = "下次随访时间", defaultValue = "2016-12-15 20:00:00")
|
|
@ -191,6 +197,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("取消随访计划")
|
|
|
@RequestMapping(value = "/cancelFollowupPlan", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String cancelFollowupPlan(@ApiParam(name = "id", value = "随访记录ID", defaultValue = "")
|
|
|
@RequestParam(value = "id", required = true) String id) {
|
|
|
try {
|
|
@ -205,6 +212,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("完成随访记录")
|
|
|
@RequestMapping(value = "/finishFollowup", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String finishFollowup(@ApiParam(name = "id", value = "随访记录ID", defaultValue = "")
|
|
|
@RequestParam(value = "id", required = true) String id) {
|
|
|
try {
|
|
@ -264,6 +272,7 @@ public class DoctorFollowUpController extends BaseController {
|
|
|
@ApiOperation("保存随访项目数据")
|
|
|
@RequestMapping(value = "/saveFollowupProjectData", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
@ObserverRequired
|
|
|
public String saveFollowupProjectData(@ApiParam(name = "id", value = "随访记录ID", defaultValue = "4")
|
|
|
@RequestParam(value = "id", required = true) String id,
|
|
|
@ApiParam(name = "followupProject", value = "随访项目", defaultValue = "2")
|