|
@@ -21,54 +21,54 @@ public class ChangxDocTrans extends DocTrans {
|
|
|
protected InputInfo extract(QueryVo queryVo) {
|
|
|
InputInfo inputInfo = new InputInfo();
|
|
|
for (MedrecVo i : queryVo.getMedrec()) {
|
|
|
-// if (i.getTitle().equals("会诊")) {
|
|
|
-// ChangxConsultationDocTrans consultationDocTrans = new ChangxConsultationDocTrans();
|
|
|
-// inputInfo.setConsultationDocs(consultationDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("手术")) {
|
|
|
-// ChangxOperationDocTrans operationDocTrans = new ChangxOperationDocTrans();
|
|
|
-// inputInfo.setOperationDocs(operationDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("转科记录")) {
|
|
|
-// ChangxTransferRecordDocTrans transferRecordDocTrans = new ChangxTransferRecordDocTrans();
|
|
|
-// inputInfo.setTransferRecordDocs(transferRecordDocTrans.extract(i));
|
|
|
-// }
|
|
|
+ // if (i.getTitle().equals("会诊")) {
|
|
|
+ // ChangxConsultationDocTrans consultationDocTrans = new ChangxConsultationDocTrans();
|
|
|
+ // inputInfo.setConsultationDocs(consultationDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("手术")) {
|
|
|
+ // ChangxOperationDocTrans operationDocTrans = new ChangxOperationDocTrans();
|
|
|
+ // inputInfo.setOperationDocs(operationDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("转科记录")) {
|
|
|
+ // ChangxTransferRecordDocTrans transferRecordDocTrans = new ChangxTransferRecordDocTrans();
|
|
|
+ // inputInfo.setTransferRecordDocs(transferRecordDocTrans.extract(i));
|
|
|
+ // }
|
|
|
if (i.getTitle().equals("入院记录")) {
|
|
|
ChangxBeHospitalizedDocTrans beHospitalizedDocTrans = new ChangxBeHospitalizedDocTrans();
|
|
|
inputInfo.setBeHospitalizedDoc(beHospitalizedDocTrans.extract(i));
|
|
|
}
|
|
|
-// if (i.getTitle().equals("输血/血制品病程记录")) {
|
|
|
-// ChangxClinicalBloodDocTrans clinicalBloodDocTrans = new ChangxClinicalBloodDocTrans();
|
|
|
-// inputInfo.setClinicalBloodDocs(clinicalBloodDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("危急值记录")) {
|
|
|
-// ChangxCrisisValueReportDocTrans crisisValueReportDocTrans = new ChangxCrisisValueReportDocTrans();
|
|
|
-// inputInfo.setCrisisValueReportDocs(crisisValueReportDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("病危通知书")) {
|
|
|
-// ChangxCriticallyIllNoticeDocTrans criticallyIllNoticeDocTrans = new ChangxCriticallyIllNoticeDocTrans();
|
|
|
-// inputInfo.setCriticallyIllNoticeDocs(criticallyIllNoticeDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("死亡病例讨论记录")) {
|
|
|
-// ChangxDeathCaseDiscussDocTrans deathCaseDiscussDocTrans = new ChangxDeathCaseDiscussDocTrans();
|
|
|
-// inputInfo.setDeathCaseDiscussDoc(deathCaseDiscussDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("死亡记录")) {
|
|
|
-// ChangxDeathRecordDocTrans deathRecordDocTrans = new ChangxDeathRecordDocTrans();
|
|
|
-// inputInfo.setDeathRecordDoc(deathRecordDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("疑难病例讨论记录")) {
|
|
|
-// ChangxDifficultCaseDiscussDocTrans difficultCaseDiscussDocTrans = new ChangxDifficultCaseDiscussDocTrans();
|
|
|
-// inputInfo.setDifficultCaseDiscussDocs(difficultCaseDiscussDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("医嘱信息")) {
|
|
|
-// ChangxDoctorAdviceDocTrans doctorAdviceDocTrans = new ChangxDoctorAdviceDocTrans();
|
|
|
-// inputInfo.setDoctorAdviceDocs(doctorAdviceDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("值班交接制度")) {
|
|
|
-// ChangxDutyShiftSystemDocTrans dutyShiftSystemDocTrans = new ChangxDutyShiftSystemDocTrans();
|
|
|
-// inputInfo.setDutyShiftSystemDocs(dutyShiftSystemDocTrans.extract(i));
|
|
|
-// }
|
|
|
+ // if (i.getTitle().equals("输血/血制品病程记录")) {
|
|
|
+ // ChangxClinicalBloodDocTrans clinicalBloodDocTrans = new ChangxClinicalBloodDocTrans();
|
|
|
+ // inputInfo.setClinicalBloodDocs(clinicalBloodDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("危急值记录")) {
|
|
|
+ // ChangxCrisisValueReportDocTrans crisisValueReportDocTrans = new ChangxCrisisValueReportDocTrans();
|
|
|
+ // inputInfo.setCrisisValueReportDocs(crisisValueReportDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("病危通知书")) {
|
|
|
+ // ChangxCriticallyIllNoticeDocTrans criticallyIllNoticeDocTrans = new ChangxCriticallyIllNoticeDocTrans();
|
|
|
+ // inputInfo.setCriticallyIllNoticeDocs(criticallyIllNoticeDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("死亡病例讨论记录")) {
|
|
|
+ // ChangxDeathCaseDiscussDocTrans deathCaseDiscussDocTrans = new ChangxDeathCaseDiscussDocTrans();
|
|
|
+ // inputInfo.setDeathCaseDiscussDoc(deathCaseDiscussDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("死亡记录")) {
|
|
|
+ // ChangxDeathRecordDocTrans deathRecordDocTrans = new ChangxDeathRecordDocTrans();
|
|
|
+ // inputInfo.setDeathRecordDoc(deathRecordDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("疑难病例讨论记录")) {
|
|
|
+ // ChangxDifficultCaseDiscussDocTrans difficultCaseDiscussDocTrans = new ChangxDifficultCaseDiscussDocTrans();
|
|
|
+ // inputInfo.setDifficultCaseDiscussDocs(difficultCaseDiscussDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("医嘱信息")) {
|
|
|
+ // ChangxDoctorAdviceDocTrans doctorAdviceDocTrans = new ChangxDoctorAdviceDocTrans();
|
|
|
+ // inputInfo.setDoctorAdviceDocs(doctorAdviceDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("值班交接制度")) {
|
|
|
+ // ChangxDutyShiftSystemDocTrans dutyShiftSystemDocTrans = new ChangxDutyShiftSystemDocTrans();
|
|
|
+ // inputInfo.setDutyShiftSystemDocs(dutyShiftSystemDocTrans.extract(i));
|
|
|
+ // }
|
|
|
if (i.getTitle().equals("首次病程录")) {
|
|
|
ChangxFirstCourseRecordDocTrans firstCourseRecordDocTrans = new ChangxFirstCourseRecordDocTrans();
|
|
|
inputInfo.setFirstCourseRecordDoc(firstCourseRecordDocTrans.extract(i));
|
|
@@ -81,22 +81,22 @@ public class ChangxDocTrans extends DocTrans {
|
|
|
ChangxLeaveHospitalDocTrans leaveHospitalDocTrans = new ChangxLeaveHospitalDocTrans();
|
|
|
inputInfo.setLeaveHospitalDoc(leaveHospitalDocTrans.extract(i));
|
|
|
}
|
|
|
-// if (i.getTitle().equals("分级护理制度")) {
|
|
|
-// ChangxNursingSystemDocTrans nursingSystemDocTrans = new ChangxNursingSystemDocTrans();
|
|
|
-// inputInfo.setNursingSystemDoc(nursingSystemDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("抢救记录")) {
|
|
|
-// ChangxRescueDocTrans rescueDocTrans = new ChangxRescueDocTrans();
|
|
|
-// inputInfo.setRescueDocs(rescueDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("病重通知书")) {
|
|
|
-// ChangxSeriouslyIllNoticeDocTrans seriouslyIllNoticeDocTrans = new ChangxSeriouslyIllNoticeDocTrans();
|
|
|
-// inputInfo.setSeriouslyIllNoticeDocs(seriouslyIllNoticeDocTrans.extract(i));
|
|
|
-// }
|
|
|
-// if (i.getTitle().equals("阶段小结")) {
|
|
|
-// ChangxStagesSummaryDocTrans stagesSummaryDocTrans = new ChangxStagesSummaryDocTrans();
|
|
|
-// inputInfo.setStagesSummaryDocs(stagesSummaryDocTrans.extract(i));
|
|
|
-// }
|
|
|
+ // if (i.getTitle().equals("分级护理制度")) {
|
|
|
+ // ChangxNursingSystemDocTrans nursingSystemDocTrans = new ChangxNursingSystemDocTrans();
|
|
|
+ // inputInfo.setNursingSystemDoc(nursingSystemDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("抢救记录")) {
|
|
|
+ // ChangxRescueDocTrans rescueDocTrans = new ChangxRescueDocTrans();
|
|
|
+ // inputInfo.setRescueDocs(rescueDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("病重通知书")) {
|
|
|
+ // ChangxSeriouslyIllNoticeDocTrans seriouslyIllNoticeDocTrans = new ChangxSeriouslyIllNoticeDocTrans();
|
|
|
+ // inputInfo.setSeriouslyIllNoticeDocs(seriouslyIllNoticeDocTrans.extract(i));
|
|
|
+ // }
|
|
|
+ // if (i.getTitle().equals("阶段小结")) {
|
|
|
+ // ChangxStagesSummaryDocTrans stagesSummaryDocTrans = new ChangxStagesSummaryDocTrans();
|
|
|
+ // inputInfo.setStagesSummaryDocs(stagesSummaryDocTrans.extract(i));
|
|
|
+ // }
|
|
|
if (i.getTitle().equals("查房记录")) {
|
|
|
ChangxThreeLevelWardDocTrans threeLevelWardDocTrans = new ChangxThreeLevelWardDocTrans();
|
|
|
inputInfo.setThreeLevelWardDocs(threeLevelWardDocTrans.extract(i));
|
|
@@ -110,108 +110,116 @@ public class ChangxDocTrans extends DocTrans {
|
|
|
if (inputInfo.getBeHospitalizedDoc() != null) {
|
|
|
inputInfo.getPageData().put("入院记录", Lists.newArrayList(inputInfo.getBeHospitalizedDoc().getPageData()));
|
|
|
}
|
|
|
-// if (inputInfo.getDeathCaseDiscussDoc() != null) {
|
|
|
-// inputInfo.getPageData().put("死亡病例讨论记录", Lists.newArrayList(inputInfo.getDeathCaseDiscussDoc().getPageData()));
|
|
|
-// }
|
|
|
-// if (inputInfo.getDeathRecordDoc() != null) {
|
|
|
-// inputInfo.getPageData().put("死亡记录", Lists.newArrayList(inputInfo.getDeathRecordDoc().getPageData()));
|
|
|
-// }
|
|
|
+ // if (inputInfo.getDeathCaseDiscussDoc() != null) {
|
|
|
+ // inputInfo.getPageData().put("死亡病例讨论记录", Lists.newArrayList(inputInfo.getDeathCaseDiscussDoc().getPageData()));
|
|
|
+ // }
|
|
|
+ // if (inputInfo.getDeathRecordDoc() != null) {
|
|
|
+ // inputInfo.getPageData().put("死亡记录", Lists.newArrayList(inputInfo.getDeathRecordDoc().getPageData()));
|
|
|
+ // }
|
|
|
if (inputInfo.getFirstCourseRecordDoc() != null) {
|
|
|
inputInfo.getPageData().put("首次病程录", Lists.newArrayList(inputInfo.getFirstCourseRecordDoc().getPageData()));
|
|
|
}
|
|
|
if (inputInfo.getLeaveHospitalDoc() != null) {
|
|
|
inputInfo.getPageData().put("出院小结", Lists.newArrayList(inputInfo.getLeaveHospitalDoc().getPageData()));
|
|
|
}
|
|
|
-// if (inputInfo.getNursingSystemDoc() != null) {
|
|
|
-// inputInfo.getPageData().put("分级护理制度", Lists.newArrayList(inputInfo.getNursingSystemDoc().getPageData()));
|
|
|
-// }
|
|
|
+ // if (inputInfo.getNursingSystemDoc() != null) {
|
|
|
+ // inputInfo.getPageData().put("分级护理制度", Lists.newArrayList(inputInfo.getNursingSystemDoc().getPageData()));
|
|
|
+ // }
|
|
|
if (inputInfo.getFirstPageRecordDoc() != null) {
|
|
|
inputInfo.getPageData().put("病案首页", Lists.newArrayList(inputInfo.getFirstPageRecordDoc().getPageData()));
|
|
|
}
|
|
|
-//
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getClinicalBloodDocs())) {
|
|
|
-// inputInfo.getPageData().put("输血/血制品病程记录", inputInfo.getClinicalBloodDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getCrisisValueReportDocs())) {
|
|
|
-// inputInfo.getPageData().put("危急值记录", inputInfo.getCrisisValueReportDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getCriticallyIllNoticeDocs())) {
|
|
|
-// inputInfo.getPageData().put("病危通知书", inputInfo.getCriticallyIllNoticeDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getDifficultCaseDiscussDocs())) {
|
|
|
-// inputInfo.getPageData().put("疑难病例讨论记录", inputInfo.getDifficultCaseDiscussDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getDoctorAdviceDocs())) {
|
|
|
-// inputInfo.getPageData().put("医嘱信息", inputInfo.getDoctorAdviceDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getDutyShiftSystemDocs())) {
|
|
|
-// inputInfo.getPageData().put("值班交接制度", inputInfo.getDutyShiftSystemDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getRescueDocs())) {
|
|
|
-// inputInfo.getPageData().put("抢救记录", inputInfo.getRescueDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getSeriouslyIllNoticeDocs())) {
|
|
|
-// inputInfo.getPageData().put("病重通知书", inputInfo.getSeriouslyIllNoticeDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getStagesSummaryDocs())) {
|
|
|
-// inputInfo.getPageData().put("阶段小结", inputInfo.getStagesSummaryDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
-// }
|
|
|
+ //
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getClinicalBloodDocs())) {
|
|
|
+ // inputInfo.getPageData().put("输血/血制品病程记录", inputInfo.getClinicalBloodDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getCrisisValueReportDocs())) {
|
|
|
+ // inputInfo.getPageData().put("危急值记录", inputInfo.getCrisisValueReportDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getCriticallyIllNoticeDocs())) {
|
|
|
+ // inputInfo.getPageData().put("病危通知书", inputInfo.getCriticallyIllNoticeDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getDifficultCaseDiscussDocs())) {
|
|
|
+ // inputInfo.getPageData().put("疑难病例讨论记录", inputInfo.getDifficultCaseDiscussDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getDoctorAdviceDocs())) {
|
|
|
+ // inputInfo.getPageData().put("医嘱信息", inputInfo.getDoctorAdviceDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getDutyShiftSystemDocs())) {
|
|
|
+ // inputInfo.getPageData().put("值班交接制度", inputInfo.getDutyShiftSystemDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getRescueDocs())) {
|
|
|
+ // inputInfo.getPageData().put("抢救记录", inputInfo.getRescueDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getSeriouslyIllNoticeDocs())) {
|
|
|
+ // inputInfo.getPageData().put("病重通知书", inputInfo.getSeriouslyIllNoticeDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
+ // if (ListUtil.isNotEmpty(inputInfo.getStagesSummaryDocs())) {
|
|
|
+ // inputInfo.getPageData().put("阶段小结", inputInfo.getStagesSummaryDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
+ // }
|
|
|
if (ListUtil.isNotEmpty(inputInfo.getThreeLevelWardDocs())) {
|
|
|
inputInfo.getPageData().put("查房记录", inputInfo.getThreeLevelWardDocs().stream().map(i -> i.getPageData()).collect(Collectors.toList()));
|
|
|
}
|
|
|
-//
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getConsultationDocs())) {
|
|
|
-// inputInfo.getPageData().put(
|
|
|
-// "会诊记录",
|
|
|
-// inputInfo.getConsultationDocs()
|
|
|
-// .stream()
|
|
|
-// .filter(consultationDoc -> consultationDoc != null && consultationDoc.getConsultationRecordDoc() != null)
|
|
|
-// .map(consultationDoc -> consultationDoc.getConsultationRecordDoc().getPageData())
|
|
|
-// .collect(Collectors.toList())
|
|
|
-// );
|
|
|
-// inputInfo.getPageData().put(
|
|
|
-// "会诊申请单",
|
|
|
-// inputInfo.getConsultationDocs()
|
|
|
-// .stream()
|
|
|
-// .filter(consultationDoc -> consultationDoc != null && consultationDoc.getConsultationApplicationDoc() != null)
|
|
|
-// .map(consultationDoc -> consultationDoc.getConsultationApplicationDoc().getPageData())
|
|
|
-// .collect(Collectors.toList())
|
|
|
-// );
|
|
|
-// inputInfo.getPageData().put(
|
|
|
-// "会诊结果单",
|
|
|
-// inputInfo.getConsultationDocs()
|
|
|
-// .stream()
|
|
|
-// .filter(consultationDoc -> consultationDoc != null && consultationDoc.getConsultationResultsDoc() != null)
|
|
|
-// .map(consultationDoc -> consultationDoc.getConsultationResultsDoc().getPageData())
|
|
|
-// .collect(Collectors.toList())
|
|
|
-// );
|
|
|
-// }
|
|
|
-// if (ListUtil.isNotEmpty(inputInfo.getOperationDocs())) {
|
|
|
-// inputInfo.getPageData().put(
|
|
|
-// "术后首次病程及谈话记录",
|
|
|
-// inputInfo.getOperationDocs()
|
|
|
-// .stream()
|
|
|
-// .filter(operationDoc -> operationDoc != null && operationDoc.getOperationDiscussionDoc() != null)
|
|
|
-// .map(operationDoc -> operationDoc.getOperationDiscussionDoc().getPageData())
|
|
|
-// .collect(Collectors.toList())
|
|
|
-// );
|
|
|
-// inputInfo.getPageData().put(
|
|
|
-// "手术记录",
|
|
|
-// inputInfo.getOperationDocs()
|
|
|
-// .stream()
|
|
|
-// .filter(operationDoc -> operationDoc != null && operationDoc.getOperationRecordDoc() != null)
|
|
|
-// .map(operationDoc -> operationDoc.getOperationRecordDoc().getPageData())
|
|
|
-// .collect(Collectors.toList())
|
|
|
-// );
|
|
|
-// inputInfo.getPageData().put(
|
|
|
-// "术前讨论、术前小结",
|
|
|
-// inputInfo.getOperationDocs()
|
|
|
-// .stream()
|
|
|
-// .filter(operationDoc -> operationDoc != null && operationDoc.getPreoperativeDiscussionDoc() != null)
|
|
|
-// .map(operationDoc -> operationDoc.getPreoperativeDiscussionDoc().getPageData())
|
|
|
-// .collect(Collectors.toList())
|
|
|
-// );
|
|
|
-// }
|
|
|
+
|
|
|
+ if (ListUtil.isNotEmpty(inputInfo.getConsultationDocs())) {
|
|
|
+ inputInfo.getPageData().put(
|
|
|
+ "会诊记录",
|
|
|
+ inputInfo.getConsultationDocs()
|
|
|
+ .stream()
|
|
|
+ .filter(consultationDoc -> consultationDoc != null && consultationDoc.getConsultationRecordDoc() != null)
|
|
|
+ .map(consultationDoc -> consultationDoc.getConsultationRecordDoc().getPageData())
|
|
|
+ .collect(Collectors.toList())
|
|
|
+ );
|
|
|
+ inputInfo.getPageData().put(
|
|
|
+ "会诊申请单",
|
|
|
+ inputInfo.getConsultationDocs()
|
|
|
+ .stream()
|
|
|
+ .filter(consultationDoc -> consultationDoc != null && consultationDoc.getConsultationApplicationDoc() != null)
|
|
|
+ .map(consultationDoc -> consultationDoc.getConsultationApplicationDoc().getPageData())
|
|
|
+ .collect(Collectors.toList())
|
|
|
+ );
|
|
|
+ inputInfo.getPageData().put(
|
|
|
+ "会诊结果单",
|
|
|
+ inputInfo.getConsultationDocs()
|
|
|
+ .stream()
|
|
|
+ .filter(consultationDoc -> consultationDoc != null && consultationDoc.getConsultationResultsDoc() != null)
|
|
|
+ .map(consultationDoc -> consultationDoc.getConsultationResultsDoc().getPageData())
|
|
|
+ .collect(Collectors.toList())
|
|
|
+ );
|
|
|
+ }
|
|
|
+ if (ListUtil.isNotEmpty(inputInfo.getOperationDocs())) {
|
|
|
+ inputInfo.getPageData().put(
|
|
|
+ "术后首次病程及谈话记录",
|
|
|
+ inputInfo.getOperationDocs()
|
|
|
+ .stream()
|
|
|
+ .filter(operationDoc -> operationDoc != null && operationDoc.getOperationDiscussionDoc() != null)
|
|
|
+ .map(operationDoc -> operationDoc.getOperationDiscussionDoc().getPageData())
|
|
|
+ .collect(Collectors.toList())
|
|
|
+ );
|
|
|
+ inputInfo.getPageData().put(
|
|
|
+ "手术记录",
|
|
|
+ inputInfo.getOperationDocs()
|
|
|
+ .stream()
|
|
|
+ .filter(operationDoc -> operationDoc != null && operationDoc.getOperationRecordDoc() != null)
|
|
|
+ .map(operationDoc -> operationDoc.getOperationRecordDoc().getPageData())
|
|
|
+ .collect(Collectors.toList())
|
|
|
+ );
|
|
|
+ inputInfo.getPageData().put(
|
|
|
+ "术前讨论、术前小结",
|
|
|
+ inputInfo.getOperationDocs()
|
|
|
+ .stream()
|
|
|
+ .filter(operationDoc -> operationDoc != null && operationDoc.getPreoperativeDiscussionDoc() != null)
|
|
|
+ .map(operationDoc -> operationDoc.getPreoperativeDiscussionDoc().getPageData())
|
|
|
+ .collect(Collectors.toList())
|
|
|
+ );
|
|
|
+ inputInfo.getPageData().put(
|
|
|
+ "手术知情同意书",
|
|
|
+ inputInfo.getOperationDocs()
|
|
|
+ .stream()
|
|
|
+ .filter(operationDoc -> operationDoc != null && operationDoc.getOperationInformedConsentDoc() != null)
|
|
|
+ .map(operationDoc -> operationDoc.getOperationInformedConsentDoc().getPageData())
|
|
|
+ .collect(Collectors.toList())
|
|
|
+ );
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|