|
@@ -33,6 +33,13 @@ public class THR0588 extends QCCatalogue {
|
|
|
Map<String, String> medicalRecordInfoStructureMap = inputInfo.getMedicalRecordInfoDoc().getStructureMap();
|
|
|
String leaveHospitalTime = medicalRecordInfoStructureMap.get("leaveHospitalDate");
|
|
|
leaveDate = StringUtil.parseDateTime(leaveHospitalTime);
|
|
|
+ if (leaveDate == null) {
|
|
|
+// LeaveHospitalDoc leaveHospitalDoc = inputInfo.getLeaveHospitalDoc();
|
|
|
+// if (leaveHospitalDoc != null) {
|
|
|
+// leaveDate = StringUtil.parseDateTime(leaveHospitalDoc.getStructureMap().get("出院日期"));
|
|
|
+// }
|
|
|
+ leaveDate = new Date();
|
|
|
+ }
|
|
|
}
|
|
|
//查房记录
|
|
|
List<ThreeLevelWardDoc> threeLevelWardDocs = inputInfo.getThreeLevelWardDocs();
|