|
@@ -148,7 +148,7 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
|
title = title.replace("一助", doctorTitle);
|
|
|
}
|
|
|
if ((StringUtils.isNotEmpty(subTitle(title)) && subTitle(title).contains("主任")) || findDirector(content)
|
|
|
- || title.contains("三级")) {
|
|
|
+ || title.contains("三级") || endocrinologyTitle(title)) {
|
|
|
directorDoctorWardDoc = new DirectorDoctorWardDoc();
|
|
|
directorDoctorWardDoc.setStructureMap(structureMap);
|
|
|
directorDoctorWardDoc.setPageData((Map) structureMap);
|
|
@@ -164,7 +164,7 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
|
writTitle = writTitle.replace("一助", doctorTitle);
|
|
|
}
|
|
|
if ((StringUtils.isNotEmpty(subTitle(writTitle)) && subTitle(writTitle).contains("主任")) || findDirector(content)
|
|
|
- || writTitle.contains("三级")) {
|
|
|
+ || writTitle.contains("三级") || endocrinologyTitle(writTitle)) {
|
|
|
directorDoctorWardDoc = new DirectorDoctorWardDoc();
|
|
|
directorDoctorWardDoc.setStructureMap(structureMap);
|
|
|
directorDoctorWardDoc.setPageData((Map) structureMap);
|
|
@@ -195,7 +195,7 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
|
title = title.replace("一助", doctorTitle);
|
|
|
}
|
|
|
if ((StringUtils.isNotEmpty(subTitle(title)) && subTitle(title).contains("主治"))
|
|
|
- || findAttend(content) || title.contains("三级")) {
|
|
|
+ || findAttend(content) || title.contains("三级") || endocrinologyTitle(title)) {
|
|
|
attendingDoctorWardDoc = new AttendingDoctorWardDoc();
|
|
|
attendingDoctorWardDoc.setStructureMap(structureMap);
|
|
|
attendingDoctorWardDoc.setPageData((Map) structureMap);
|
|
@@ -212,7 +212,7 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
|
writTitle = writTitle.replace("一助", doctorTitle);
|
|
|
}
|
|
|
if ((StringUtils.isNotEmpty(subTitle(writTitle)) && subTitle(writTitle).contains("主治"))
|
|
|
- || findAttend(content) || writTitle.contains("三级")) {
|
|
|
+ || findAttend(content) || writTitle.contains("三级") || endocrinologyTitle(writTitle)) {
|
|
|
attendingDoctorWardDoc = new AttendingDoctorWardDoc();
|
|
|
attendingDoctorWardDoc.setStructureMap(structureMap);
|
|
|
attendingDoctorWardDoc.setPageData((Map) structureMap);
|
|
@@ -221,6 +221,16 @@ public class BeiLunThreeLevelWardDocTrans extends ModelDocTrans {
|
|
|
return attendingDoctorWardDoc;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 北仑内分泌科主任主治处理
|
|
|
+ *
|
|
|
+ * @param title
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ private boolean endocrinologyTitle(String title) {
|
|
|
+ String regex = ".*主任.*主任.*主治.*";
|
|
|
+ return title.matches(regex);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 共同照护讨论记录中找主任查房
|