|
@@ -1,6 +1,7 @@
|
|
|
package com.diagbot.facade;
|
|
|
|
|
|
import com.diagbot.client.CdssCoreClient;
|
|
|
+import com.diagbot.dto.BillMsg;
|
|
|
import com.diagbot.dto.IndicationDTO;
|
|
|
import com.diagbot.dto.PushBaseDTO;
|
|
|
import com.diagbot.dto.PushDTO;
|
|
@@ -185,6 +186,18 @@ public class PushFacade {
|
|
|
RespDTO<IndicationDTO> resp = cdssCoreClient.indication(indicationPushVO);
|
|
|
RespDTOUtil.respNGDeal(resp, "远程调用推理接口失败");
|
|
|
IndicationDTO indicationDTO = resp.data;
|
|
|
+ //加入其他提醒假数据
|
|
|
+ if (ListUtil.isEmpty(indicationDTO.getOtherList())){
|
|
|
+ List<BillMsg> otherList = new ArrayList<>();
|
|
|
+ BillMsg other = new BillMsg();
|
|
|
+ other.setMsg("该患者血小板计数<10×10^9/L,建议输注血小板。(假数据)");
|
|
|
+ other.setOrderName("血小板");
|
|
|
+ other.setOrderStandName("血小板");
|
|
|
+ other.setContent("");
|
|
|
+ other.setType("输血");
|
|
|
+ otherList.add(other);
|
|
|
+ indicationDTO.setOtherList(otherList);
|
|
|
+ }
|
|
|
return indicationDTO;
|
|
|
}
|
|
|
|