|
@@ -26,30 +26,10 @@ public class BEH0448 extends QCCatalogue {
|
|
}
|
|
}
|
|
BeHospitalizedDoc beHospitalizedDoc = inputInfo.getBeHospitalizedDoc();
|
|
BeHospitalizedDoc beHospitalizedDoc = inputInfo.getBeHospitalizedDoc();
|
|
if (beHospitalizedDoc != null) {
|
|
if (beHospitalizedDoc != null) {
|
|
- int cnt = 0;
|
|
|
|
-
|
|
|
|
- List<Clinical> clinicals_present = beHospitalizedDoc.getPresentLabel().getClinicals();
|
|
|
|
-
|
|
|
|
- String present_txt = beHospitalizedDoc.getPresentLabel().getText();
|
|
|
|
- String present_chief_txt = present_txt.split("伴")[1];
|
|
|
|
-
|
|
|
|
- List<String> present_symp = new ArrayList<>();
|
|
|
|
-
|
|
|
|
- for (Clinical clinical : clinicals_present) {
|
|
|
|
- if (clinical.getNegative() == null) {
|
|
|
|
- if (present_symp.indexOf(clinical.getName()) == -1) {
|
|
|
|
- present_symp.add(clinical.getName());
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- for (String symp : present_symp) {
|
|
|
|
- if (present_chief_txt.contains(symp)) {
|
|
|
|
- cnt += 1;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- if (cnt == 0) {
|
|
|
|
|
|
+ List<Clinical> clinicals = beHospitalizedDoc.getPresentLabel().getClinicals();
|
|
|
|
+ if (clinicals.size() < 2) {
|
|
status.set("-1");
|
|
status.set("-1");
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|