|
@@ -116,91 +116,13 @@ public class CommonFacade {
|
|
searchData.setPasts(unionPasts);
|
|
searchData.setPasts(unionPasts);
|
|
|
|
|
|
WordCrfDTO wordCrfDTO = new WordCrfDTO();
|
|
WordCrfDTO wordCrfDTO = new WordCrfDTO();
|
|
- wordCrfDTO.setHospitalId(searchData.getHospitalId());
|
|
|
|
|
|
+ BeanUtil.copyProperties(searchData, wordCrfDTO);
|
|
// 年龄容错处理
|
|
// 年龄容错处理
|
|
if (searchData.getAgeNum() != null) {
|
|
if (searchData.getAgeNum() != null) {
|
|
wordCrfDTO.setAgeNum(searchData.getAgeNum());
|
|
wordCrfDTO.setAgeNum(searchData.getAgeNum());
|
|
} else {
|
|
} else {
|
|
wordCrfDTO.setAgeNum(AgeUtil.convertAge(searchData.getAge()));
|
|
wordCrfDTO.setAgeNum(AgeUtil.convertAge(searchData.getAge()));
|
|
}
|
|
}
|
|
- wordCrfDTO.setAge(searchData.getAge());
|
|
|
|
- wordCrfDTO.setSex(searchData.getSex());
|
|
|
|
- wordCrfDTO.setDept(searchData.getDept());
|
|
|
|
- if (searchData.getDiseaseName() != null && StringUtils.isNotBlank(searchData.getDiseaseName().getName())) {
|
|
|
|
- wordCrfDTO.setDiseaseName(searchData.getDiseaseName());
|
|
|
|
- }
|
|
|
|
- if (searchData.getOperationName() != null && StringUtils.isNotBlank(searchData.getOperationName().getName())) {
|
|
|
|
- wordCrfDTO.setOperationName(searchData.getOperationName());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getLis())) {
|
|
|
|
- wordCrfDTO.setLis(searchData.getLis());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getPacs())) {
|
|
|
|
- wordCrfDTO.setPacs(searchData.getPacs());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getDrug())) {
|
|
|
|
- wordCrfDTO.setDrug(searchData.getDrug());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getTransfusion())) {
|
|
|
|
- wordCrfDTO.setTransfusion(searchData.getTransfusion());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getOperation())) {
|
|
|
|
- wordCrfDTO.setOperation(searchData.getOperation());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getLisOrder())) {
|
|
|
|
- wordCrfDTO.setLisOrder(searchData.getLisOrder());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getPacsOrder())) {
|
|
|
|
- wordCrfDTO.setPacsOrder(searchData.getPacsOrder());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getDrugOrder())) {
|
|
|
|
- wordCrfDTO.setDrugOrder(searchData.getDrugOrder());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getOperationOrder())) {
|
|
|
|
- wordCrfDTO.setOperationOrder(searchData.getOperationOrder());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getDiagOrder())) {
|
|
|
|
- wordCrfDTO.setDiagOrder(searchData.getDiagOrder());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getDiag())) {
|
|
|
|
- wordCrfDTO.setDiag(searchData.getDiag());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getTransfusionOrder())) {
|
|
|
|
- wordCrfDTO.setTransfusionOrder(searchData.getTransfusionOrder());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getSymptom())) {
|
|
|
|
- wordCrfDTO.setSymptom(searchData.getSymptom());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getChief())) {
|
|
|
|
- wordCrfDTO.setChief(searchData.getChief());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(unionPasts)) {
|
|
|
|
- wordCrfDTO.setPasts(unionPasts);
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getMenstrual())) {
|
|
|
|
- wordCrfDTO.setMenstrual(searchData.getMenstrual());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getFamily())) {
|
|
|
|
- wordCrfDTO.setFamily(searchData.getFamily());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getMarital())) {
|
|
|
|
- wordCrfDTO.setMarital(searchData.getMarital());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getMarriage())) {
|
|
|
|
- wordCrfDTO.setMarriage(searchData.getMarriage());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getPersonal())) {
|
|
|
|
- wordCrfDTO.setPersonal(searchData.getPersonal());
|
|
|
|
- }
|
|
|
|
- if (StringUtil.isNotBlank(searchData.getVital())) {
|
|
|
|
- wordCrfDTO.setVital(searchData.getVital());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getOtherAdvice())) {
|
|
|
|
- wordCrfDTO.setOtherAdvice(searchData.getOtherAdvice());
|
|
|
|
- }
|
|
|
|
- if (ListUtil.isNotEmpty(searchData.getScale())) {
|
|
|
|
- wordCrfDTO.setScale(searchData.getScale());
|
|
|
|
- }
|
|
|
|
|
|
|
|
// 模型处理数据
|
|
// 模型处理数据
|
|
aiAnalyze.aiProcess(searchData, wordCrfDTO);
|
|
aiAnalyze.aiProcess(searchData, wordCrfDTO);
|