|
@@ -69,7 +69,7 @@ public class GraphCalculate {
|
|
|
Map<String,Double> lis_Result = new HashMap<>();
|
|
|
if(lisArr != null && lisArr.size() > 0){
|
|
|
for (LisDetail lis:lisArr) {
|
|
|
- String detailName = lis.getDetailName();
|
|
|
+ String detailName = lis.getUniqueName();
|
|
|
Double value = lis.getValue();
|
|
|
lis_Result.put(detailName,value);
|
|
|
lisSet.add(detailName);
|
|
@@ -78,6 +78,10 @@ public class GraphCalculate {
|
|
|
logger.info("页面导入的所有化验项为 :" +lisSet);
|
|
|
//走治疗
|
|
|
if (webDiag.trim() != null && webDiag.trim() != "" && featureTypeList.contains("8")) {
|
|
|
+ // 查找页面诊断里是否有不良反应
|
|
|
+ String[] webDiagList = webDiag.split(",|,|、|;|:|;");
|
|
|
+ Map<String, List<String>> disUE = neo4jAPI.getDisUE(webDiagList, diseaseType);
|
|
|
+
|
|
|
//走平常诊断治疗
|
|
|
Map<String, Filnlly> mulDiseaseTreat = neo4jAPI.getMulDiseaseTreat_2(webDiag, diseaseType, diseaseSet, String.join(",", inputList));
|
|
|
responseData.setTreat(mulDiseaseTreat);
|