|
@@ -174,18 +174,21 @@ public class PushFacade {
|
|
|
// item2.setType("血常规血小板计数30");
|
|
|
// criticalValList.add(item2);
|
|
|
// indicationDTO.setCriticalValList(criticalValList);
|
|
|
- // List<BillMsg> highRiskList = Lists.newArrayList();
|
|
|
- // BillMsg item3 = new BillMsg();
|
|
|
- // item3.setMsg("盐酸肾上腺素注射液为高风险药品,请留意");
|
|
|
- // item3.setOrderName("盐酸肾上腺素注射液");
|
|
|
- // item3.setOrderStandName("盐酸肾上腺素注射液");
|
|
|
- // item3.setContent("");
|
|
|
- // item3.setType("药品");
|
|
|
- // highRiskList.add(item3);
|
|
|
- // indicationDTO.setHighRiskList(highRiskList);
|
|
|
RespDTO<IndicationDTO> resp = cdssCoreClient.indication(indicationPushVO);
|
|
|
RespDTOUtil.respNGDeal(resp, "远程调用推理接口失败");
|
|
|
IndicationDTO indicationDTO = resp.data;
|
|
|
+ //加入高危假数据
|
|
|
+ if (ListUtil.isEmpty(indicationDTO.getHighRiskList())){
|
|
|
+ List<BillMsg> highRiskList = Lists.newArrayList();
|
|
|
+ BillMsg item3 = new BillMsg();
|
|
|
+ item3.setMsg("盐酸肾上腺素注射液为高风险药品,请留意(假数据)");
|
|
|
+ item3.setOrderName("盐酸肾上腺素注射液");
|
|
|
+ item3.setOrderStandName("盐酸肾上腺素注射液");
|
|
|
+ item3.setContent("");
|
|
|
+ item3.setType("药品");
|
|
|
+ highRiskList.add(item3);
|
|
|
+ indicationDTO.setHighRiskList(highRiskList);
|
|
|
+ }
|
|
|
//加入其他提醒假数据
|
|
|
if (ListUtil.isEmpty(indicationDTO.getOtherList())){
|
|
|
List<BillMsg> otherList = new ArrayList<>();
|