|
@ -42,7 +42,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getPrescriptionFilter", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/getPrescriptionFilter", method = RequestMethod.GET)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "获取过滤规则信息列表")
|
|
@ApiOperation(value = "获取过滤规则信息列表")
|
|
public String getPrescriptionFilter(){
|
|
public String getPrescriptionFilter(){
|
|
try {
|
|
try {
|
|
@ -54,7 +53,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getDoctorPrescription", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/getDoctorPrescription", method = RequestMethod.GET)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "获取全科医生/建管师续方列表/搜索")
|
|
@ApiOperation(value = "获取全科医生/建管师续方列表/搜索")
|
|
public String getDoctorPrescription(@RequestParam(required = true)@ApiParam(value = "团队code", name = "teamCode") Integer teamCode,
|
|
public String getDoctorPrescription(@RequestParam(required = true)@ApiParam(value = "团队code", name = "teamCode") Integer teamCode,
|
|
@RequestParam(required = false)@ApiParam(value = "续方状态", name = "state") String state,
|
|
@RequestParam(required = false)@ApiParam(value = "续方状态", name = "state") String state,
|
|
@ -74,7 +72,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getContinuedPrescriptionAsDoctor", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/getContinuedPrescriptionAsDoctor", method = RequestMethod.GET)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "续方详情")
|
|
@ApiOperation(value = "续方详情")
|
|
public String getContinuedPrescriptionAsDoctor(@RequestParam(required = true)@ApiParam(value = "续方CODE", name = "code") String code,
|
|
public String getContinuedPrescriptionAsDoctor(@RequestParam(required = true)@ApiParam(value = "续方CODE", name = "code") String code,
|
|
@RequestParam(required = true)@ApiParam(value = "团队长标识:1:是;2否", name = "type") String type){
|
|
@RequestParam(required = true)@ApiParam(value = "团队长标识:1:是;2否", name = "type") String type){
|
|
@ -87,7 +84,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/reviewPrescription", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/reviewPrescription", method = RequestMethod.POST)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "续方审核")
|
|
@ApiOperation(value = "续方审核")
|
|
public String reviewPrescription(@RequestParam(required = true)@ApiParam(value = "续方CODE", name = "code") String code,
|
|
public String reviewPrescription(@RequestParam(required = true)@ApiParam(value = "续方CODE", name = "code") String code,
|
|
@RequestParam(required = false)@ApiParam(value = "不同意原因", name = "reason") String reason,
|
|
@RequestParam(required = false)@ApiParam(value = "不同意原因", name = "reason") String reason,
|
|
@ -101,7 +97,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/updatePresInfo", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/updatePresInfo", method = RequestMethod.POST)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "调整处方")
|
|
@ApiOperation(value = "调整处方")
|
|
@ObserverRequired
|
|
@ObserverRequired
|
|
public String updatePresInfo(@RequestParam(required = true)@ApiParam(value = "续方CODE", name = "code") String code,
|
|
public String updatePresInfo(@RequestParam(required = true)@ApiParam(value = "续方CODE", name = "code") String code,
|
|
@ -117,7 +112,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getInfoTitle", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/getInfoTitle", method = RequestMethod.POST)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "调整处方-药品分类及种类数目")
|
|
@ApiOperation(value = "调整处方-药品分类及种类数目")
|
|
public String getInfoTitle(){
|
|
public String getInfoTitle(){
|
|
try {
|
|
try {
|
|
@ -129,7 +123,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getInfoListByParentCode", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/getInfoListByParentCode", method = RequestMethod.POST)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "药品类别获取药品")
|
|
@ApiOperation(value = "药品类别获取药品")
|
|
private String getInfoListByParentCode(@RequestParam(required = true)@ApiParam(value = "药品类别Code", name = "code") String code){
|
|
private String getInfoListByParentCode(@RequestParam(required = true)@ApiParam(value = "药品类别Code", name = "code") String code){
|
|
try {
|
|
try {
|
|
@ -178,7 +171,6 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getDrugTimes", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/getDrugTimes", method = RequestMethod.GET)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "药品品使用频次字典")
|
|
@ApiOperation(value = "药品品使用频次字典")
|
|
public String getDrugTimes(){
|
|
public String getDrugTimes(){
|
|
try {
|
|
try {
|
|
@ -189,10 +181,9 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getDoctorPrescriptionExpressage", method = RequestMethod.GET)
|
|
|
|
@ResponseBody
|
|
|
|
|
|
@RequestMapping(value = "/getHDoctorPrescriptionExpressage", method = RequestMethod.GET)
|
|
@ApiOperation(value = "获取续方订单列表")
|
|
@ApiOperation(value = "获取续方订单列表")
|
|
public String getDoctorPrescriptionExpressage(@RequestParam(required = false) @ApiParam(value = "1:需跟踪;2:已接收", name = "type") String type,
|
|
|
|
|
|
public String getHDoctorPrescriptionExpressage(@RequestParam(required = false) @ApiParam(value = "1:需跟踪;2:已接收", name = "type") String type,
|
|
@RequestParam(required = false) @ApiParam(value = "患者姓名关键字", name = "nameKey")String nameKey,
|
|
@RequestParam(required = false) @ApiParam(value = "患者姓名关键字", name = "nameKey")String nameKey,
|
|
@RequestParam(required = false) @ApiParam(value = "开始时间", name = "startDate")String startDate,
|
|
@RequestParam(required = false) @ApiParam(value = "开始时间", name = "startDate")String startDate,
|
|
@RequestParam(required = false) @ApiParam(value = "结束时间", name = "endDate")String endDate,
|
|
@RequestParam(required = false) @ApiParam(value = "结束时间", name = "endDate")String endDate,
|
|
@ -201,7 +192,7 @@ public class PrescriptionInfoController extends BaseController{
|
|
@RequestParam(required = false) @ApiParam(value = "页数", name = "page")Integer page,
|
|
@RequestParam(required = false) @ApiParam(value = "页数", name = "page")Integer page,
|
|
@RequestParam(required = false) @ApiParam(value = "每页大小", name = "size")Integer size){
|
|
@RequestParam(required = false) @ApiParam(value = "每页大小", name = "size")Integer size){
|
|
try {
|
|
try {
|
|
return write(200, "操作成功!", "data",prescriptionInfoService.getDoctorPrescriptionExpressage(type,"hxmD201703150222",nameKey,startDate,endDate,hospital,state,page,size));
|
|
|
|
|
|
return write(200, "操作成功!", "data",prescriptionInfoService.getHDoctorPrescriptionExpressage(type,getUID(),nameKey,startDate,endDate,hospital,state,page,size));
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
error(e);
|
|
error(e);
|
|
return error(-1, "查询失败!");
|
|
return error(-1, "查询失败!");
|
|
@ -209,11 +200,75 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getPrescriptionExpressageFilter", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/getPrescriptionExpressageFilter", method = RequestMethod.GET)
|
|
@ResponseBody
|
|
|
|
@ApiOperation(value = "获取续方订单列表过滤条件")
|
|
@ApiOperation(value = "获取续方订单列表过滤条件")
|
|
public String getPrescriptionExpressageFilter(){
|
|
public String getPrescriptionExpressageFilter(){
|
|
try {
|
|
try {
|
|
return write(200, "操作成功!", "data",prescriptionInfoService.getPrescriptionExpressageFilter("hxmD201703150222"));
|
|
|
|
|
|
return write(200, "操作成功!", "data",prescriptionInfoService.getPrescriptionExpressageFilter(getUID()));
|
|
|
|
} catch (Exception e) {
|
|
|
|
error(e);
|
|
|
|
return error(-1, "查询失败!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@RequestMapping(value = "/getPrescriptionExpressageAsdoctorFilter", method = RequestMethod.GET)
|
|
|
|
@ApiOperation(value = "获取全科医生续方订单列表过滤条件")
|
|
|
|
public String getPrescriptionExpressageAsdoctorFilter(){
|
|
|
|
try {
|
|
|
|
return write(200, "操作成功!", "data",prescriptionInfoService.getPrescriptionExpressageAsdoctorFilter());
|
|
|
|
} catch (Exception e) {
|
|
|
|
error(e);
|
|
|
|
return error(-1, "查询失败!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getDoctorPrescriptionExpressage", method = RequestMethod.GET)
|
|
|
|
@ApiOperation(value = "获取全科医生续方订单列表过滤条件")
|
|
|
|
public String getDoctorPrescriptionExpressage(@RequestParam(required = false) @ApiParam(value = "团队Code", name = "teamCode")String teamCode,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "居民搜素关键字", name = "nameKey")String nameKey,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "开始时间", name = "startDate")String startDate,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "结束时间", name = "endDate")String endDate,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "机构", name = "hospital")String hospital,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "配送状态", name = "state")String state,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "配送方式:1 自取 2快递配送 3健管师配送", name = "dispensaryType")String dispensaryType,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "未分配健管师", name = "传1为未分配健管师")String AllocationType,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "起始页", name = "page")Integer page,
|
|
|
|
@RequestParam(required = false) @ApiParam(value = "每页大小", name = "size")Integer size){
|
|
|
|
try {
|
|
|
|
return write(200, "操作成功!", "data",
|
|
|
|
prescriptionInfoService.
|
|
|
|
getDoctorPrescriptionExpressage(teamCode, nameKey, startDate, endDate, hospital, state, dispensaryType,AllocationType, page, size));
|
|
|
|
} catch (Exception e) {
|
|
|
|
error(e);
|
|
|
|
return error(-1, "查询失败!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getCountExpressage", method = RequestMethod.GET)
|
|
|
|
@ApiOperation(value = "获取指定团队未分配建管师订单数目")
|
|
|
|
public String getCountExpressage(@RequestParam(required = true) @ApiParam(value = "团队Code", name = "teamCode")String teamCode){
|
|
|
|
try {
|
|
|
|
return write(200, "操作成功!", "data", prescriptionInfoService.getCountExpressage(teamCode));
|
|
|
|
} catch (Exception e) {
|
|
|
|
error(e);
|
|
|
|
return error(-1, "查询失败!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getHospitalListTitle", method = RequestMethod.GET)
|
|
|
|
@ApiOperation(value = "获取指定团队未分配建管师订单数目")
|
|
|
|
public String getHospitalListTitle(@RequestParam(required = true) @ApiParam(value = "团队Code", name = "teamCode")String teamCode){
|
|
|
|
try {
|
|
|
|
return write(200, "操作成功!", "data", prescriptionInfoService.getHospitalListTitle(teamCode));
|
|
|
|
} catch (Exception e) {
|
|
|
|
error(e);
|
|
|
|
return error(-1, "查询失败!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getTeamHealthDoctorCount", method = RequestMethod.GET)
|
|
|
|
@ApiOperation(value = "获取医生同社区底下所有团队建管师数目")
|
|
|
|
public String getTeamHealthDoctorCount(){
|
|
|
|
try {
|
|
|
|
return write(200, "操作成功!", "data", prescriptionInfoService.getTeamHealthDoctorCount(getUID()));
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
error(e);
|
|
error(e);
|
|
return error(-1, "查询失败!");
|
|
return error(-1, "查询失败!");
|