|
@@ -404,8 +404,10 @@ public class NeoFacade {
|
|
|
System.out.println(standConvertCrfDTO);
|
|
|
if(ListUtil.isEmpty(standConvertCrfDTO.getStandard_words())){
|
|
|
clinicalMap.put(s, s);
|
|
|
+ }else {
|
|
|
+ clinicalMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
}
|
|
|
- clinicalMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
+
|
|
|
}
|
|
|
map.put(StandConvertEnum.clinical.getName(), clinicalMap);
|
|
|
|
|
@@ -419,8 +421,10 @@ public class NeoFacade {
|
|
|
System.out.println(standConvertCrfDTO);
|
|
|
if(ListUtil.isEmpty(standConvertCrfDTO.getStandard_words())){
|
|
|
operationMap.put(s, s);
|
|
|
+ }else {
|
|
|
+ operationMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
}
|
|
|
- operationMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
+
|
|
|
}
|
|
|
map.put(StandConvertEnum.operation.getName(), operationMap);
|
|
|
|
|
@@ -434,8 +438,10 @@ public class NeoFacade {
|
|
|
System.out.println(standConvertCrfDTO);
|
|
|
if(ListUtil.isEmpty(standConvertCrfDTO.getStandard_words())){
|
|
|
drugMap.put(s, s);
|
|
|
+ }else {
|
|
|
+ drugMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
}
|
|
|
- drugMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
+
|
|
|
}
|
|
|
map.put(StandConvertEnum.drug.getName(), drugMap);
|
|
|
|
|
@@ -449,8 +455,10 @@ public class NeoFacade {
|
|
|
System.out.println(standConvertCrfDTO);
|
|
|
if(ListUtil.isEmpty(standConvertCrfDTO.getStandard_words())){
|
|
|
vitalMap.put(s, s);
|
|
|
+ }else {
|
|
|
+ vitalMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
}
|
|
|
- vitalMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
+
|
|
|
}
|
|
|
map.put(StandConvertEnum.vital.getName(), vitalMap);
|
|
|
|
|
@@ -464,8 +472,9 @@ public class NeoFacade {
|
|
|
System.out.println(standConvertCrfDTO);
|
|
|
if(ListUtil.isEmpty(standConvertCrfDTO.getStandard_words())){
|
|
|
diseaseMap.put(s, s);
|
|
|
+ }else {
|
|
|
+ diseaseMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
}
|
|
|
- diseaseMap.put(s, standConvertCrfDTO.getStandard_words().get(0).get("standard_word"));
|
|
|
}
|
|
|
map.put(StandConvertEnum.disease.getName(), diseaseMap);
|
|
|
|