|
@@ -133,21 +133,15 @@ public class THR03090 extends QCCatalogue {
|
|
|
operatorNames = recordDoc.getStructureMap().get("手术者及助手名称");
|
|
|
}
|
|
|
if (StringUtil.isNotBlank(operatorNames)) {
|
|
|
- if (operatorNames.indexOf("、") > 0) {
|
|
|
- operatorNames = operatorNames.replaceAll("、", " ");
|
|
|
- } else if (operatorNames.indexOf(";") > 0) {
|
|
|
- operatorNames = operatorNames.replaceAll(";", " ");
|
|
|
- }
|
|
|
+ operatorNames = operatorNames.replaceAll("、|;", " ")
|
|
|
+ .replaceAll(":|:", "=");
|
|
|
String[] operatorNameArr = operatorNames.split(" ");
|
|
|
if (operatorNameArr.length > 0) {
|
|
|
- if (operatorNameArr[0].indexOf(":") > 0 && !operatorNameArr[0].endsWith(":")) {
|
|
|
- operatorName = operatorNameArr[0].substring(operatorNameArr[0].indexOf(":") + 1);
|
|
|
- } else if (operatorNameArr[0].indexOf(":") > 0 && !operatorNameArr[0].endsWith(":")) {
|
|
|
- operatorName = operatorNameArr[0].substring(operatorNameArr[0].indexOf(":") + 1);
|
|
|
- } else if (operatorNameArr[0].indexOf("=") > 0 && !operatorNameArr[0].endsWith("=")) {
|
|
|
- operatorName = operatorNameArr[0].substring(operatorNameArr[0].indexOf("=") + 1);
|
|
|
+ String[] ky = operatorNameArr[0].split("=");
|
|
|
+ if (ky.length > 1) {
|
|
|
+ operatorName = ky[1].trim();
|
|
|
} else {
|
|
|
- operatorName = operatorNameArr[0];
|
|
|
+ operatorName = operatorNameArr[0].trim();
|
|
|
}
|
|
|
|
|
|
//主任/副主任/主治/住院/副教授/教授/研究生/总住院/进修医/住培医
|