|
@@ -601,7 +601,6 @@ namespace PTMedicalInsurance
|
|
|
rtnResult = JsonHelper.setIrisReturnValue(0, "住院费用上传取消成功", null).ToString();
|
|
|
return rtnResult;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
default:
|
|
@@ -801,32 +800,16 @@ namespace PTMedicalInsurance
|
|
|
#endregion
|
|
|
|
|
|
#region【门诊就诊信息上传成功后调用3101事前服务】
|
|
|
-
|
|
|
- if (hIS.GetInsuPatInfo("1", Global.pat, out outParam) != 0)
|
|
|
- {
|
|
|
- rtnResult = JsonHelper.setExceptionJson(-1, "获取3101医保明细审核事前分析服务入参失败:", outParam).ToString();
|
|
|
- return rtnResult;
|
|
|
- }
|
|
|
- else
|
|
|
+ //事前分析
|
|
|
+ if (Global.curEvt.ext.isOpenAnalysis)
|
|
|
{
|
|
|
- //2.调用医保3101明细审核事前分析服务
|
|
|
- JObject joInput = new JObject();
|
|
|
- //joInput.Add("data", JObject.Parse(outParam));
|
|
|
- joInput = JObject.Parse(outParam);
|
|
|
-
|
|
|
- JObject jo3101Rtn = invoker.invokeCenterService("3101", JsonHelper.setCenterInpar("3101", joInput.ToString().Replace("\r\n", ""))); //.Replace(" ", "")
|
|
|
- if (JsonHelper.parseCenterRtnValue(jo3101Rtn, out errMsg) != 0)
|
|
|
+ if (hBus.PreAnalysis("1", "", out errMsg) != 0)
|
|
|
{
|
|
|
-
|
|
|
- DialogResult dr = MessageBox.Show("【3101】医保明细审核事前分析服务医保中心返回结果:" + errMsg + "!是否继续?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
|
|
- if (dr != DialogResult.OK)
|
|
|
- {
|
|
|
- rtnResult = JsonHelper.setExceptionJson(-1, "【3101】医保明细审核事前分析服务调用失败:", errMsg).ToString();
|
|
|
- return rtnResult;
|
|
|
- }
|
|
|
+ rtnResult = JsonHelper.setExceptionJson(-1, "门诊就诊信息上传成功后调用3101事前服务失败:", errMsg).ToString();
|
|
|
+ return rtnResult;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
#region 费用上传[2204]
|
|
@@ -841,10 +824,9 @@ namespace PTMedicalInsurance
|
|
|
#region【门诊预结算2206前调用3102医保明细审核事中服务】
|
|
|
//1.获取3102入参报文
|
|
|
|
|
|
- ////事前分析
|
|
|
+ //事前分析
|
|
|
if ((Global.curEvt.ext.isOpenAnalysis) && (Global.operationType == OperationType.SettlementOP))
|
|
|
{
|
|
|
-
|
|
|
if (hBus.PreAnalysis("2", "", out errMsg) != 0)
|
|
|
{
|
|
|
rtnResult = JsonHelper.setExceptionJson(-1, "【3102】医保明细审核事中分析服务调用失败:", errMsg).ToString();
|