|
@@ -148,13 +148,13 @@ func (c *HisApiController) GetSettleList() {
|
148
|
148
|
json.Unmarshal([]byte(order.SetlDetail), &rf)
|
149
|
149
|
|
150
|
150
|
for _, item := range rf {
|
151
|
|
- var tempFunPay service.CustomStruct
|
|
151
|
+ var tempFunPay *service.CustomStruct
|
152
|
152
|
tempFunPay.FundPayamt = item.FundPayamt
|
153
|
153
|
tempFunPay.FundPayType = item.FundPayType
|
154
|
|
- struct4101.CustomStruct = append(struct4101.CustomStruct, &tempFunPay)
|
|
154
|
+ struct4101.CustomStruct = append(struct4101.CustomStruct, tempFunPay)
|
155
|
155
|
}
|
156
|
|
- var tempOpspdiseinfo service.OpspdiseinfoStruct
|
157
|
|
- var tempOpspdiseinfo2 service.OpspdiseinfoStruct
|
|
156
|
+ var tempOpspdiseinfo *service.OpspdiseinfoStruct
|
|
157
|
+ var tempOpspdiseinfo2 *service.OpspdiseinfoStruct
|
158
|
158
|
|
159
|
159
|
sickConfig, _ := service.FindDiagnoseById(his.Diagnosis)
|
160
|
160
|
sickConfigTwo, _ := service.FindSickById(his.SickType)
|
|
@@ -164,16 +164,16 @@ func (c *HisApiController) GetSettleList() {
|
164
|
164
|
tempOpspdiseinfo.MaindiagFlag = "1"
|
165
|
165
|
tempOpspdiseinfo.OprnOprtCode = ""
|
166
|
166
|
tempOpspdiseinfo.OprnOprtName = ""
|
167
|
|
- struct4101.OpspdiseinfoStruct = append(struct4101.OpspdiseinfoStruct, &tempOpspdiseinfo)
|
|
167
|
+ struct4101.OpspdiseinfoStruct = append(struct4101.OpspdiseinfoStruct, tempOpspdiseinfo)
|
168
|
168
|
|
169
|
169
|
tempOpspdiseinfo2.DiagCode = sickConfigTwo.CountryCode
|
170
|
170
|
tempOpspdiseinfo2.DiagName = sickConfigTwo.CountryContentName
|
171
|
171
|
tempOpspdiseinfo2.MaindiagFlag = "2"
|
172
|
172
|
tempOpspdiseinfo2.OprnOprtCode = ""
|
173
|
173
|
tempOpspdiseinfo2.OprnOprtName = ""
|
174
|
|
- struct4101.OpspdiseinfoStruct = append(struct4101.OpspdiseinfoStruct, &tempOpspdiseinfo2)
|
|
174
|
+ struct4101.OpspdiseinfoStruct = append(struct4101.OpspdiseinfoStruct, tempOpspdiseinfo2)
|
175
|
175
|
|
176
|
|
- var iteminfo service.IteminfoStruct
|
|
176
|
+ var iteminfo *service.IteminfoStruct
|
177
|
177
|
|
178
|
178
|
var bedCostTotal float64 = 0 //床位总费
|
179
|
179
|
var bedCostSelfTotal float64 = 0 //床位自费
|
|
@@ -439,7 +439,7 @@ func (c *HisApiController) GetSettleList() {
|
439
|
439
|
iteminfo.ClaaSumfee = bed_claa_sunmfee
|
440
|
440
|
iteminfo.ClabAmt = bed_clab_amt
|
441
|
441
|
iteminfo.OthAmt = bed_other_amt
|
442
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
442
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
443
|
443
|
}
|
444
|
444
|
|
445
|
445
|
if checkCostTotal != 0 {
|
|
@@ -449,7 +449,7 @@ func (c *HisApiController) GetSettleList() {
|
449
|
449
|
iteminfo.ClaaSumfee = check_claa_sunmfee
|
450
|
450
|
iteminfo.ClabAmt = check_clab_amt
|
451
|
451
|
iteminfo.OthAmt = check_other_amt
|
452
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
452
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
453
|
453
|
|
454
|
454
|
}
|
455
|
455
|
|
|
@@ -460,7 +460,7 @@ func (c *HisApiController) GetSettleList() {
|
460
|
460
|
iteminfo.ClaaSumfee = laboratory_claa_sunmfee
|
461
|
461
|
iteminfo.ClabAmt = laboratory_clab_amt
|
462
|
462
|
iteminfo.OthAmt = laboratory_other_amt
|
463
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
463
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
464
|
464
|
|
465
|
465
|
}
|
466
|
466
|
|
|
@@ -471,7 +471,7 @@ func (c *HisApiController) GetSettleList() {
|
471
|
471
|
iteminfo.ClaaSumfee = treat_claa_sunmfee
|
472
|
472
|
iteminfo.ClabAmt = treat_clab_amt
|
473
|
473
|
iteminfo.OthAmt = treat_other_amt
|
474
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
474
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
475
|
475
|
|
476
|
476
|
}
|
477
|
477
|
|
|
@@ -482,7 +482,7 @@ func (c *HisApiController) GetSettleList() {
|
482
|
482
|
iteminfo.ClaaSumfee = operation_claa_sunmfee
|
483
|
483
|
iteminfo.ClabAmt = operation_clab_amt
|
484
|
484
|
iteminfo.OthAmt = operation_other_amt
|
485
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
485
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
486
|
486
|
|
487
|
487
|
}
|
488
|
488
|
|
|
@@ -493,7 +493,7 @@ func (c *HisApiController) GetSettleList() {
|
493
|
493
|
iteminfo.ClaaSumfee = material_claa_sunmfee
|
494
|
494
|
iteminfo.ClabAmt = material_clab_amt
|
495
|
495
|
iteminfo.OthAmt = material_other_amt
|
496
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
496
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
497
|
497
|
}
|
498
|
498
|
if westernMedicineCostTotal != 0 {
|
499
|
499
|
iteminfo.MedChrgitm = "09"
|
|
@@ -502,7 +502,7 @@ func (c *HisApiController) GetSettleList() {
|
502
|
502
|
iteminfo.ClaaSumfee = westernMedicine_claa_sunmfee
|
503
|
503
|
iteminfo.ClabAmt = westernMedicine_clab_amt
|
504
|
504
|
iteminfo.OthAmt = westernMedicine_other_amt
|
505
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
505
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
506
|
506
|
}
|
507
|
507
|
if chineseTraditionalMedicineCostTotal != 0 {
|
508
|
508
|
iteminfo.MedChrgitm = "11"
|
|
@@ -511,7 +511,7 @@ func (c *HisApiController) GetSettleList() {
|
511
|
511
|
iteminfo.ClaaSumfee = westernMedicine_claa_sunmfee
|
512
|
512
|
iteminfo.ClabAmt = westernMedicine_clab_amt
|
513
|
513
|
iteminfo.OthAmt = westernMedicine_other_amt
|
514
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
514
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
515
|
515
|
}
|
516
|
516
|
if otherCostTotal != 0 {
|
517
|
517
|
iteminfo.MedChrgitm = "14"
|
|
@@ -520,7 +520,7 @@ func (c *HisApiController) GetSettleList() {
|
520
|
520
|
iteminfo.ClaaSumfee = other_claa_sunmfee
|
521
|
521
|
iteminfo.ClabAmt = other_clab_amt
|
522
|
522
|
iteminfo.OthAmt = other_other_amt
|
523
|
|
- struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, &iteminfo)
|
|
523
|
+ struct4101.IteminfoStruct = append(struct4101.IteminfoStruct, iteminfo)
|
524
|
524
|
}
|
525
|
525
|
struct4101.Ntly = "中国"
|
526
|
526
|
struct4101.AdmCaty = "A03.06"
|