|
@@ -869,7 +869,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
if (ListUtil.isNotEmpty(strAdmissionNoteList)) {
|
|
if (ListUtil.isNotEmpty(strAdmissionNoteList)) {
|
|
newAddData("入院记录", strAdmissionNoteList, recMap, medrecVoList);
|
|
newAddData("入院记录", strAdmissionNoteList, recMap, medrecVoList);
|
|
} else {
|
|
} else {
|
|
- addData("入院记录", recMap, medrecVoList);
|
|
|
|
|
|
+ addDataHZQY("入院记录", recMap, medrecVoList, "1", analyzeVO.getBehospitalCode());
|
|
}
|
|
}
|
|
|
|
|
|
//输血效果评价
|
|
//输血效果评价
|
|
@@ -919,7 +919,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
if (ListUtil.isNotEmpty(strFirstRecordList)) {
|
|
if (ListUtil.isNotEmpty(strFirstRecordList)) {
|
|
newAddData("首次病程录", strFirstRecordList, recMap, medrecVoList);
|
|
newAddData("首次病程录", strFirstRecordList, recMap, medrecVoList);
|
|
} else {
|
|
} else {
|
|
- addData("首次病程录", recMap, medrecVoList);
|
|
|
|
|
|
+ addDataHZQY("首次病程录", recMap, medrecVoList, "2", analyzeVO.getBehospitalCode());
|
|
}
|
|
}
|
|
|
|
|
|
//病危通知单
|
|
//病危通知单
|
|
@@ -1175,6 +1175,39 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 拼接数据
|
|
|
|
+ *
|
|
|
|
+ * @param key
|
|
|
|
+ * @param recMap
|
|
|
|
+ * @param medrecVoList
|
|
|
|
+ */
|
|
|
|
+ public void addDataHZQY(String key, Map<String, List<RecordContentDTO>> recMap, List<MedrecVo> medrecVoList, String modeId,String behospitalCode) {
|
|
|
|
+ List<RecordContentDTO> list = recMap.get(key);
|
|
|
|
+ List<MedicalRecord> recordList = medicalRecordFacade.list(new QueryWrapper<MedicalRecord>()
|
|
|
|
+ .eq("mode_id", modeId)
|
|
|
|
+ .eq("hospital_id", "14")
|
|
|
|
+ .eq("behospital_code", behospitalCode)
|
|
|
|
+ .orderByAsc("rec_date")
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ if (ListUtil.isNotEmpty(list)) {
|
|
|
|
+ for (RecordContentDTO recordContentDTO : list) {
|
|
|
|
+ recordContentDTO.setIsParsed(0);
|
|
|
|
+ recordContentDTO.setFirstCreateDate(recordList.get(0).getRecDate());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (ListUtil.isNotEmpty(list)) {
|
|
|
|
+ MedrecVo medrecVo = new MedrecVo();
|
|
|
|
+ Map<String, Object> content = new HashMap<>();
|
|
|
|
+ content.put("content", list);
|
|
|
|
+ medrecVo.setTitle(key);
|
|
|
|
+ medrecVo.setContent(content);
|
|
|
|
+ medrecVoList.add(medrecVo);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 1.5.0拼接数据(手术、会诊)
|
|
* 1.5.0拼接数据(手术、会诊)
|
|
*
|
|
*
|