|
@@ -17,7 +17,9 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.HashSet;
|
|
|
import java.util.List;
|
|
|
+import java.util.Set;
|
|
|
|
|
|
/**
|
|
|
* @ClassName : FIRC0095
|
|
@@ -43,7 +45,7 @@ public class FIRC0095 extends QCCatalogue {
|
|
|
status.set("0");
|
|
|
return;
|
|
|
}
|
|
|
- List<String> presentPastDiags = new ArrayList<>();
|
|
|
+ Set<String> presentPastDiags = new HashSet<>();
|
|
|
if (presentLabel != null) {
|
|
|
List<GeneralDesc> generals = presentLabel.getGenerals();
|
|
|
if (generals.size() > 0) {
|
|
@@ -112,7 +114,7 @@ public class FIRC0095 extends QCCatalogue {
|
|
|
*/
|
|
|
}
|
|
|
|
|
|
- private void addDiagHospitalName(List<String> presentPastDiag, List<Diag> pastDiags) {
|
|
|
+ private void addDiagHospitalName(Set<String> presentPastDiag, List<Diag> pastDiags) {
|
|
|
for (Diag pastDiag : pastDiags) {
|
|
|
if (pastDiag.getNegative() != null) {
|
|
|
continue;
|