|
@@ -77,6 +77,7 @@ public class BEH0011 extends QCCatalogue {
|
|
List<Diag> initialDiagDiags = initialDiagLabel.getDiags();
|
|
List<Diag> initialDiagDiags = initialDiagLabel.getDiags();
|
|
addDiagHospitalName(initDiags, initialDiagDiags);
|
|
addDiagHospitalName(initDiags, initialDiagDiags);
|
|
|
|
|
|
|
|
+ String infoStr = "";
|
|
int matchSum = 0;
|
|
int matchSum = 0;
|
|
ModelAI modelAI = new ModelAI();
|
|
ModelAI modelAI = new ModelAI();
|
|
for (String presentPastDiag : presentPastDiags) {
|
|
for (String presentPastDiag : presentPastDiags) {
|
|
@@ -89,10 +90,19 @@ public class BEH0011 extends QCCatalogue {
|
|
double likeRate = jsonArray.getDoubleValue(1);
|
|
double likeRate = jsonArray.getDoubleValue(1);
|
|
if (likeRate > 0.9) {
|
|
if (likeRate > 0.9) {
|
|
matchSum++;
|
|
matchSum++;
|
|
|
|
+ } else {
|
|
|
|
+ if (StringUtil.isBlank(infoStr)) {
|
|
|
|
+ infoStr += presentPastDiag;
|
|
|
|
+ } else {
|
|
|
|
+ if (!infoStr.contains(presentPastDiag)) {
|
|
|
|
+ infoStr += "," + presentPastDiag;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (matchSum == presentPastDiags.size()){
|
|
|
|
|
|
+ info.set(infoStr);
|
|
|
|
+ if (matchSum == presentPastDiags.size()) {
|
|
status.set("0");
|
|
status.set("0");
|
|
}
|
|
}
|
|
/*
|
|
/*
|