|
@@ -0,0 +1,51 @@
|
|
|
+package com.diagbot.web;
|
|
|
+
|
|
|
+import com.diagbot.annotation.SysLogger;
|
|
|
+import com.diagbot.client.bean.ICSSPushDTO;
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.facade.EMRPushFacade;
|
|
|
+import com.diagbot.vo.EMRPushVO;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description:
|
|
|
+ * @Author:zhaops
|
|
|
+ * @time: 2019/3/11 16:46
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/EMRPush")
|
|
|
+@Api(value = "电子病历评级-推理相关API", tags = { "电子病历评级-推理相关API" })
|
|
|
+public class EMRPushController {
|
|
|
+ @Autowired
|
|
|
+ EMRPushFacade emrPushFacade;
|
|
|
+
|
|
|
+ @ApiOperation(value = "电子病历评级-推理[by:zhaops]",
|
|
|
+ notes = "age: 年龄(必填)<br>" +
|
|
|
+ "sex:性别(必填),1:男,2:女<br>" +
|
|
|
+ "symptom:症状,String<br>" +
|
|
|
+ "other:其它史,String<br>" +
|
|
|
+ "vital:查体,String<br>" +
|
|
|
+ "lis:化验,Array<br>" +
|
|
|
+ "lis:mealName:套餐名称(必填),String<br>" +
|
|
|
+ "lis:itemName:化验项名称(必填),String<br>" +
|
|
|
+ "lis:uniqueName:公表名称,String<br>" +
|
|
|
+ "lis:value:值,Double<br>" +
|
|
|
+ "lis:maxValue:最大值,Double<br>" +
|
|
|
+ "lis:minValue:最小值,Double<br>" +
|
|
|
+ "lis:units:单位,String<br>" +
|
|
|
+ "lis:otherValue:其他结果,包括阴性阳性,文字描述等,String<br>" +
|
|
|
+ "pacs:辅检,String<br>" +
|
|
|
+ "diag:诊断,String<br>" +
|
|
|
+ "type:类型(必填),5:化验,6:辅检,String<br>")
|
|
|
+ @PostMapping("/emrPush")
|
|
|
+ @SysLogger("emrPush")
|
|
|
+ public RespDTO<ICSSPushDTO> emrPush(@RequestBody EMRPushVO emrPushVO) {
|
|
|
+ return RespDTO.onSuc(emrPushFacade.emrPush(emrPushVO));
|
|
|
+ }
|
|
|
+}
|