|
@@ -140,9 +140,9 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
//标题有代字
|
|
//标题有代字
|
|
DirectorDoctorWardDoc directorDoctorWardDoc = null;
|
|
DirectorDoctorWardDoc directorDoctorWardDoc = null;
|
|
if (StringUtil.isNotBlank(title)) {
|
|
if (StringUtil.isNotBlank(title)) {
|
|
- if (title.contains("主刀")) {
|
|
|
|
|
|
+ if (title.contains("主刀") || title.contains("术后第")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
- title = title.replace("主刀", doctorTitle);
|
|
|
|
|
|
+ title = title.replace("主刀", doctorTitle).replace("术后第", doctorTitle);
|
|
} else if (title.contains("一助")) {
|
|
} else if (title.contains("一助")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
title = title.replace("一助", doctorTitle);
|
|
title = title.replace("一助", doctorTitle);
|
|
@@ -156,9 +156,9 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
}
|
|
}
|
|
|
|
|
|
if (StringUtil.isNotBlank(writTitle)) {
|
|
if (StringUtil.isNotBlank(writTitle)) {
|
|
- if (writTitle.contains("主刀")) {
|
|
|
|
|
|
+ if (writTitle.contains("主刀") || writTitle.contains("术后第")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
- writTitle = writTitle.replace("主刀", doctorTitle);
|
|
|
|
|
|
+ writTitle = writTitle.replace("主刀", doctorTitle).replace("术后第", doctorTitle);
|
|
} else if (writTitle.contains("一助")) {
|
|
} else if (writTitle.contains("一助")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
writTitle = writTitle.replace("一助", doctorTitle);
|
|
writTitle = writTitle.replace("一助", doctorTitle);
|
|
@@ -187,9 +187,9 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
AttendingDoctorWardDoc attendingDoctorWardDoc = null;
|
|
AttendingDoctorWardDoc attendingDoctorWardDoc = null;
|
|
//标题有代字
|
|
//标题有代字
|
|
if (StringUtil.isNotBlank(title)) {
|
|
if (StringUtil.isNotBlank(title)) {
|
|
- if (title.contains("主刀")) {
|
|
|
|
|
|
+ if (title.contains("主刀") || title.contains("术后第")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
- title = title.replace("主刀", doctorTitle);
|
|
|
|
|
|
+ title = title.replace("主刀", doctorTitle).replace("术后第", doctorTitle);
|
|
} else if (title.contains("一助")) {
|
|
} else if (title.contains("一助")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
title = title.replace("一助", doctorTitle);
|
|
title = title.replace("一助", doctorTitle);
|
|
@@ -204,9 +204,9 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
|
|
|
|
//文书标题和模板标题不一致
|
|
//文书标题和模板标题不一致
|
|
if (StringUtil.isNotBlank(writTitle)) {
|
|
if (StringUtil.isNotBlank(writTitle)) {
|
|
- if (writTitle.contains("主刀")) {
|
|
|
|
|
|
+ if (writTitle.contains("主刀") || writTitle.contains("术后第")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
- writTitle = writTitle.replace("主刀", doctorTitle);
|
|
|
|
|
|
+ writTitle = writTitle.replace("主刀", doctorTitle).replace("术后第", doctorTitle);
|
|
} else if (writTitle.contains("一助")) {
|
|
} else if (writTitle.contains("一助")) {
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
String doctorTitle = getDoctorTitle(operationDocs, recordDate, "一助");
|
|
writTitle = writTitle.replace("一助", doctorTitle);
|
|
writTitle = writTitle.replace("一助", doctorTitle);
|