|
@@ -5513,6 +5513,7 @@ func (c *HisApiController) GetPreUploadInfo() {
|
5513
|
5513
|
data["url"] = miConfig.Url
|
5514
|
5514
|
data["ak"] = miConfig.ChannelNumber
|
5515
|
5515
|
data["new_doctor_name"] = patientPrescription.Doctor
|
|
5516
|
+ data["diag_code"] = sickConfig.CountryCode
|
5516
|
5517
|
|
5517
|
5518
|
var ids []int64
|
5518
|
5519
|
|
|
@@ -5574,12 +5575,20 @@ func (c *HisApiController) GetPreUploadInfo() {
|
5574
|
5575
|
userJSONBytes, _ := json.Marshal(respJSON)
|
5575
|
5576
|
fmt.Println("log")
|
5576
|
5577
|
fmt.Println(string(userJSONBytes))
|
5577
|
|
- if err := json.Unmarshal(userJSONBytes, &res); err != nil {
|
|
5578
|
+ if err := json.Unmarshal(userJSONBytes, &resFour10265); err != nil {
|
5578
|
5579
|
utils.ErrorLog("解析失败:%v", err)
|
5579
|
5580
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|
5580
|
5581
|
return
|
5581
|
5582
|
}
|
5582
|
5583
|
|
|
5584
|
+ res.InfRefmsgid = resFour10265.InfRefmsgid
|
|
5585
|
+ res.Output = resFour10265.Output
|
|
5586
|
+ res.ErrMsg = resFour10265.ErrMsg
|
|
5587
|
+ res.Cainfo = resFour10265.Cainfo
|
|
5588
|
+ res.WarnMsg = resFour10265.WarnMsg
|
|
5589
|
+ infocode, _ := strconv.ParseInt(resFour10265.Infcode, 10, 64)
|
|
5590
|
+ res.Infcode = infocode
|
|
5591
|
+
|
5583
|
5592
|
} else {
|
5584
|
5593
|
|
5585
|
5594
|
if miConfig.Code == "H15049901371" {
|