|
@@ -135,10 +135,12 @@ public class ChangxThreeLevelWardDocTrans extends ModelDocTrans {
|
|
|
String content = structureMap.get("病情记录");
|
|
|
AttendingDoctorWardDoc attendingDoctorWardDoc = null;
|
|
|
//标题有代字
|
|
|
- if ((StringUtils.isNotEmpty(subTitle(title)) && subTitle(title).contains("主治")) || findAttend(title, content)) {
|
|
|
- attendingDoctorWardDoc = new AttendingDoctorWardDoc();
|
|
|
- attendingDoctorWardDoc.setStructureMap(structureMap);
|
|
|
- attendingDoctorWardDoc.setPageData((Map) structureMap);
|
|
|
+ if (StringUtil.isNotBlank(title)) {
|
|
|
+ if ((StringUtils.isNotEmpty(subTitle(title)) && subTitle(title).contains("主治")) || findAttend(title, content)) {
|
|
|
+ attendingDoctorWardDoc = new AttendingDoctorWardDoc();
|
|
|
+ attendingDoctorWardDoc.setStructureMap(structureMap);
|
|
|
+ attendingDoctorWardDoc.setPageData((Map) structureMap);
|
|
|
+ }
|
|
|
}
|
|
|
return attendingDoctorWardDoc;
|
|
|
}
|