|
@@ -13,7 +13,7 @@ import com.lantone.vo.cdss.MappingConfigPageVO;
|
|
|
import com.lantone.vo.cdss.MappingConfigVO;
|
|
|
import com.lantone.vo.cdss.PrecDataVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@@ -43,15 +43,15 @@ public class MappingConfigController {
|
|
|
private MappingConfigFacade mappingConfigFacade;
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "数据导入模板导出[by:zhaops]",
|
|
|
- notes = "type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
|
+ @Operation(summary = "数据导入模板导出[by:zhaops]",
|
|
|
+ description = "type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
|
@PostMapping("/exportExcelModule")
|
|
|
public void exportExcelModule(HttpServletResponse response, @RequestBody @Valid MappingConfigVO mappingConfigVO) {
|
|
|
mappingConfigFacade.exportExcelModule(response, mappingConfigVO);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "预匹配导入术语校验[by:zhaops]",
|
|
|
- notes = "file(必填):预匹配文件 <br>" +
|
|
|
+ @Operation(summary = "预匹配导入术语校验[by:zhaops]",
|
|
|
+ description = "file(必填):预匹配文件 <br>" +
|
|
|
"type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
|
@PostMapping(value = "/dataVerify", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
public CommonResult<Boolean> dataVerify(@RequestParam("file") MultipartFile file,
|
|
@@ -60,8 +60,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "预匹配[by:zhaops]",
|
|
|
- notes = "file(必填):预匹配文件 <br>" +
|
|
|
+ @Operation(summary = "预匹配[by:zhaops]",
|
|
|
+ description = "file(必填):预匹配文件 <br>" +
|
|
|
"type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
|
@PostMapping(value = "/precDataMatch", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
public void precDataMatch(@RequestParam("file") MultipartFile file,
|
|
@@ -70,7 +70,7 @@ public class MappingConfigController {
|
|
|
mappingConfigFacade.precDataMatch(file, type, response);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "预匹配_远程调用[by:zhaops]", notes = "")
|
|
|
+ @Operation(summary = "预匹配_远程调用[by:zhaops]", description = "")
|
|
|
@PostMapping(value = "/precDataMatch_remote", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
@ApiIgnore
|
|
|
public CommonResult<List<MappingConfigWrapper>> precDataMatch_remote(@RequestParam("file") MultipartFile file,
|
|
@@ -79,8 +79,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "预匹配(非文件匹配)[by:zhaops]",
|
|
|
- notes = "type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>" +
|
|
|
+ @Operation(summary = "预匹配(非文件匹配)[by:zhaops]",
|
|
|
+ description = "type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>" +
|
|
|
"hisName(必填):医院术语名称 <br>" +
|
|
|
"hisDetailName(选填):医院术语名称-细项 <br>" +
|
|
|
"code(选填):诊断ICD10编码、手术编码、中医疾病编码、中医证候编码 <br>" +
|
|
@@ -91,8 +91,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "数据导入校验[by:zhaops]",
|
|
|
- notes = "file(必填):导入文件 <br>" +
|
|
|
+ @Operation(summary = "数据导入校验[by:zhaops]",
|
|
|
+ description = "file(必填):导入文件 <br>" +
|
|
|
"hospitalId(必填):医院id <br>" +
|
|
|
"uesrId(必填):操作人id <br>" +
|
|
|
"type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
@@ -105,8 +105,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "数据导入[by:zhaops]",
|
|
|
- notes = "file(必填):导入文件 <br>" +
|
|
|
+ @Operation(summary = "数据导入[by:zhaops]",
|
|
|
+ description = "file(必填):导入文件 <br>" +
|
|
|
"hospitalId(必填):医院id <br>" +
|
|
|
"uesrId(必填):操作人id <br>" +
|
|
|
"type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
@@ -121,8 +121,8 @@ public class MappingConfigController {
|
|
|
mappingConfigFacade.importExcel(response, file, hospitalId, type, userId);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "数据导入_远程调用[by:zhaops]",
|
|
|
- notes = "file(必填):导入文件 <br>" +
|
|
|
+ @Operation(summary = "数据导入_远程调用[by:zhaops]",
|
|
|
+ description = "file(必填):导入文件 <br>" +
|
|
|
"hospitalId(必填):医院id <br>" +
|
|
|
"uesrId(必填):操作人id <br>" +
|
|
|
"type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
@@ -139,8 +139,8 @@ public class MappingConfigController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "数据导出[by:zhaops]",
|
|
|
- notes = "hospitalId(必填):医院id <br>" +
|
|
|
+ @Operation(summary = "数据导出[by:zhaops]",
|
|
|
+ description = "hospitalId(必填):医院id <br>" +
|
|
|
"isMatch(选填,默认全部):是否匹配(0-未匹配、1-已匹配、2-多条匹配) <br>" +
|
|
|
"type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
|
@PostMapping("/exportExcel")
|
|
@@ -148,8 +148,8 @@ public class MappingConfigController {
|
|
|
mappingConfigFacade.exportExcel(response, mappingConfigPageVO);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "数据导出_远程调用[by:zhaops]",
|
|
|
- notes = "")
|
|
|
+ @Operation(summary = "数据导出_远程调用[by:zhaops]",
|
|
|
+ description = "")
|
|
|
@PostMapping("/exportExcel_remote")
|
|
|
@ApiIgnore
|
|
|
public CommonResult<List<MappingConfigWrapper>> exportExcel_remote(@RequestBody @Valid MappingConfigPageVO mappingConfigPageVO) {
|
|
@@ -157,8 +157,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "分页查询[by:zhaops]",
|
|
|
- notes = "hospitalId(必填):医院id <br>" +
|
|
|
+ @Operation(summary = "分页查询[by:zhaops]",
|
|
|
+ description = "hospitalId(必填):医院id <br>" +
|
|
|
"isMatch(选填,默认全部):是否匹配(0-未匹配、1-已匹配、2-多条匹配) <br>" +
|
|
|
"hisName(必填):医院术语名称 <br>" +
|
|
|
"uniqueName(选填,可为空):标准术语名称 <br>" +
|
|
@@ -172,8 +172,8 @@ public class MappingConfigController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "获取映射关系[by:zhaops]",
|
|
|
- notes = "id:关联关系id")
|
|
|
+ @Operation(summary = "获取映射关系[by:zhaops]",
|
|
|
+ description = "id:关联关系id")
|
|
|
@PostMapping("/getRecord")
|
|
|
@Transactional
|
|
|
public CommonResult<MappingConfigWrapper> getRecord(@RequestBody @Valid IdVO idVO) {
|
|
@@ -181,8 +181,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "映射关系是否已存在[by:zhaops]",
|
|
|
- notes = "id:关联关系id <br>" +
|
|
|
+ @Operation(summary = "映射关系是否已存在[by:zhaops]",
|
|
|
+ description = "id:关联关系id <br>" +
|
|
|
"hospitalId(必填):医院id <br>" +
|
|
|
"hisName(必填):医院术语名称 <br>" +
|
|
|
"hisDetailName(选填,可为空):医院术语名称-细项 <br>" +
|
|
@@ -196,8 +196,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "查询已映射关系[by:zhaops]",
|
|
|
- notes = "hospitalId(必填):医院id <br>" +
|
|
|
+ @Operation(summary = "查询已映射关系[by:zhaops]",
|
|
|
+ description = "hospitalId(必填):医院id <br>" +
|
|
|
"hisName(必填):医院术语名称 <br>" +
|
|
|
"hisDetailName(选填,可为空):医院术语名称-细项 <br>" +
|
|
|
"type(必填): 类型:1-化验、3-辅检、4-诊断、5-药品、6-手术和操作、7-科室、8-输血、10-量表、11-护理、12-中医诊断、13-中医证候、14-麻醉、16-给药途径 <br>")
|
|
@@ -208,8 +208,8 @@ public class MappingConfigController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "保存或修改映射关系[by:zhaops]",
|
|
|
- notes = "id:关联关系id <br>" +
|
|
|
+ @Operation(summary = "保存或修改映射关系[by:zhaops]",
|
|
|
+ description = "id:关联关系id <br>" +
|
|
|
"hospitalId(必填):医院id <br>" +
|
|
|
"hisName(必填):医院术语名称 <br>" +
|
|
|
"hisDetailName(选填,可为空):医院术语名称-细项 <br>" +
|
|
@@ -223,8 +223,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "删除映射关系[by:zhaops]",
|
|
|
- notes = "id:关联关系id")
|
|
|
+ @Operation(summary = "删除映射关系[by:zhaops]",
|
|
|
+ description = "id:关联关系id")
|
|
|
@PostMapping("/deleteRecord")
|
|
|
@Transactional
|
|
|
public CommonResult<Boolean> deleteRecord(@RequestBody @Valid IdVO idVO) {
|
|
@@ -232,8 +232,8 @@ public class MappingConfigController {
|
|
|
return CommonResult.success(data);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "批量删除映射关系[by:zhaops]",
|
|
|
- notes = "ids:关联关系id列表")
|
|
|
+ @Operation(summary = "批量删除映射关系[by:zhaops]",
|
|
|
+ description = "ids:关联关系id列表")
|
|
|
@PostMapping("/deleteRecords")
|
|
|
@Transactional
|
|
|
public CommonResult<Boolean> deleteRecords(@RequestBody @Valid IdListVO idListVO) {
|