|
@@ -39,9 +39,7 @@ public class THR0127 extends QCCatalogue {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (inputInfo.getLeaveHospitalDoc() != null
|
|
|
- && inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getStructureMap() != null
|
|
|
- && inputInfo.getThreeLevelWardDocs().size() > 0) {
|
|
|
+ if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getThreeLevelWardDocs().size() > 0) {
|
|
|
Map<String, String> beHospitalStructureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
String admisTime = beHospitalStructureMap.get("入院日期");
|
|
|
if (CatalogueUtil.isEmpty(admisTime)) {
|
|
@@ -138,10 +136,10 @@ public class THR0127 extends QCCatalogue {
|
|
|
/* 替换查房标题中主刀/一助的职称 */
|
|
|
List<OperationDoc> operationDocs = inputInfo.getOperationDocs();
|
|
|
if (title.contains("主刀")) {
|
|
|
- String doctorTitle = CatalogueUtil.getDoctorTitle(operationDocs, recordDate,"主刀医师");
|
|
|
+ String doctorTitle = CatalogueUtil.getDoctorTitle(operationDocs, recordDate, "主刀医师");
|
|
|
title = title.replace("主刀", doctorTitle);
|
|
|
- } else if (title.contains("一助")){
|
|
|
- String doctorTitle = CatalogueUtil.getDoctorTitle(operationDocs, recordDate,"一助");
|
|
|
+ } else if (title.contains("一助")) {
|
|
|
+ String doctorTitle = CatalogueUtil.getDoctorTitle(operationDocs, recordDate, "一助");
|
|
|
title = title.replace("一助", doctorTitle);
|
|
|
}
|
|
|
if (admisDate.before(recordDate) && !CatalogueUtil.compareTime(admisDate, recordDate, Long.valueOf(duration))) {
|