|
@@ -7,10 +7,7 @@ import com.diagbot.dto.WordCrfDTO;
|
|
|
import com.diagbot.enums.StandConvertEnum;
|
|
|
import com.diagbot.model.ai.AIAnalyze;
|
|
|
import com.diagbot.model.entity.Medicine;
|
|
|
-import com.diagbot.model.label.ChiefLabel;
|
|
|
-import com.diagbot.model.label.DiagLabel;
|
|
|
-import com.diagbot.model.label.PastLabel;
|
|
|
-import com.diagbot.model.label.PresentLabel;
|
|
|
+import com.diagbot.model.label.*;
|
|
|
import com.diagbot.util.CoreUtil;
|
|
|
import com.diagbot.util.ListUtil;
|
|
|
import com.diagbot.vo.SearchData;
|
|
@@ -92,6 +89,13 @@ public class CommonFacade {
|
|
|
drugList.addAll(CoreUtil.getPropertyList(presentLabel.getMedicines()));
|
|
|
standConvert.setDrugList(drugList);
|
|
|
|
|
|
+ //所有体征
|
|
|
+ List<String> vitalList = new ArrayList<>();
|
|
|
+ VitalLabel vitalLabel = wordCrfDTO.getVitalLabel();
|
|
|
+ vitalList.addAll(CoreUtil.getPropertyList(vitalLabel.getVitals()));
|
|
|
+ standConvert.setVitalList(vitalList);
|
|
|
+
|
|
|
+
|
|
|
standConvert.setClinicalList(clinicalList);
|
|
|
standConvert.setDiaglList(diagList);
|
|
|
return standConvert;
|
|
@@ -104,6 +108,7 @@ public class CommonFacade {
|
|
|
DiagLabel diagLabel = wordCrfDTO.getDiagLabel();
|
|
|
List<Lis> lis = wordCrfDTO.getLis();
|
|
|
List<Pacs> pacs = wordCrfDTO.getPacs();
|
|
|
+ VitalLabel vitalLabel = wordCrfDTO.getVitalLabel();
|
|
|
|
|
|
//症状回填
|
|
|
CoreUtil.setPropertyList(chiefLabel.getClinicals(),map.get(StandConvertEnum.clinical.getKey()));
|
|
@@ -116,6 +121,8 @@ public class CommonFacade {
|
|
|
CoreUtil.setPropertyList(lis,"name","detailName","uniqueName",map.get(StandConvertEnum.lis.getKey()));
|
|
|
// TODO: 2020/8/5 辅助检查回填
|
|
|
CoreUtil.setPropertyList(pacs,"name","uniqueName",map.get(StandConvertEnum.pacs.getKey()));
|
|
|
+ //体征回填
|
|
|
+ CoreUtil.setPropertyList(vitalLabel.getVitals(),map.get(StandConvertEnum.vital.getKey()));
|
|
|
}
|
|
|
|
|
|
}
|