|
@@ -8,9 +8,11 @@ import com.lantone.qc.pub.model.doc.MedicalRecordInfoDoc;
|
|
import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
|
|
import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
|
|
import com.lantone.qc.pub.model.doc.operation.OperationDoc;
|
|
import com.lantone.qc.pub.model.doc.operation.OperationDoc;
|
|
import com.lantone.qc.pub.util.DateUtil;
|
|
import com.lantone.qc.pub.util.DateUtil;
|
|
|
|
+import com.lantone.qc.pub.util.ListUtil;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
import java.util.Objects;
|
|
import java.util.Objects;
|
|
@@ -85,12 +87,30 @@ public class THR03090 extends QCCatalogue {
|
|
if (operator.contains("(")) {
|
|
if (operator.contains("(")) {
|
|
operator = operator.substring(0, operator.indexOf("("));
|
|
operator = operator.substring(0, operator.indexOf("("));
|
|
}
|
|
}
|
|
|
|
+ List<String> chiefSurgeonList = new ArrayList<>();
|
|
operator = operator
|
|
operator = operator
|
|
.replace(" ", "")
|
|
.replace(" ", "")
|
|
.replace("副教授", "")
|
|
.replace("副教授", "")
|
|
.replace("副主任医师", "")
|
|
.replace("副主任医师", "")
|
|
.replace("主任医师", "")
|
|
.replace("主任医师", "")
|
|
|
|
+ .replace("总住院医师", "")
|
|
|
|
+ .replace("住院医师", "")
|
|
|
|
+ .replace("主治医师", "")
|
|
|
|
+ .replace("经治医师", "")
|
|
.replace(" ", "");
|
|
.replace(" ", "");
|
|
|
|
+ if(operator.contains("、")){
|
|
|
|
+ String[] split1 = operator.split("、");
|
|
|
|
+ for (String chiefSurgeons : split1) {
|
|
|
|
+ chiefSurgeonList.add(chiefSurgeons);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(ListUtil.isNotEmpty(chiefSurgeonList)){
|
|
|
|
+ for (String chiefSurgeons : chiefSurgeonList) {
|
|
|
|
+ if(content.contains(chiefSurgeons)){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
//比较病例内容
|
|
//比较病例内容
|
|
if (StringUtil.isNotBlank(content)) {
|
|
if (StringUtil.isNotBlank(content)) {
|
|
if (content.contains("。")) {
|
|
if (content.contains("。")) {
|