|
@@ -61,6 +61,9 @@ public class CommonFacade {
|
|
if (ListUtil.isNotEmpty(searchData.getDiagOrder())) {
|
|
if (ListUtil.isNotEmpty(searchData.getDiagOrder())) {
|
|
wordCrfDTO.setDiagOrder(searchData.getDiagOrder());
|
|
wordCrfDTO.setDiagOrder(searchData.getDiagOrder());
|
|
}
|
|
}
|
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getDiag())) {
|
|
|
|
+ wordCrfDTO.setDiag(searchData.getDiag());
|
|
|
|
+ }
|
|
aiAnalyze.aiProcess(searchData, wordCrfDTO);
|
|
aiAnalyze.aiProcess(searchData, wordCrfDTO);
|
|
return wordCrfDTO;
|
|
return wordCrfDTO;
|
|
}
|
|
}
|
|
@@ -87,6 +90,9 @@ public class CommonFacade {
|
|
//下的诊断
|
|
//下的诊断
|
|
diagList.addAll(wordCrfDTO.getDiagOrder().stream().filter(x -> StringUtils.isBlank(x.getUniqueName()))
|
|
diagList.addAll(wordCrfDTO.getDiagOrder().stream().filter(x -> StringUtils.isBlank(x.getUniqueName()))
|
|
.map(x -> x.getName()).collect(Collectors.toList()));
|
|
.map(x -> x.getName()).collect(Collectors.toList()));
|
|
|
|
+ //传的诊断
|
|
|
|
+ diagList.addAll(wordCrfDTO.getDiag().stream().filter(x -> StringUtils.isBlank(x.getUniqueName()))
|
|
|
|
+ .map(x -> x.getName()).collect(Collectors.toList()));
|
|
|
|
|
|
//所有化验(结构化数据)
|
|
//所有化验(结构化数据)
|
|
List<String> allLis = new ArrayList<>();
|
|
List<String> allLis = new ArrayList<>();
|
|
@@ -164,6 +170,7 @@ public class CommonFacade {
|
|
//诊断回填
|
|
//诊断回填
|
|
CoreUtil.setPropertyList(diagLabel.getDiags(), map.get(StandConvertEnum.disease.getName()));
|
|
CoreUtil.setPropertyList(diagLabel.getDiags(), map.get(StandConvertEnum.disease.getName()));
|
|
CoreUtil.setPropertyList(wordCrfDTO.getDiagOrder(),"name", "uniqueName", map.get(StandConvertEnum.disease.getName()));
|
|
CoreUtil.setPropertyList(wordCrfDTO.getDiagOrder(),"name", "uniqueName", map.get(StandConvertEnum.disease.getName()));
|
|
|
|
+ CoreUtil.setPropertyList(wordCrfDTO.getDiag(),"name", "uniqueName", map.get(StandConvertEnum.disease.getName()));
|
|
//药品回填
|
|
//药品回填
|
|
CoreUtil.setPropertyList(presentLabel.getMedicines(), map.get(StandConvertEnum.drug.getName()));
|
|
CoreUtil.setPropertyList(presentLabel.getMedicines(), map.get(StandConvertEnum.drug.getName()));
|
|
CoreUtil.setPropertyList(pastLabel.getAllergyMedicines(), map.get(StandConvertEnum.drug.getName()));
|
|
CoreUtil.setPropertyList(pastLabel.getAllergyMedicines(), map.get(StandConvertEnum.drug.getName()));
|
|
@@ -189,7 +196,7 @@ public class CommonFacade {
|
|
NeoPushVO pushVO = new NeoPushVO();
|
|
NeoPushVO pushVO = new NeoPushVO();
|
|
ChiefLabel chiefLabel = wordCrfDTO.getChiefLabel();
|
|
ChiefLabel chiefLabel = wordCrfDTO.getChiefLabel();
|
|
PresentLabel presentLabel = wordCrfDTO.getPresentLabel();
|
|
PresentLabel presentLabel = wordCrfDTO.getPresentLabel();
|
|
- List<Item> diagOrder = wordCrfDTO.getDiagOrder();
|
|
|
|
|
|
+ List<Item> diags = wordCrfDTO.getDiag();
|
|
PastLabel pastLabel = wordCrfDTO.getPastLabel();
|
|
PastLabel pastLabel = wordCrfDTO.getPastLabel();
|
|
List<Lis> lis = wordCrfDTO.getLis();
|
|
List<Lis> lis = wordCrfDTO.getLis();
|
|
// List<Pacs> pacs = wordCrfDTO.getPacs();
|
|
// List<Pacs> pacs = wordCrfDTO.getPacs();
|
|
@@ -247,14 +254,14 @@ public class CommonFacade {
|
|
pacsPushVo.setPacs(pacsNewList);
|
|
pacsPushVo.setPacs(pacsNewList);
|
|
pushVO.setPacsPushVo(pacsPushVo);
|
|
pushVO.setPacsPushVo(pacsPushVo);
|
|
}
|
|
}
|
|
- if(ListUtil.isNotEmpty(diagOrder)){
|
|
|
|
|
|
+ if(ListUtil.isNotEmpty(diags)){
|
|
DiagVo diagVo = new DiagVo();
|
|
DiagVo diagVo = new DiagVo();
|
|
- List<Diag> diags = diagOrder.stream().map(x -> {
|
|
|
|
|
|
+ List<Diag> diseases = diags.stream().map(x -> {
|
|
Diag diag = new Diag();
|
|
Diag diag = new Diag();
|
|
diag.setName(x.getUniqueName());
|
|
diag.setName(x.getUniqueName());
|
|
return diag;
|
|
return diag;
|
|
}).collect(Collectors.toList());
|
|
}).collect(Collectors.toList());
|
|
- diagVo.setDiags(diags);
|
|
|
|
|
|
+ diagVo.setDiags(diseases);
|
|
pushVO.setDiagVo(diagVo);
|
|
pushVO.setDiagVo(diagVo);
|
|
}
|
|
}
|
|
|
|
|