|
@@ -3,7 +3,6 @@ package com.lantone.qc.kernel.catalogue.threelevelward;
|
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
-import com.lantone.qc.pub.model.doc.FirstPageRecordDoc;
|
|
|
import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
|
|
|
import com.lantone.qc.pub.util.DateUtil;
|
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
@@ -31,10 +30,10 @@ public class THR03010 extends QCCatalogue {
|
|
|
return;
|
|
|
}
|
|
|
Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
- String behospitalDate = structureMap.get("入院日期") == null ? null : structureMap.get("入院日期");
|
|
|
+ String behospitalDate = structureMap.get("入院日期");
|
|
|
//String leaveHospitalDate = structureMap.get("leaveHospitalDate") == null ? null : structureMap.get("leaveHospitalDate");
|
|
|
Map<String, String> structureMaps = inputInfo.getFirstPageRecordDoc().getStructureMap();
|
|
|
- String leaveHospitalDate = structureMaps.get("出院时间")== null ? null : structureMap.get("leaveHospitalDate");
|
|
|
+ String leaveHospitalDate = structureMaps.get("出院时间");
|
|
|
if (behospitalDate != null && leaveHospitalDate != null) {
|
|
|
Date beDate = StringUtil.parseDateTime(behospitalDate);
|
|
|
Date leaveDate = StringUtil.parseDateTime(leaveHospitalDate);
|