|
@@ -2255,8 +2255,8 @@ func Gdyb4101(struct4101 Struct4101, secret_key string, org_name string, doctor
|
2255
|
2255
|
inputData["psn_cashpay"] = struct4101.PsnCashpay // 医疗机构填报人 必填
|
2256
|
2256
|
|
2257
|
2257
|
payinfo := make([]map[string]interface{}, 0) // 基金支付信息
|
2258
|
|
- payinfotemp := make(map[string]interface{})
|
2259
|
2258
|
for _, item := range struct4101.CustomStruct {
|
|
2259
|
+ payinfotemp := make(map[string]interface{})
|
2260
|
2260
|
fmt.Println(item.FundPayType)
|
2261
|
2261
|
payinfotemp["fund_pay_type"] = item.FundPayType // 基金支付类型 必填
|
2262
|
2262
|
payinfotemp["fund_payamt"] = item.FundPayamt // 基金支付金额
|
|
@@ -2264,10 +2264,8 @@ func Gdyb4101(struct4101 Struct4101, secret_key string, org_name string, doctor
|
2264
|
2264
|
}
|
2265
|
2265
|
|
2266
|
2266
|
opspdiseinfo := make([]map[string]interface{}, 0) // 门诊慢特病诊断信息
|
2267
|
|
- opspdiseinfotemp := make(map[string]interface{})
|
2268
|
2267
|
for _, item := range struct4101.OpspdiseinfoStruct {
|
2269
|
|
- fmt.Println(item.DiagName)
|
2270
|
|
-
|
|
2268
|
+ opspdiseinfotemp := make(map[string]interface{})
|
2271
|
2269
|
opspdiseinfotemp["diag_name"] = item.DiagName // 诊断名称 必填
|
2272
|
2270
|
opspdiseinfotemp["diag_code"] = item.DiagCode // 诊断代码 必填
|
2273
|
2271
|
opspdiseinfotemp["oprn_oprt_name"] = "" // 手术操作名称 必填
|
|
@@ -2276,10 +2274,9 @@ func Gdyb4101(struct4101 Struct4101, secret_key string, org_name string, doctor
|
2276
|
2274
|
}
|
2277
|
2275
|
|
2278
|
2276
|
diseinfo := make([]map[string]interface{}, 0) // 住院诊断信息
|
2279
|
|
- diseinfotemp := make(map[string]interface{})
|
2280
|
2277
|
for _, item := range struct4101.OpspdiseinfoStruct {
|
2281
|
2278
|
fmt.Println(item.DiagName)
|
2282
|
|
-
|
|
2279
|
+ diseinfotemp := make(map[string]interface{})
|
2283
|
2280
|
diseinfotemp["diag_type"] = item.MaindiagFlag // 诊断类别 必填
|
2284
|
2281
|
diseinfotemp["diag_code"] = item.DiagCode // 诊断代码 必填
|
2285
|
2282
|
diseinfotemp["diag_name"] = item.DiagName // 诊断名称 必填
|
|
@@ -2288,10 +2285,8 @@ func Gdyb4101(struct4101 Struct4101, secret_key string, org_name string, doctor
|
2288
|
2285
|
}
|
2289
|
2286
|
|
2290
|
2287
|
iteminfo := make([]map[string]interface{}, 0) // 住院诊断信息
|
2291
|
|
- iteminfotemp := make(map[string]interface{})
|
2292
|
2288
|
for _, item := range struct4101.IteminfoStruct {
|
2293
|
|
- fmt.Println(item.MedChrgitm)
|
2294
|
|
-
|
|
2289
|
+ iteminfotemp := make(map[string]interface{})
|
2295
|
2290
|
iteminfotemp["med_chrgitm"] = item.MedChrgitm // 医疗收费项目 必填
|
2296
|
2291
|
iteminfotemp["amt"] = item.Amt // 金额 必填
|
2297
|
2292
|
iteminfotemp["claa_sumfee"] = item.ClaaSumfee // 甲类费用合计 必填
|
|
@@ -2312,7 +2307,7 @@ func Gdyb4101(struct4101 Struct4101, secret_key string, org_name string, doctor
|
2312
|
2307
|
oprninfotemp["oper_dr_code"] = "" // 术者医师代码 必填
|
2313
|
2308
|
oprninfotemp["anst_dr_name"] = "" // 麻醉医师姓名 必填
|
2314
|
2309
|
oprninfotemp["anst_dr_code"] = "" // 麻醉医师代码 必填
|
2315
|
|
- oprninfo = append(oprninfo, iteminfotemp)
|
|
2310
|
+ oprninfo = append(oprninfo, oprninfotemp)
|
2316
|
2311
|
|
2317
|
2312
|
icuinfo := make([]map[string]interface{}, 0) // 重症监护信息
|
2318
|
2313
|
icuinfotemp := make(map[string]interface{})
|
|
@@ -2320,7 +2315,7 @@ func Gdyb4101(struct4101 Struct4101, secret_key string, org_name string, doctor
|
2320
|
2315
|
icuinfotemp["scs_cutd_inpool_time"] = "" // 重症监护进入时间 必填
|
2321
|
2316
|
icuinfotemp["scs_cutd_exit_time"] = "" // 重症监护退出时间 必填
|
2322
|
2317
|
icuinfotemp["scs_cutd_sum_dura"] = "" // 重症监护合计时长 必填
|
2323
|
|
- icuinfo = append(icuinfo, iteminfotemp)
|
|
2318
|
+ icuinfo = append(icuinfo, icuinfotemp)
|
2324
|
2319
|
|
2325
|
2320
|
input["setlinfo"] = inputData
|
2326
|
2321
|
input["payinfo"] = payinfo
|