|
@@ -65,38 +65,44 @@ public class CaseFrontSheetMainService {
|
|
|
|
|
|
public ResultVo<Map<String, List<CodeName>>> getAllDictionary() {
|
|
|
if (allDictionary.isEmpty()) {
|
|
|
- allDictionary.put("getMarriageCode", createdDao.getMarriageCode());
|
|
|
- allDictionary.put("getSexCode", createdDao.getSexCode());
|
|
|
- allDictionary.put("getAdmissWay", createdDao.getAdmissWay());
|
|
|
- allDictionary.put("getBloodType", createdDao.getBloodType());
|
|
|
- allDictionary.put("getAnaesthesia", createdDao.getAnaesthesia());
|
|
|
- allDictionary.put("getOperateScale", createdDao.getOperateScale());
|
|
|
- allDictionary.put("getAdmissStatus", createdDao.getAdmissStatus());
|
|
|
- allDictionary.put("getDisAdmissStatus", createdDao.getDisAdmissStatus());
|
|
|
- allDictionary.put("getCutHealGrade", createdDao.getCutHealGrade());
|
|
|
- allDictionary.put("getDisdiagStatus", createdDao.getDisdiagStatus());
|
|
|
- allDictionary.put("getHbsag", createdDao.getHbsag());
|
|
|
- allDictionary.put("getDiagConform", createdDao.getDiagConform());
|
|
|
- allDictionary.put("getDisdiagType", createdDao.getDisdiagType());
|
|
|
- allDictionary.put("getPatientStatus", createdDao.getPatientStatus());
|
|
|
- allDictionary.put("getQualityLevel", createdDao.getQualityLevel());
|
|
|
- allDictionary.put("getZyDismissWay", createdDao.getZyDismissWay());
|
|
|
- allDictionary.put("getTumorLevelT", createdDao.getTumorLevelT());
|
|
|
- allDictionary.put("getTumorLevelN", createdDao.getTumorLevelN());
|
|
|
- allDictionary.put("getTumorLevelM", createdDao.getTumorLevelM());
|
|
|
- allDictionary.put("getTumorLevel", createdDao.getTumorLevel());
|
|
|
- allDictionary.put("getRelations", createdDao.getRelations());
|
|
|
- List<CodeName> temp = new ArrayList<>();
|
|
|
- temp.add(new CodeName());
|
|
|
- temp.addAll(createdDao.getStatutoryEpidemic());
|
|
|
- allDictionary.put("getStatutoryEpidemic", temp);
|
|
|
- allDictionary.put("getClinicalPathwayManagement", createdDao.getClinicalPathwayManagement());
|
|
|
- allDictionary.put("getDrgsManagement", createdDao.getDrgsManagement());
|
|
|
- allDictionary.put("getCaseClassification", createdDao.getCaseClassification());
|
|
|
- allDictionary.put("getOccupation", createdDao.getOccupation());
|
|
|
- allDictionary.put("getCountry", createdDao.getCountry());
|
|
|
- allDictionary.put("getNation", createdDao.getNation());
|
|
|
- allDictionary.put("getPayMethod", createdDao.getPayMethod());
|
|
|
+ try {
|
|
|
+ allDictionary.put("getMarriageCode", createdDao.getMarriageCode());
|
|
|
+ allDictionary.put("getSexCode", createdDao.getSexCode());
|
|
|
+ allDictionary.put("getAdmissWay", createdDao.getAdmissWay());
|
|
|
+ allDictionary.put("getBloodType", createdDao.getBloodType());
|
|
|
+ allDictionary.put("getAnaesthesia", createdDao.getAnaesthesia());
|
|
|
+ allDictionary.put("getOperateScale", createdDao.getOperateScale());
|
|
|
+ allDictionary.put("getAdmissStatus", createdDao.getAdmissStatus());
|
|
|
+ allDictionary.put("getDisAdmissStatus", createdDao.getDisAdmissStatus());
|
|
|
+ allDictionary.put("getCutHealGrade", createdDao.getCutHealGrade());
|
|
|
+ allDictionary.put("getDisdiagStatus", createdDao.getDisdiagStatus());
|
|
|
+ allDictionary.put("getHbsag", createdDao.getHbsag());
|
|
|
+ allDictionary.put("getDiagConform", createdDao.getDiagConform());
|
|
|
+ allDictionary.put("getDisdiagType", createdDao.getDisdiagType());
|
|
|
+ allDictionary.put("getPatientStatus", createdDao.getPatientStatus());
|
|
|
+ allDictionary.put("getQualityLevel", createdDao.getQualityLevel());
|
|
|
+ allDictionary.put("getZyDismissWay", createdDao.getZyDismissWay());
|
|
|
+ allDictionary.put("getTumorLevelT", createdDao.getTumorLevelT());
|
|
|
+ allDictionary.put("getTumorLevelN", createdDao.getTumorLevelN());
|
|
|
+ allDictionary.put("getTumorLevelM", createdDao.getTumorLevelM());
|
|
|
+ allDictionary.put("getTumorLevel", createdDao.getTumorLevel());
|
|
|
+ allDictionary.put("getRelations", createdDao.getRelations());
|
|
|
+ List<CodeName> temp = new ArrayList<>();
|
|
|
+ temp.add(new CodeName());
|
|
|
+ temp.addAll(createdDao.getStatutoryEpidemic());
|
|
|
+ allDictionary.put("getStatutoryEpidemic", temp);
|
|
|
+ allDictionary.put("getClinicalPathwayManagement", createdDao.getClinicalPathwayManagement());
|
|
|
+ allDictionary.put("getDrgsManagement", createdDao.getDrgsManagement());
|
|
|
+ allDictionary.put("getCaseClassification", createdDao.getCaseClassification());
|
|
|
+ allDictionary.put("getOccupation", createdDao.getOccupation());
|
|
|
+ allDictionary.put("getCountry", createdDao.getCountry());
|
|
|
+ allDictionary.put("getNation", createdDao.getNation());
|
|
|
+ allDictionary.put("getPayMethod", createdDao.getPayMethod());
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("病案字典提取出错", e);
|
|
|
+ allDictionary.clear();
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.INTERNAL_SERVER_ERROR, e.getCause().getMessage());
|
|
|
+ }
|
|
|
}
|
|
|
return ResultVoUtil.success(allDictionary);
|
|
|
}
|