|
@@ -46,6 +46,7 @@ public class CommonFacade {
|
|
|
wordCrfDTO.setHospitalId(searchData.getHospitalId());
|
|
|
wordCrfDTO.setAge(searchData.getAge());
|
|
|
wordCrfDTO.setSex(searchData.getSex());
|
|
|
+ wordCrfDTO.setDiseaseName(searchData.getDiseaseName());
|
|
|
if (ListUtil.isNotEmpty(searchData.getLis())) {
|
|
|
wordCrfDTO.setLis(searchData.getLis());
|
|
|
}
|
|
@@ -106,6 +107,10 @@ public class CommonFacade {
|
|
|
//传的诊断
|
|
|
diagList.addAll(wordCrfDTO.getDiag().stream().filter(x -> StringUtils.isBlank(x.getUniqueName()))
|
|
|
.map(x -> x.getName()).collect(Collectors.toList()));
|
|
|
+ //选中的诊断
|
|
|
+ if(wordCrfDTO.getDiseaseName() != null && StringUtils.isBlank(wordCrfDTO.getDiseaseName().getUniqueName())){
|
|
|
+ diagList.add(wordCrfDTO.getDiseaseName().getName());
|
|
|
+ }
|
|
|
standConvert.setDiaglList(diagList);
|
|
|
|
|
|
//所有化验(结构化数据)
|
|
@@ -193,6 +198,7 @@ public class CommonFacade {
|
|
|
CoreUtil.setPropertyList(diagLabel.getDiags(), 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(wordCrfDTO.getDiseaseName(),"name", "uniqueName", map.get(StandConvertEnum.disease.getName()));
|
|
|
//药品回填
|
|
|
CoreUtil.setPropertyList(presentLabel.getMedicines(), map.get(StandConvertEnum.drug.getName()));
|
|
|
CoreUtil.setPropertyList(presentLabel.getTakeMedicine(), map.get(StandConvertEnum.drug.getName()));
|
|
@@ -223,12 +229,14 @@ public class CommonFacade {
|
|
|
ChiefLabel chiefLabel = wordCrfDTO.getChiefLabel();
|
|
|
PresentLabel presentLabel = wordCrfDTO.getPresentLabel();
|
|
|
List<Item> diags = wordCrfDTO.getDiag();
|
|
|
+ Item diseaseName = wordCrfDTO.getDiseaseName();
|
|
|
PastLabel pastLabel = wordCrfDTO.getPastLabel();
|
|
|
List<Lis> lis = wordCrfDTO.getLis();
|
|
|
// List<Pacs> pacs = wordCrfDTO.getPacs();
|
|
|
List<PacsNew> pacsNewList = wordCrfDTO.getPacsLabel().getPacsNewList();
|
|
|
pushVO.setAge(wordCrfDTO.getAge());
|
|
|
pushVO.setSex(wordCrfDTO.getSex());
|
|
|
+ pushVO.setDiaeaseName(diseaseName);
|
|
|
if (chiefLabel != null) {
|
|
|
List<Symptom> cjiefClinicals = chiefLabel.getClinicals().stream().filter(x -> x.getNegative() == null).map(z ->
|
|
|
{
|