|
@@ -273,7 +273,6 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
queryVo.setInputCatalogueMap(getInputCatalogueMap(qcCasesEntryDTOList)); // 设置质控条目编码
|
|
queryVo.setInputCatalogueMap(getInputCatalogueMap(qcCasesEntryDTOList)); // 设置质控条目编码
|
|
List<MedrecVo> medrecVoList = new ArrayList<>(); // 设置内容
|
|
List<MedrecVo> medrecVoList = new ArrayList<>(); // 设置内容
|
|
|
|
|
|
-
|
|
|
|
// 添加住院病历信息
|
|
// 添加住院病历信息
|
|
List<BehospitalInfo> behospitalInfoList = this.list(new QueryWrapper<BehospitalInfo>()
|
|
List<BehospitalInfo> behospitalInfoList = this.list(new QueryWrapper<BehospitalInfo>()
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
@@ -287,6 +286,8 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
content.put("content", behospitalInfoList);
|
|
content.put("content", behospitalInfoList);
|
|
medrecVo.setContent(content);
|
|
medrecVo.setContent(content);
|
|
medrecVoList.add(medrecVo);
|
|
medrecVoList.add(medrecVo);
|
|
|
|
+
|
|
|
|
+ queryVo.setBehospitalInfo(behospitalInfoList.get(0));
|
|
}
|
|
}
|
|
|
|
|
|
// 会诊记录
|
|
// 会诊记录
|
|
@@ -354,10 +355,11 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
|
|
|
// 处理公共数据
|
|
// 处理公共数据
|
|
QueryVo queryVo = dealCommonData(hospitalId, analyzeVO);
|
|
QueryVo queryVo = dealCommonData(hospitalId, analyzeVO);
|
|
|
|
+ queryVo.setUseCrfCache(analyzeVO.isUseCrfCache());
|
|
// 调用质控接口
|
|
// 调用质控接口
|
|
Response<OutputInfo> response = qcServiceClient.extract(queryVo);
|
|
Response<OutputInfo> response = qcServiceClient.extract(queryVo);
|
|
if (response == null || response.getData() == null) {
|
|
if (response == null || response.getData() == null) {
|
|
- throw new CommonException(CommonErrorCode.RPC_ERROR, "远程质控接口没有返回数据!");
|
|
|
|
|
|
+ throw new CommonException(CommonErrorCode.RPC_ERROR, "远程质控接口没有返回数据!【" + analyzeVO.getBehospitalCode() + "】");
|
|
}
|
|
}
|
|
OutputInfo outputInfo = response.getData();
|
|
OutputInfo outputInfo = response.getData();
|
|
//根据质控结果获取质控条目
|
|
//根据质控结果获取质控条目
|
|
@@ -724,6 +726,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
analyzeVO.setIsTask(true);
|
|
analyzeVO.setIsTask(true);
|
|
analyzeVO.setHospitalId(bean.getHospitalId());
|
|
analyzeVO.setHospitalId(bean.getHospitalId());
|
|
analyzeVO.setBehospitalCode(bean.getBehospitalCode());
|
|
analyzeVO.setBehospitalCode(bean.getBehospitalCode());
|
|
|
|
+ analyzeVO.setUseCrfCache(taskVO.isUseCrfCache());
|
|
authServiceClient.analyze_rpc(analyzeVO);
|
|
authServiceClient.analyze_rpc(analyzeVO);
|
|
}
|
|
}
|
|
}
|
|
}
|