|
@@ -1,5 +1,6 @@
|
|
package com.diagbot.process;
|
|
package com.diagbot.process;
|
|
|
|
|
|
|
|
+import com.diagbot.biz.push.entity.Item;
|
|
import com.diagbot.dto.BillMsg;
|
|
import com.diagbot.dto.BillMsg;
|
|
import com.diagbot.dto.BillNeoDTO;
|
|
import com.diagbot.dto.BillNeoDTO;
|
|
import com.diagbot.dto.BillNeoMaxDTO;
|
|
import com.diagbot.dto.BillNeoMaxDTO;
|
|
@@ -8,7 +9,6 @@ import com.diagbot.dto.WordCrfDTO;
|
|
import com.diagbot.enums.NeoEnum;
|
|
import com.diagbot.enums.NeoEnum;
|
|
import com.diagbot.facade.NeoFacade;
|
|
import com.diagbot.facade.NeoFacade;
|
|
import com.diagbot.model.entity.Clinical;
|
|
import com.diagbot.model.entity.Clinical;
|
|
-import com.diagbot.model.entity.Diag;
|
|
|
|
import com.diagbot.model.entity.GeneralDesc;
|
|
import com.diagbot.model.entity.GeneralDesc;
|
|
import com.diagbot.model.entity.Medicine;
|
|
import com.diagbot.model.entity.Medicine;
|
|
import com.diagbot.model.entity.Operation;
|
|
import com.diagbot.model.entity.Operation;
|
|
@@ -114,7 +114,7 @@ public class BillProcess {
|
|
// }
|
|
// }
|
|
// 测试数据结束
|
|
// 测试数据结束
|
|
|
|
|
|
- // System.out.println(billNeoMaxDTO);
|
|
|
|
|
|
+ System.out.println(billNeoMaxDTO);
|
|
billNeoMaxDTOList.add(billNeoMaxDTO);
|
|
billNeoMaxDTOList.add(billNeoMaxDTO);
|
|
}
|
|
}
|
|
processRule(billNeoMaxDTOList, wordCrfDTO, res);
|
|
processRule(billNeoMaxDTOList, wordCrfDTO, res);
|
|
@@ -133,7 +133,7 @@ public class BillProcess {
|
|
List<Vital> vitals = wordCrfDTO.getVitalLabel().getVitals();
|
|
List<Vital> vitals = wordCrfDTO.getVitalLabel().getVitals();
|
|
|
|
|
|
// 诊断数据
|
|
// 诊断数据
|
|
- List<Diag> diags = diagLabel.getDiags();
|
|
|
|
|
|
+ List<Item> diags = wordCrfDTO.getDiag();
|
|
|
|
|
|
// 手术数据
|
|
// 手术数据
|
|
List<Operation> operations_present = presentLabel.getOperations();
|
|
List<Operation> operations_present = presentLabel.getOperations();
|
|
@@ -159,7 +159,7 @@ public class BillProcess {
|
|
AgeRule.compareAgeWithBill(wordCrfDTO, bill, billMsgList, NeoEnum.ageNeoDTO.getName());
|
|
AgeRule.compareAgeWithBill(wordCrfDTO, bill, billMsgList, NeoEnum.ageNeoDTO.getName());
|
|
|
|
|
|
// 诊断
|
|
// 诊断
|
|
- CommonRule.compareNameWithBill(bill.getDisease(), diags, bill, billMsgList, NeoEnum.disease.getName());
|
|
|
|
|
|
+ CommonRule.compareItemWithBill(bill.getDisease(), diags, bill, billMsgList, NeoEnum.disease.getName());
|
|
|
|
|
|
// 化验
|
|
// 化验
|
|
LisRule.compareLisWithBill(wordCrfDTO.getLis(), bill, billMsgList, NeoEnum.lis.getName());
|
|
LisRule.compareLisWithBill(wordCrfDTO.getLis(), bill, billMsgList, NeoEnum.lis.getName());
|
|
@@ -182,7 +182,8 @@ public class BillProcess {
|
|
// 服用药品(现病史一般情况后的药品)
|
|
// 服用药品(现病史一般情况后的药品)
|
|
DrugRule.compareDrugWithBill(bill.getOralmeds(), takeMedicine(presentLabel), bill, billMsgList, drugMap, NeoEnum.oralmeds.getName());
|
|
DrugRule.compareDrugWithBill(bill.getOralmeds(), takeMedicine(presentLabel), bill, billMsgList, drugMap, NeoEnum.oralmeds.getName());
|
|
|
|
|
|
- // 禁用人群 TODO
|
|
|
|
|
|
+ // 禁用人群
|
|
|
|
+ // GroupRule.compareGroupWithBill(wordCrfDTO, bill, billMsgList, NeoEnum.group.getName());
|
|
}
|
|
}
|
|
|
|
|
|
// 24小时重复开单项
|
|
// 24小时重复开单项
|