|
@@ -77,10 +77,11 @@ public class GraphCalculate {
|
|
|
Map<String, Map<String,String>> condition =null;
|
|
|
Map<String, Map<String, String>> excludelist = null;
|
|
|
if(featureTypeList.contains("2")){
|
|
|
- condition = neo4jAPI.getNewCondition((String[]) inputList.toArray(new String[inputList.size()]),webDiag );
|
|
|
+ // 暂停图谱查询服务
|
|
|
+// condition = neo4jAPI.getNewCondition((String[]) inputList.toArray(new String[inputList.size()]),webDiag );
|
|
|
|
|
|
// 查找需要排除的诊断
|
|
|
- excludelist = neo4jAPI.getExcludeDiag(inputList);
|
|
|
+// excludelist = neo4jAPI.getExcludeDiag(inputList);
|
|
|
responseData.setExcludeDiag(Arrays.asList(excludelist.keySet().stream().toArray(String[]::new)));
|
|
|
}
|
|
|
|
|
@@ -134,29 +135,33 @@ public class GraphCalculate {
|
|
|
if (webDiag !=null && webDiag.trim() != null && webDiag.trim() != "" && featureTypeList.contains("6")) {
|
|
|
// 查找页面诊断里是否有不良反应
|
|
|
String[] webDiagList = webDiag.split(",|,|、|;|:|;");
|
|
|
- Map<String, List<String>> disUE = neo4jAPI.getDisUE(webDiagList, diseaseType);
|
|
|
+ // 暂停图谱查询服务
|
|
|
+// Map<String, List<String>> disUE = neo4jAPI.getDisUE(webDiagList, diseaseType);
|
|
|
//根据页面输入内容推出的不良反应集合
|
|
|
- Set<String> ue = neo4jAPI.getUe((String[]) inputList.toArray(new String[inputList.size()]));
|
|
|
+// Set<String> ue = neo4jAPI.getUe((String[]) inputList.toArray(new String[inputList.size()]));
|
|
|
//走平常诊断治疗
|
|
|
- Map<String, Filnlly> mulDiseaseTreat = neo4jAPI.getMulDiseaseTreat_2(webDiag, diseaseType, diseaseSet,disUE,ue,String.join(",", inputList));
|
|
|
- responseData.setTreat(mulDiseaseTreat);
|
|
|
+// Map<String, Filnlly> mulDiseaseTreat = neo4jAPI.getMulDiseaseTreat_2(webDiag, diseaseType, diseaseSet,disUE,ue,String.join(",", inputList));
|
|
|
+// responseData.setTreat(mulDiseaseTreat);
|
|
|
}
|
|
|
//管理评估(慢病才有)
|
|
|
if (featureTypeList.contains("11") && diseaseType == 1 && diseaseType != null) {
|
|
|
logger.info("featureTypeList 包含11,走管理评估!!!");
|
|
|
if(webDiag != null){
|
|
|
String[] webDiagsplits = webDiag.split(",|,|、|;|:|;");
|
|
|
- MangementEvaluation mangementEvaluation = neo4jAPI.pushMe(webDiagsplits,lis_Result);
|
|
|
- Map<String, JSONObject> mangementEvaluation1 = mangementEvaluation.getMangementEvaluation();
|
|
|
- responseData.setManagementEvaluation(mangementEvaluation1);
|
|
|
+ // 暂停图谱查询服务
|
|
|
+// MangementEvaluation mangementEvaluation = neo4jAPI.pushMe(webDiagsplits,lis_Result);
|
|
|
+// Map<String, JSONObject> mangementEvaluation1 = mangementEvaluation.getMangementEvaluation();
|
|
|
+// responseData.setManagementEvaluation(mangementEvaluation1);
|
|
|
}
|
|
|
}
|
|
|
String pacsOrder = searchData.getPacsOrder();
|
|
|
//指标推送
|
|
|
if (featureTypeList.contains("22") ) {
|
|
|
List<MedicalIndication> pacsMi = getPacsMi(pacsOrder, inputList,webDiag);
|
|
|
+ // 暂停图谱查询服务
|
|
|
//查找指标
|
|
|
- Set<String> indSet = neo4jAPI.getInd((String[]) inputList.toArray(new String[inputList.size()]));
|
|
|
+ Set<String> indSet = new HashSet<>();
|
|
|
+// Set<String> indSet = neo4jAPI.getInd((String[]) inputList.toArray(new String[inputList.size()]));
|
|
|
logger.info("featureTypeList 包含22,走指标推送!!!,图谱推出的指标为:" + indSet);
|
|
|
if(indSet.contains("肾功能不全")){
|
|
|
List<MedicalIndication> idn = neo4jAPI.getIdn(indSet, age, sex);
|
|
@@ -184,7 +189,9 @@ public class GraphCalculate {
|
|
|
}
|
|
|
|
|
|
List<MedicalIndication> pacsMi = new ArrayList<>();
|
|
|
- Map<String, String> newInd = neo4jAPI.getNewInd((String[]) inputList.toArray(new String[inputList.size()]));
|
|
|
+ // 暂停图谱查询服务
|
|
|
+ Map<String, String> newInd = new HashMap<>();
|
|
|
+// Map<String, String> newInd = neo4jAPI.getNewInd((String[]) inputList.toArray(new String[inputList.size()]));
|
|
|
if(StringUtils.isNotEmpty(pacsOrder)){
|
|
|
String[] pacsOrders = pacsOrder.split(",|,");
|
|
|
for (String pacs:pacsOrders) {
|
|
@@ -218,8 +225,9 @@ public class GraphCalculate {
|
|
|
disList.add("\""+f.getFeatureName()+"\"");
|
|
|
}
|
|
|
}
|
|
|
+ // 暂停图谱查询服务
|
|
|
// 第一步先过滤性别和年龄
|
|
|
- Set<String> filterSexAgeList = neo4jAPI.filterDisFromSexAge(disList,sex,age);
|
|
|
+// Set<String> filterSexAgeList = neo4jAPI.filterDisFromSexAge(disList,sex,age);
|
|
|
|
|
|
|
|
|
}
|