|
@@ -724,10 +724,26 @@ public class Neo4jAPI {
|
|
}
|
|
}
|
|
for (String qu : quezhen) {
|
|
for (String qu : quezhen) {
|
|
Map<String, String> dis_res = new HashMap<>();
|
|
Map<String, String> dis_res = new HashMap<>();
|
|
- dis_res.put("确诊", "");
|
|
|
|
- diseaseCondition.put(qu, JSON.toJSONString(dis_res));
|
|
|
|
|
|
+// dis_res.put("确诊", "");
|
|
|
|
+// diseaseCondition.put(qu, JSON.toJSONString(dis_res));
|
|
|
|
+ diseaseCondition.put(qu,"确诊");
|
|
logger.info("图谱推出的诊断为: " + qu);
|
|
logger.info("图谱推出的诊断为: " + qu);
|
|
}
|
|
}
|
|
|
|
+ if(webDiag != null && webDiag.trim() != ""){
|
|
|
|
+ String[] webDiagSplits = webDiag.split(",");
|
|
|
|
+ String mainDiag = webDiagSplits[0];
|
|
|
|
+ query = propertiesUtil.getProperty("searchDifferentialDiagnose").replace("mainDis", mainDiag);
|
|
|
|
+ result = session.run(query);
|
|
|
|
+ while (result.hasNext()) {
|
|
|
|
+ Record record = result.next();
|
|
|
|
+ List<Object> coll = record.get("coll").asList();
|
|
|
|
+ if(coll != null && coll.size()>0){
|
|
|
|
+ for (Object o:coll) {
|
|
|
|
+ diseaseCondition.put(o.toString().replace("\"",""),"鉴别诊断");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
//查找指标推送
|
|
//查找指标推送
|
|
Set<String> indSet = new HashSet<>();
|
|
Set<String> indSet = new HashSet<>();
|
|
query = propertiesUtil.getProperty("searchIndication").replace("fildList", fildList.toString());
|
|
query = propertiesUtil.getProperty("searchIndication").replace("fildList", fildList.toString());
|