|
@@ -18,6 +18,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.*;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
|
* @ClassName : BEH0011
|
|
@@ -44,6 +45,8 @@ public class BEH0011 extends QCCatalogue {
|
|
|
}
|
|
|
PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
|
|
|
DiagLabel initialDiagLabel = inputInfo.getBeHospitalizedDoc().getInitialDiagLabel();
|
|
|
+ /*补充诊断*/
|
|
|
+ DiagLabel suppleDiagLabel = inputInfo.getBeHospitalizedDoc().getSuppleDiagLabel();
|
|
|
PastLabel pastLabel = inputInfo.getBeHospitalizedDoc().getPastLabel();
|
|
|
if (initialDiagLabel == null) {
|
|
|
status.set("0");
|
|
@@ -105,6 +108,9 @@ public class BEH0011 extends QCCatalogue {
|
|
|
List<String> initDiags = new ArrayList<>();
|
|
|
List<Diag> initialDiagDiags = initialDiagLabel.getDiags();
|
|
|
addInitDiagHospitalName(initDiags, initialDiagDiags);
|
|
|
+ List<Diag> suppleDiagDiags = suppleDiagLabel.getDiags();
|
|
|
+ addInitDiagHospitalName(initDiags, suppleDiagDiags);
|
|
|
+ initDiags = initDiags.stream().distinct().collect(Collectors.toList());
|
|
|
|
|
|
String infoStr = "";
|
|
|
int matchSum = 0;
|