|
@@ -82,6 +82,23 @@ public class BEH02980 extends QCCatalogue {
|
|
|
|
|
|
if (pastLabel != null && StringUtils.isNotEmpty(pastLabel.getText())) {
|
|
|
extract_diags(pastLabel.getDiags(), pos_diags, neg_diags);
|
|
|
+ //否认其他的情况
|
|
|
+ String pasttext=pastLabel.getText();
|
|
|
+ String neg_diags_first [] = pasttext.split("否认");
|
|
|
+ for (String str1 : neg_diags_first) {
|
|
|
+ String neg_diags_second [] = str1.split("、");
|
|
|
+ for (String str2 : neg_diags_second) {
|
|
|
+ for (String neg_diag : neg_diags) {
|
|
|
+ if(str2.contains(neg_diag)){
|
|
|
+ String str3 = str2.substring(0,str2.indexOf(neg_diag));
|
|
|
+ if(str3.contains("其它") || str3.contains("其他")) {
|
|
|
+ int index= neg_diags.indexOf(neg_diag);
|
|
|
+ neg_diags.set(index,"其它的");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
//过敏史
|
|
|
extract_Allergy(pastLabel.getAllergies(), pos_diags, neg_diags, pastLabel.getText());
|
|
|
} else {
|