|
@@ -1,4 +1,4 @@
|
|
|
-package com.lantone.qc.kernel.catalogue.hospital.beilun.preoperativediscussion;
|
|
|
+package com.lantone.qc.kernel.catalogue.beilun.preoperativediscussion;
|
|
|
|
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
import com.lantone.qc.kernel.util.CatalogueUtil;
|
|
@@ -42,9 +42,6 @@ public class PRE0328 extends QCCatalogue {
|
|
|
return;
|
|
|
}
|
|
|
boolean emergencyOperation = false;
|
|
|
-
|
|
|
- FirstPageRecordDoc firstPageRecordDoc = inputInfo.getFirstPageRecordDoc();
|
|
|
- String behospitalWay = firstPageRecordDoc.getStructureMap().get("入院途径");
|
|
|
if (inputInfo.getBeHospitalizedDoc() != null) {
|
|
|
Map<String, String> beHospitalStructureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
String admisTime = beHospitalStructureMap.get("入院日期");
|
|
@@ -64,18 +61,33 @@ public class PRE0328 extends QCCatalogue {
|
|
|
}
|
|
|
|
|
|
//判断是否是急诊手术;[判断入院途径:急诊,这种情况不用术前讨论]
|
|
|
- if(StringUtil.isNotBlank(behospitalWay)&&"急诊".equals(behospitalWay)
|
|
|
- &&!CatalogueUtil.compareTime(
|
|
|
- StringUtil.parseDateTime(admisTime),
|
|
|
- StringUtil.parseDateTime(startTime),
|
|
|
- Long.valueOf(60)))
|
|
|
- {
|
|
|
- emergencyOperation = true;
|
|
|
+ FirstPageRecordDoc firstPageRecordDoc = inputInfo.getFirstPageRecordDoc();
|
|
|
+ if (firstPageRecordDoc != null) {
|
|
|
+ String behospitalWay = firstPageRecordDoc.getStructureMap().get("入院途径");
|
|
|
+ if (StringUtil.isNotBlank(behospitalWay) && "急诊".equals(behospitalWay)
|
|
|
+ && !CatalogueUtil.compareTime(
|
|
|
+ StringUtil.parseDateTime(admisTime),
|
|
|
+ StringUtil.parseDateTime(startTime),
|
|
|
+ Long.valueOf(60))) {
|
|
|
+ emergencyOperation = true;
|
|
|
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
//北仑传入急诊标志,在首次病程录中
|
|
|
+ if (inputInfo.getFirstCourseRecordDoc() != null) {
|
|
|
+ Map<String, String> structureMap = inputInfo.getFirstCourseRecordDoc().getStructureMap();
|
|
|
+ String EDStr = structureMap.get("病例特点");
|
|
|
+ if (StringUtil.isNotBlank(EDStr) && EDStr.contains("急诊")) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ EDStr = structureMap.get("诊疗计划");
|
|
|
+ if (StringUtil.isNotBlank(EDStr) && EDStr.contains("急诊")) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //北仑传入急诊标志,在首次病程录中
|
|
|
if (inputInfo.getFirstCourseRecordDoc() != null) {
|
|
|
Map<String, String> structureMap = inputInfo.getFirstCourseRecordDoc().getStructureMap();
|
|
|
String title = structureMap.get("标题");
|