|
@@ -1,18 +1,12 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
import com.diagbot.dto.DiagnoseDTO;
|
|
|
-import com.diagbot.dto.PushNewDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
-import com.diagbot.dto.StandConvertCrfBatchDTO;
|
|
|
-import com.diagbot.dto.StandConvertCrfDTO;
|
|
|
import com.diagbot.facade.KlDiagnoseFacade;
|
|
|
import com.diagbot.facade.PushFacade;
|
|
|
import com.diagbot.facade.TestFacade;
|
|
|
import com.diagbot.vo.DiagnoseVO;
|
|
|
-import com.diagbot.vo.PushNewVO;
|
|
|
-import com.diagbot.vo.StandConvertCrfVO;
|
|
|
import com.diagbot.vo.TestAllVO;
|
|
|
-import com.diagbot.vo.TestCrfVO;
|
|
|
import com.diagbot.vo.TestLineVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -54,8 +48,7 @@ public class TestController {
|
|
|
return RespDTO.onSuc(testFacade.importExcel(file, testLineVO));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "导出[zhoutg]",
|
|
|
- notes = "导出")
|
|
|
+ @ApiOperation(value = "导出[zhoutg]", notes = "导出")
|
|
|
@PostMapping("/testExport")
|
|
|
public void testExport(HttpServletResponse response) {
|
|
|
testFacade.exportExcel(response);
|
|
@@ -125,24 +118,6 @@ public class TestController {
|
|
|
return RespDTO.onSuc(testFacade.testOtherTipTransfusion(file, testLineVO));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "标准词转换API[zhoutg]", notes = "类型,疾病: disease,症状: symptom,手术和操作:operation,药品: drug,实验室检查:lis,辅助检查:pacs, 辅助检查:vital")
|
|
|
- @PostMapping("/testStandConvert")
|
|
|
- public RespDTO<StandConvertCrfDTO> testStandConvert(@RequestBody StandConvertCrfVO standConvertCrfVO) {
|
|
|
- return RespDTO.onSuc(testFacade.testStandConvert(standConvertCrfVO));
|
|
|
- }
|
|
|
-
|
|
|
- @ApiOperation(value = "标准词批量转换API[zhoutg]", notes = "类型,疾病: disease,症状: symptom,手术和操作:operation,药品: drug,实验室检查:lis,辅助检查:pacs, 查体:vital")
|
|
|
- @PostMapping("/testStandConvertBatch")
|
|
|
- public RespDTO<StandConvertCrfBatchDTO> testStandConvertBatch(@RequestBody List<StandConvertCrfVO> standConvertCrfVOList) {
|
|
|
- return RespDTO.onSuc(testFacade.testStandConvertBatch(standConvertCrfVOList));
|
|
|
- }
|
|
|
-
|
|
|
- @ApiOperation(value = "标准词批量转换【新版】API[zhoutg]", notes = "类型,疾病: disease,症状: symptom,手术和操作:operation,药品: drug,实验室检查:lis,辅助检查:pacs, 查体:vital")
|
|
|
- @PostMapping("/testStandConvertBatchNew")
|
|
|
- public RespDTO<StandConvertCrfBatchDTO> testStandConvertBatchNew(@RequestBody List<StandConvertCrfVO> standConvertCrfVOList) {
|
|
|
- return RespDTO.onSuc(testFacade.testStandConvertBatchNew(standConvertCrfVOList));
|
|
|
- }
|
|
|
-
|
|
|
@ApiOperation(value = "复杂高危手术测试API[zhoutg]",
|
|
|
notes = "idNum:指定行测试<br>" +
|
|
|
"sheetIndex:sheet的下标,默认为0,表示第一个sheet")
|
|
@@ -176,18 +151,5 @@ public class TestController {
|
|
|
public RespDTO<List<DiagnoseDTO>> getDiagnoseByIds(@RequestBody DiagnoseVO diagnoseVO) {
|
|
|
return RespDTO.onSuc(klDiagnoseFacade.getDiagnoseByIds(diagnoseVO));
|
|
|
}
|
|
|
-
|
|
|
- @ApiOperation(value = "大数据推送接口测试[zhoutg]", notes = "")
|
|
|
- @PostMapping("/testPush")
|
|
|
- public RespDTO<PushNewDTO> testPush(@RequestBody PushNewVO pushNewVO) {
|
|
|
- return RespDTO.onSuc(pushFacade.testPushFac(pushNewVO));
|
|
|
- }
|
|
|
-
|
|
|
- @ApiOperation(value = "crf解析测试[zhoutg]", notes = "content:文本内容\n" +
|
|
|
- "modelType:模型类型,主诉、现病史:chief_present,既往史:PastFamily_cx,查体:Present_cx,个人史:PersonalHistory_cx,诊断:Diagnoses_cx")
|
|
|
- @PostMapping("/A_testCrf")
|
|
|
- public RespDTO<Object> testCrf(@RequestBody TestCrfVO testCrfVO) {
|
|
|
- return RespDTO.onSuc(testFacade.testCrf(testCrfVO));
|
|
|
- }
|
|
|
}
|
|
|
|