|
|
@@ -561,8 +561,7 @@ namespace PTMedicalInsurance
|
|
|
mIS.deleteFee(out errMsg);
|
|
|
|
|
|
#region【住院费用上传前调用3101事前服务】
|
|
|
- //1.获取3101入参报文
|
|
|
- /* 20221207 CM 朱鹏飞要求屏蔽调用事前事中服务交易--南宁
|
|
|
+ //1.获取3101入参报文
|
|
|
//事前分析
|
|
|
if (Global.curEvt.ext.isOpenAnalysis)
|
|
|
{
|
|
|
@@ -571,57 +570,7 @@ namespace PTMedicalInsurance
|
|
|
rtnResult = JsonHelper.setExceptionJson(-1, "事前分析", errMsg).ToString();
|
|
|
return rtnResult;
|
|
|
}
|
|
|
- }
|
|
|
- */
|
|
|
-
|
|
|
- if (Global.curEvt.ext.isOpenAnalysis)
|
|
|
- {
|
|
|
- if (hIS.GetInsuPatInfo("5", Global.pat, out outParam) != 0)
|
|
|
- {
|
|
|
- rtnResult = JsonHelper.setExceptionJson(-1, "获取3101医保明细审核事前分析服务入参失败:", outParam).ToString();
|
|
|
- return rtnResult;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- //2.调用医保3101明细审核事前分析服务
|
|
|
- JObject joInput = new JObject();
|
|
|
- joInput = JObject.Parse(outParam);
|
|
|
- JObject jo3101Rtn = invoker.invokeCenterService("3101", JsonHelper.setCenterInpar("3101", joInput.ToString().Replace("\r\n", "")));
|
|
|
- if (JsonHelper.parseCenterRtnValue(jo3101Rtn, out errMsg) != 0)
|
|
|
- {
|
|
|
- rtnResult = JsonHelper.setExceptionJson(-1, "【3101】医保明细审核事前分析服务调用失败:", errMsg).ToString();
|
|
|
- return rtnResult;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- JArray jaResult = JArray.Parse(JsonHelper.getDestValue(jo3101Rtn, "output.result"));
|
|
|
-
|
|
|
- if (jaResult.HasValues)
|
|
|
- {
|
|
|
- PreAndInProcessAnalysisForm paipaForm = new PreAndInProcessAnalysisForm(jo3101Rtn);
|
|
|
- paipaForm.Text = "事前事中智能审核-3101医保明细审核事前分析服务调用失败返回";
|
|
|
- if (paipaForm.ShowDialog() != DialogResult.OK)
|
|
|
- {
|
|
|
- errMsg = "事前事中审核不通过,操作员取消!";
|
|
|
- rtnResult = JsonHelper.setExceptionJson(-1, "【3101】医保明细审核事前分析服务调用失败:", errMsg).ToString();
|
|
|
- return rtnResult;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- //【3103】事前事中服务反馈服务
|
|
|
- if (hBus.PreAnalysisFeedBack("3101", paipaForm.JrID, out errMsg) != 0)
|
|
|
- {
|
|
|
- rtnResult = JsonHelper.setExceptionJson(-1, "【3103】事前事中服务反馈服务", errMsg).ToString();
|
|
|
- return rtnResult;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
#endregion
|
|
|
|
|
|
//开始进行费用传送
|