|
@@ -36,7 +36,7 @@ public class LEA0149 extends QCCatalogue {
|
|
Map<String, String> lhStructureMap = leaveHospitalDoc.getStructureMap();
|
|
Map<String, String> lhStructureMap = leaveHospitalDoc.getStructureMap();
|
|
ChiefLabel chiefLabel = beHospitalizedDoc.getChiefLabel();
|
|
ChiefLabel chiefLabel = beHospitalizedDoc.getChiefLabel();
|
|
if (lhStructureMap != null && chiefLabel != null) {
|
|
if (lhStructureMap != null && chiefLabel != null) {
|
|
- String bhChief = chiefLabel.getText().replaceAll("[\\p{Punct}\\pP。-]", "");
|
|
|
|
|
|
+ String bhChief = chiefLabel.getText();
|
|
String leaveChief = lhStructureMap.get("主诉");
|
|
String leaveChief = lhStructureMap.get("主诉");
|
|
String bhThings = lhStructureMap.get("入院情况");
|
|
String bhThings = lhStructureMap.get("入院情况");
|
|
if (StringUtil.isNotBlank(bhThings)){
|
|
if (StringUtil.isNotBlank(bhThings)){
|
|
@@ -45,6 +45,7 @@ public class LEA0149 extends QCCatalogue {
|
|
|
|
|
|
//如果出院小结结构化数据能取出主诉,则直接用该主诉和入院记录主诉比较
|
|
//如果出院小结结构化数据能取出主诉,则直接用该主诉和入院记录主诉比较
|
|
if (StringUtil.isNotBlank(leaveChief)) {
|
|
if (StringUtil.isNotBlank(leaveChief)) {
|
|
|
|
+ /*leaveChief = leaveChief.replaceAll("[\\p{Punct}\\pP。]", "");*/
|
|
leaveChief = leaveChief.replaceAll("[\\p{Punct}\\pP。-]", "");
|
|
leaveChief = leaveChief.replaceAll("[\\p{Punct}\\pP。-]", "");
|
|
if (bhChief.equals(leaveChief)) {
|
|
if (bhChief.equals(leaveChief)) {
|
|
status.set("0");
|
|
status.set("0");
|