|
@@ -2278,7 +2278,8 @@ func (c *SZHisApiController) GetSettleInfo() {
|
2278
|
2278
|
DoctorCode: doctor_code,
|
2279
|
2279
|
Total: detItemFeeSumamt,
|
2280
|
2280
|
DoseCode: dose_code,
|
2281
|
|
- Spec: subItem.BaseDrugLib.DrugSpec,
|
|
2281
|
+ Spec: strconv.Itoa(int(subItem.BaseDrugLib.MinNumber)) + "*" + subItem.BaseDrugLib.MinUnit + ":" + strconv.FormatFloat(subItem.BaseDrugLib.Dose, 'E', -1, 64) + subItem.BaseDrugLib.DoseUnit,
|
|
2282
|
+ Unit: subItem.PrescribingNumberUnit,
|
2282
|
2283
|
}
|
2283
|
2284
|
customs = append(customs, cus)
|
2284
|
2285
|
}
|
|
@@ -2312,6 +2313,7 @@ func (c *SZHisApiController) GetSettleInfo() {
|
2312
|
2313
|
Total: detItemFeeSumamt,
|
2313
|
2314
|
DoseCode: "",
|
2314
|
2315
|
Spec: "次",
|
|
2316
|
+ Unit: "次",
|
2315
|
2317
|
}
|
2316
|
2318
|
customs = append(customs, cus)
|
2317
|
2319
|
|
|
@@ -2339,7 +2341,8 @@ func (c *SZHisApiController) GetSettleInfo() {
|
2339
|
2341
|
DoctorCode: doctor_code,
|
2340
|
2342
|
Total: detItemFeeSumamt,
|
2341
|
2343
|
DoseCode: "",
|
2342
|
|
- Spec: "次",
|
|
2344
|
+ Spec: "支",
|
|
2345
|
+ Unit: "支",
|
2343
|
2346
|
}
|
2344
|
2347
|
customs = append(customs, cus)
|
2345
|
2348
|
|
|
@@ -3094,7 +3097,8 @@ func (c *SZHisApiController) GetPreSettleInfo() {
|
3094
|
3097
|
DoctorCode: doctor_code,
|
3095
|
3098
|
Total: detItemFeeSumamt,
|
3096
|
3099
|
DoseCode: dose_code,
|
3097
|
|
- Spec: subItem.BaseDrugLib.DrugSpec,
|
|
3100
|
+ Spec: strconv.Itoa(int(subItem.BaseDrugLib.MinNumber)) + "*" + subItem.BaseDrugLib.MinUnit + ":" + strconv.FormatFloat(subItem.BaseDrugLib.Dose, 'E', -1, 64) + subItem.BaseDrugLib.DoseUnit,
|
|
3101
|
+ Unit: subItem.PrescribingNumberUnit,
|
3098
|
3102
|
}
|
3099
|
3103
|
customs = append(customs, cus)
|
3100
|
3104
|
}
|
|
@@ -3128,6 +3132,7 @@ func (c *SZHisApiController) GetPreSettleInfo() {
|
3128
|
3132
|
Total: detItemFeeSumamt,
|
3129
|
3133
|
DoseCode: "",
|
3130
|
3134
|
Spec: "次",
|
|
3135
|
+ Unit: "次",
|
3131
|
3136
|
}
|
3132
|
3137
|
customs = append(customs, cus)
|
3133
|
3138
|
|
|
@@ -3156,7 +3161,8 @@ func (c *SZHisApiController) GetPreSettleInfo() {
|
3156
|
3161
|
DoctorCode: doctor_code,
|
3157
|
3162
|
Total: detItemFeeSumamt,
|
3158
|
3163
|
DoseCode: "",
|
3159
|
|
- Spec: "次",
|
|
3164
|
+ Spec: "支",
|
|
3165
|
+ Unit: "支",
|
3160
|
3166
|
}
|
3161
|
3167
|
customs = append(customs, cus)
|
3162
|
3168
|
|
|
@@ -4340,6 +4346,15 @@ func (c *SZHisApiController) GetSettleAccounts() {
|
4340
|
4346
|
|
4341
|
4347
|
config, _ := service.GetMedicalInsuranceConfig(adminUser.CurrentOrgId)
|
4342
|
4348
|
if config.IsOpen == 1 {
|
|
4349
|
+
|
|
4350
|
+
|
|
4351
|
+
|
|
4352
|
+
|
|
4353
|
+
|
|
4354
|
+
|
|
4355
|
+
|
|
4356
|
+
|
|
4357
|
+
|
4343
|
4358
|
|
4344
|
4359
|
result := service.SzybJY001(doctor_name, doctor_code, miConfig.Code, order.OrgSetlNumber, order.MzNumber, verifyCode, version_code)
|
4345
|
4360
|
fmt.Println(result)
|
|
@@ -4385,6 +4400,8 @@ func (c *SZHisApiController) GetSettleAccounts() {
|
4385
|
4400
|
"yiliao_leibie": yiliao_leibie,
|
4386
|
4401
|
"before_money": res2.Transbody.Aae240,
|
4387
|
4402
|
"after_money": order.AccountPrice,
|
|
4403
|
+ "dialysis_no": patient.DialysisNo,
|
|
4404
|
+ "patient_info": his.PatientInfo,
|
4388
|
4405
|
})
|
4389
|
4406
|
} else {
|
4390
|
4407
|
c.ServeSuccessJSON(map[string]interface{}{
|