Browse Source

其他业务AgentFun-事前事中代码更新

837390164@qq.com 5 tháng trước cách đây
mục cha
commit
fcb7b153c7

BIN
.vs/ShenZhenMI/v16/.suo


+ 8 - 4
InsuBusiness.cs

@@ -655,6 +655,12 @@ namespace PTMedicalInsurance
                         }
                     case "PreAndInProcessAnalysis"://事前分析  诊间只有住院的事前分析
                         {
+                            Global.pat.adm_Dr = int.Parse(JsonHelper.getDestValue(joInParam, "params[0].admID"));
+                            Global.pat.psn_no = JsonHelper.getDestValue(joInParam, "params[0].insuData.patient_dtos[0].patn_id");
+                            Global.pat.insuplc_admdvs = JsonHelper.getDestValue(joInParam, "params[0].insuData.patient_dtos[0].poolarea");
+                            Global.pat.insuType = JsonHelper.getDestValue(joInParam, "params[0].insuData.patient_dtos[0].fsi_encounter_dtos[0].insutype");
+                            Global.pat.medType = JsonHelper.getDestValue(joInParam, "params[0].insuData.patient_dtos[0].fsi_encounter_dtos[0].med_type");
+
                             if (string.IsNullOrEmpty(Global.pat.insuplc_admdvs))
                             {
                                 //通过查询医保平台登记信息表获取参保地
@@ -663,11 +669,9 @@ namespace PTMedicalInsurance
                                     JObject joReg = JObject.Parse(outParam);
                                     Global.pat.insuplc_admdvs = JsonHelper.getDestValue(joReg, "data.InsuranceAreaCode");
                                 }
-                            }   
-
-                            Global.pat.adm_Dr = int.Parse(JsonHelper.getDestValue(joInParam, "params[0].admID"));
+                            }
+         
                             JObject joResult = new JObject();
-
                             joResult.Add("result", JObject.Parse(JsonHelper.getDestValue(joParam, "insuData")));
                             //事前分析
                             if (Global.curEvt.ext.isOpenAnalysis)

BIN
bin/Debug/ShenZhenMI.dll


BIN
bin/Debug/ShenZhenMI.pdb


BIN
obj/Debug/ShenZhenMI.dll


BIN
obj/Debug/ShenZhenMI.pdb