|
@@ -69,7 +69,7 @@ public class BillProcess {
|
|
// 合并图谱数据到同一个对象中
|
|
// 合并图谱数据到同一个对象中
|
|
List<BillNeoMaxDTO> billNeoMaxDTOList = new ArrayList<>();
|
|
List<BillNeoMaxDTO> billNeoMaxDTOList = new ArrayList<>();
|
|
for (BillNeoDTO billNeoDTO : billNeoDTOList) {
|
|
for (BillNeoDTO billNeoDTO : billNeoDTOList) {
|
|
- BillNeoMaxDTO billNeoMaxDTO = new BillNeoMaxDTO();
|
|
|
|
|
|
+ BillNeoMaxDTO billNeoMaxDTO = new BillNeoMaxDTO();
|
|
if (billNeoDTO.getDrugBillNeoDTO() != null) {
|
|
if (billNeoDTO.getDrugBillNeoDTO() != null) {
|
|
BeanUtil.copyProperties(billNeoDTO.getDrugBillNeoDTO(), billNeoMaxDTO);
|
|
BeanUtil.copyProperties(billNeoDTO.getDrugBillNeoDTO(), billNeoMaxDTO);
|
|
billNeoMaxDTO.setType(TypeEnum.drug.getName());
|
|
billNeoMaxDTO.setType(TypeEnum.drug.getName());
|
|
@@ -175,7 +175,7 @@ public class BillProcess {
|
|
List<Medicine> takeMedicine = presentLabel.getTakeMedicine();
|
|
List<Medicine> takeMedicine = presentLabel.getTakeMedicine();
|
|
List<Medicine> allergyDrug = new ArrayList<>();
|
|
List<Medicine> allergyDrug = new ArrayList<>();
|
|
List<Drug> drug = wordCrfDTO.getDrug();
|
|
List<Drug> drug = wordCrfDTO.getDrug();
|
|
- for(Item item:drug){
|
|
|
|
|
|
+ for (Item item : drug) {
|
|
Medicine operaData = new Medicine();
|
|
Medicine operaData = new Medicine();
|
|
operaData.setName(item.getName());
|
|
operaData.setName(item.getName());
|
|
operaData.setStandName(item.getUniqueName());
|
|
operaData.setStandName(item.getUniqueName());
|
|
@@ -217,7 +217,7 @@ public class BillProcess {
|
|
List<Operation> operations_past = pastLabel.getOperations();
|
|
List<Operation> operations_past = pastLabel.getOperations();
|
|
List<Item> operation = wordCrfDTO.getOperation();
|
|
List<Item> operation = wordCrfDTO.getOperation();
|
|
List<Operation> operationsItem = new ArrayList<>();
|
|
List<Operation> operationsItem = new ArrayList<>();
|
|
- for(Item item:operation){
|
|
|
|
|
|
+ for (Item item : operation) {
|
|
Operation operaData = new Operation();
|
|
Operation operaData = new Operation();
|
|
operaData.setName(item.getName());
|
|
operaData.setName(item.getName());
|
|
operaData.setStandName(item.getUniqueName());
|
|
operaData.setStandName(item.getUniqueName());
|
|
@@ -229,7 +229,7 @@ public class BillProcess {
|
|
|
|
|
|
// 临床表现数据
|
|
// 临床表现数据
|
|
List<Clinical> clinicals = new ArrayList<>();
|
|
List<Clinical> clinicals = new ArrayList<>();
|
|
- if(chiefLabel != null && ListUtil.isNotEmpty(chiefLabel.getClinicals())){
|
|
|
|
|
|
+ if (chiefLabel != null && ListUtil.isNotEmpty(chiefLabel.getClinicals())) {
|
|
clinicals.addAll(chiefLabel.getClinicals());
|
|
clinicals.addAll(chiefLabel.getClinicals());
|
|
}
|
|
}
|
|
// 现病史临床表现数据先不用
|
|
// 现病史临床表现数据先不用
|