|
@@ -655,6 +655,12 @@ namespace PTMedicalInsurance
|
|
|
}
|
|
}
|
|
|
case "PreAndInProcessAnalysis"://事前分析 诊间只有住院的事前分析
|
|
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))
|
|
if (string.IsNullOrEmpty(Global.pat.insuplc_admdvs))
|
|
|
{
|
|
{
|
|
|
//通过查询医保平台登记信息表获取参保地
|
|
//通过查询医保平台登记信息表获取参保地
|
|
@@ -663,11 +669,9 @@ namespace PTMedicalInsurance
|
|
|
JObject joReg = JObject.Parse(outParam);
|
|
JObject joReg = JObject.Parse(outParam);
|
|
|
Global.pat.insuplc_admdvs = JsonHelper.getDestValue(joReg, "data.InsuranceAreaCode");
|
|
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();
|
|
JObject joResult = new JObject();
|
|
|
-
|
|
|
|
|
joResult.Add("result", JObject.Parse(JsonHelper.getDestValue(joParam, "insuData")));
|
|
joResult.Add("result", JObject.Parse(JsonHelper.getDestValue(joParam, "insuData")));
|
|
|
//事前分析
|
|
//事前分析
|
|
|
if (Global.curEvt.ext.isOpenAnalysis)
|
|
if (Global.curEvt.ext.isOpenAnalysis)
|