|
@@ -192,10 +192,10 @@ public class THR03123 extends QCCatalogue {
|
|
|
return false;
|
|
|
}
|
|
|
String str = Str(string);
|
|
|
- String rex1="[\\s\\S]*(?=化)[\\s\\S]{0,6}(?=疗)[\\s\\S]*";
|
|
|
- String rex2="[\\s\\S]*(?=新辅)[\\s\\S]{0,6}(?=疗)[\\s\\S]*";
|
|
|
- String rex3="[\\s\\S]*(?=解救)[\\s\\S]{0,6}(?=疗)[\\s\\S]*";
|
|
|
- String rex4="[\\s\\S]*(?=恶性)[\\s\\S]{0,6}(?=肿瘤)[\\s\\S]{0,6}(?=全身)[\\s\\S]{0,6}(?=治疗)[\\s\\S]*";
|
|
|
+ String rex1="[\\s\\S]*(?=化)[^,;,;。]{0,7}(?=疗)[\\s\\S]*";
|
|
|
+ String rex2="[\\s\\S]*(?=新辅)[^,;,;。]{0,7}(?=疗)[\\s\\S]*";
|
|
|
+ String rex3="[\\s\\S]*(?=解救)[^,;,;。]{0,7}(?=疗)[\\s\\S]*";
|
|
|
+ String rex4="[\\s\\S]*(?=恶性)[^,;,;。]{0,7}(?=肿瘤)[^,;,;。]{0,7}(?=全身)[^,;,;。]{0,7}(?=治疗)[\\s\\S]*";
|
|
|
if(str.matches(rex1) || str.matches(rex2)|| str.matches(rex3)|| str.matches(rex4) ){
|
|
|
return true;
|
|
|
}
|
|
@@ -207,11 +207,11 @@ public class THR03123 extends QCCatalogue {
|
|
|
return false;
|
|
|
}
|
|
|
String str = Str(string);
|
|
|
- String rex1="[\\s\\S]*(?=恶性)[\\s\\S]{0,6}(?=瘤)[\\s\\S]*";
|
|
|
- String rex2="[\\s\\S]*(?=新辅)[\\s\\S]{0,6}(?=治疗)[\\s\\S]*";
|
|
|
- String rex3="[\\s\\S]*(?=解救)[\\s\\S]{0,6}(?=治疗)[\\s\\S]*";
|
|
|
- String rex4="[\\s\\S]*(?=恶性)[\\s\\S]{0,6}(?=肿瘤)[\\s\\S]{0,10}(?=全身)[\\s\\S]{0,6}(?=治疗)[\\s\\S]*";
|
|
|
- String rex5="[\\s\\S]*(?=化)[\\s\\S]{0,6}(?=疗)[\\s\\S]*";
|
|
|
+ String rex1="[\\s\\S]*(?=恶性)[^,;,;。]{0,7}(?=瘤)[\\s\\S]*";
|
|
|
+ String rex2="[\\s\\S]*(?=新辅)[^,;,;。]{0,7}(?=治疗)[\\s\\S]*";
|
|
|
+ String rex3="[\\s\\S]*(?=解救)[^,;,;。]{0,7}(?=治疗)[\\s\\S]*";
|
|
|
+ String rex4="[\\s\\S]*(?=恶性)[^,;,;。]{0,7}(?=肿瘤)[^,;,;。]{0,7}(?=全身)[^,;,;。]{0,7}(?=治疗)[\\s\\S]*";
|
|
|
+ String rex5="[\\s\\S]*(?=化)[^,;,;。]{0,7}(?=疗)[\\s\\S]*";
|
|
|
if(str.contains("肉瘤") || str.contains("淋巴瘤") || str.contains("白血病") || str.contains("癌") || str.contains("canser") ||
|
|
|
str.matches(rex1) ||str.matches(rex2) ||str.matches(rex3) ||str.matches(rex4)||str.contains("can")||str.contains("CA")||str.matches(rex5)){
|
|
|
return true;
|
|
@@ -224,8 +224,8 @@ public class THR03123 extends QCCatalogue {
|
|
|
return false;
|
|
|
}
|
|
|
String str = Str(string);
|
|
|
- String rex1="[\\s\\S]*(?=化)[\\s\\S]{0,6}(?=疗)[\\s\\S]*";
|
|
|
- String rex2="[\\s\\S]*(?=放)[\\s\\S]{0,6}(?=疗)[\\s\\S]*";
|
|
|
+ String rex1="[\\s\\S]*(?=化)[^,;,;。]{0,7}(?=疗)[\\s\\S]*";
|
|
|
+ String rex2="[\\s\\S]*(?=放)[^,;,;。]{0,7}(?=疗)[\\s\\S]*";
|
|
|
if(str.contains("伽马刀") || str.contains("γ刀") || str.contains("粒子植入") || str.contains("立体定向放射") || str.contains("三维适形调强放疗")
|
|
|
|| str.matches(rex1) || str.matches(rex2) ||str.contains("IMRT") ||str.contains("SRT") || str.contains("靶区勾画")
|
|
|
|| str.contains("腹腔灌注")
|