|
@@ -37,8 +37,9 @@ public class LEA0149 extends QCCatalogue {
|
|
|
Map<String, String> lhStructureMap = leaveHospitalDoc.getStructureMap();
|
|
|
ChiefLabel chiefLabel = beHospitalizedDoc.getChiefLabel();
|
|
|
if (lhStructureMap != null && chiefLabel != null) {
|
|
|
- String bhChief = chiefLabel.getText().replace("。","");
|
|
|
+ String bhChief = chiefLabel.getText().replaceAll("[\\p{Punct}\\pP]", "");
|
|
|
String bhThings = lhStructureMap.get("入院情况");
|
|
|
+ bhThings = bhThings.replaceAll("[\\p{Punct}\\pP]", "");
|
|
|
if (bhThings.indexOf(bhChief) < 0) {
|
|
|
status.set("-1");
|
|
|
}
|