|
@@ -52,13 +52,27 @@ public class CommonFacade {
|
|
|
WordCrfDTO wordCrfDTO = new WordCrfDTO();
|
|
|
wordCrfDTO.setAge(searchData.getAge());
|
|
|
wordCrfDTO.setSex(searchData.getSex());
|
|
|
- wordCrfDTO.setLis(searchData.getLis());
|
|
|
- wordCrfDTO.setPacs(searchData.getPacs());
|
|
|
- wordCrfDTO.setLisOrder(searchData.getLisOrder());
|
|
|
- wordCrfDTO.setPacsOrder(searchData.getPacsOrder());
|
|
|
- wordCrfDTO.setDrugOrder(searchData.getDrugOrder());
|
|
|
- wordCrfDTO.setOperationOrder(searchData.getOperationOrder());
|
|
|
- wordCrfDTO.setDiagOrder(searchData.getDiagOrder());
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getLis())) {
|
|
|
+ wordCrfDTO.setLis(searchData.getLis());
|
|
|
+ }
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getPacs())) {
|
|
|
+ wordCrfDTO.setPacs(searchData.getPacs());
|
|
|
+ }
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getLisOrder())) {
|
|
|
+ wordCrfDTO.setLisOrder(searchData.getLisOrder());
|
|
|
+ }
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getPacsOrder())) {
|
|
|
+ wordCrfDTO.setPacsOrder(searchData.getPacsOrder());
|
|
|
+ }
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getDrugOrder())) {
|
|
|
+ wordCrfDTO.setDrugOrder(searchData.getDrugOrder());
|
|
|
+ }
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getOperationOrder())) {
|
|
|
+ wordCrfDTO.setOperationOrder(searchData.getOperationOrder());
|
|
|
+ }
|
|
|
+ if (ListUtil.isNotEmpty(searchData.getDiagOrder())) {
|
|
|
+ wordCrfDTO.setDiagOrder(searchData.getDiagOrder());
|
|
|
+ }
|
|
|
aiAnalyze.aiProcess(searchData, wordCrfDTO);
|
|
|
return wordCrfDTO;
|
|
|
}
|