|
|
@@ -76,10 +76,10 @@ import thyyxxk.webserver.entity.vo.quality.GroupInfoVO;
|
|
|
import thyyxxk.webserver.entity.vo.quality.OprtInfoListVO;
|
|
|
import thyyxxk.webserver.entity.vo.quality.QualityInfoVO;
|
|
|
import thyyxxk.webserver.entity.vo.quality.SetlBaseInfoVO;
|
|
|
+import thyyxxk.webserver.http.drg.DrgWebApi;
|
|
|
import thyyxxk.webserver.http.websocket.SocketV2;
|
|
|
import thyyxxk.webserver.http.websocket.dto.WebSocketByUserCode;
|
|
|
import thyyxxk.webserver.service.PublicServer;
|
|
|
-import thyyxxk.webserver.service.externalhttp.DrgWebServices;
|
|
|
import thyyxxk.webserver.service.hutoolcache.*;
|
|
|
import thyyxxk.webserver.service.inpatient.casefrontsheet.CaseFrontSheetMainService;
|
|
|
import thyyxxk.webserver.service.inpatient.casefrontsheet.VerifyCaseFrontSheet;
|
|
|
@@ -100,13 +100,10 @@ import java.util.stream.Collectors;
|
|
|
@Slf4j
|
|
|
@RequiredArgsConstructor
|
|
|
public class SetlListUpldService {
|
|
|
-
|
|
|
private static final int NOT_UPLOADED = 1;
|
|
|
private static final int UPLOADED = 2;
|
|
|
private static final int All = 4;
|
|
|
-
|
|
|
private static final String TOTAL_AMOUNT_CODE = "99";
|
|
|
-
|
|
|
private static final String RESULT_CODE = "infcode";
|
|
|
private static final String ERROR_MESSAGE = "err_msg";
|
|
|
private static final String OUTPUT = "output";
|
|
|
@@ -118,7 +115,6 @@ public class SetlListUpldService {
|
|
|
private final SendWxInfoService sendWxInfoService;
|
|
|
private final SiLogDao logDao;
|
|
|
private final CaseFrontSheetMainService caseFrontSheetMainService;
|
|
|
- private final DrgWebServices drgWebServices;
|
|
|
private final AutoUploadBillService autoUploadBillService;
|
|
|
private final TSetlDeptConfService tSetlDeptConfService;
|
|
|
private final TUploadDrgGroupService tUploadDrgGroupService;
|
|
|
@@ -129,6 +125,7 @@ public class SetlListUpldService {
|
|
|
private final NationCache nationCache;
|
|
|
private final RegionCache regionCache;
|
|
|
private final RelativeCache relativeCache;
|
|
|
+ private final DrgWebApi drgWebApi;
|
|
|
|
|
|
/**
|
|
|
* 上传到医保的结算单上传
|
|
|
@@ -1475,7 +1472,7 @@ public class SetlListUpldService {
|
|
|
upload.put("oprt_info_list", getOprtInfoList(siSetlinfoTemp.getAuditFlag() == null ? zy.getBatjBa4() : zy.getNewBatjBa4(), visitId));
|
|
|
try {
|
|
|
log.info("drg分组传参:{}", JSON.toJSONString(upload));
|
|
|
- JSONObject res = drgWebServices.getDrgCaseQualityControlGroup(upload);
|
|
|
+ JSONObject res = drgWebApi.getDrgCaseQualityControlGroup(upload);
|
|
|
log.info("drg分组结果:{}", JSON.toJSONString(res));
|
|
|
if (res.getInteger("code") == 0) {
|
|
|
if (res.getJSONObject("result") != null) {
|
|
|
@@ -2055,7 +2052,7 @@ public class SetlListUpldService {
|
|
|
log.info("调用诊断辅助入参:{}", JSON.toJSONString(drgGroupTestVO));
|
|
|
String url = "http://172.16.32.126:8080";
|
|
|
try {
|
|
|
- String result = drgWebServices.localHelpDrgDagns(drgGroupTestVO);
|
|
|
+ String result = drgWebApi.localHelpDrgDagns(drgGroupTestVO);
|
|
|
log.info("调用诊断辅助返回结果:{}", result);
|
|
|
url += result;
|
|
|
} catch (Exception e) {
|
|
|
@@ -2208,7 +2205,7 @@ public class SetlListUpldService {
|
|
|
**/
|
|
|
public ResultVo<List<QualityInfoVO>> drgQualityTest(ZyInactpatient param) {
|
|
|
List<QualityInfoVO> qualityInfoVOS;
|
|
|
- SiLog siLog = new SiLog(SiUtil.makeMsgId(), SiFunction.QUALITY_INFO.getCode(),null,
|
|
|
+ SiLog siLog = new SiLog(SiUtil.makeMsgId(), SiFunction.QUALITY_INFO.getCode(), null,
|
|
|
TokenUtil.getInstance().getTokenUserId(), null, null, param.getInpatientNo(), param.getAdmissTimes(), param.getLedgerSn(), 1, null);
|
|
|
try {
|
|
|
SetlinfoUpld setlinfoUpldInfo = getSetlinfoUpldInfo(param.getInpatientNo(), param.getAdmissTimes(), param.getLedgerSn());
|
|
|
@@ -2300,7 +2297,7 @@ public class SetlListUpldService {
|
|
|
}
|
|
|
log.info("质控测算传参:{}", JSON.toJSONString(drgQualityParam));
|
|
|
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(drgQualityParam));
|
|
|
- JSONObject result = drgWebServices.drgQuality(jsonObject);
|
|
|
+ JSONObject result = drgWebApi.drgQuality(jsonObject);
|
|
|
resultMap.put("result", result);
|
|
|
resultMap.put("param", drgQualityParam);
|
|
|
return resultMap;
|