|
@@ -46,6 +46,18 @@ public class THR0126 extends QCCatalogue {
|
|
|
status.set("0");
|
|
|
return;
|
|
|
}
|
|
|
+ }
|
|
|
+ if (inputInfo.getBeHospitalizedDoc() != null) {
|
|
|
+ Map<String, String> beHospitalStructureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
+ String admisTime = beHospitalStructureMap.get("入院日期");
|
|
|
+ if (CatalogueUtil.isEmpty(admisTime)) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ //开始时间(入院时间)
|
|
|
+ Date beginDate = StringUtil.parseDateTime(admisTime);
|
|
|
+ if (beginDate == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
/* 首次病程录如果是主治或者主任写的,也算主治查房 */
|
|
|
FirstCourseRecordDoc firstCourseRecordDoc = inputInfo.getFirstCourseRecordDoc();
|
|
|
if (firstCourseRecordDoc != null) {
|
|
@@ -68,16 +80,13 @@ public class THR0126 extends QCCatalogue {
|
|
|
status.set("0");
|
|
|
}
|
|
|
}
|
|
|
- } else {
|
|
|
- //没有出院小结,这条直接不报错
|
|
|
- status.set("0");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private String getFirstCourseProfessor(FirstCourseRecordDoc firstCourseRecordDoc) {
|
|
|
String professor = "";
|
|
|
String doctorSign = firstCourseRecordDoc.getStructureMap().get("记录医师");
|
|
|
- if (StringUtil.isBlank(doctorSign)){
|
|
|
+ if (StringUtil.isBlank(doctorSign)) {
|
|
|
return professor;
|
|
|
}
|
|
|
SpecialStorageUtil specialStorageUtil = SpringContextUtil.getBean("specialStorageUtil");
|