|
@@ -1020,7 +1020,7 @@ func (c *HisApiController) GetRegisterInfo() {
|
1020
|
1020
|
|
1021
|
1021
|
if count <= 0 {
|
1022
|
1022
|
api := "http://127.0.0.1:9532/" + "gdyb/two?cert_no=" + IdCardNo + "&insutype=" +
|
1023
|
|
- "390" + "&psn_no=" + res.Output.Baseinfo.PsnNo +
|
|
1023
|
+ insutype + "&psn_no=" + res.Output.Baseinfo.PsnNo +
|
1024
|
1024
|
"&org_name=" + miConfig.OrgName + "&doctor=" + patientPrescription.Doctor + "&ipt_otp_no=" + ipt_otp_no +
|
1025
|
1025
|
"&dept=" + department.Name + "&fixmedins_code=" + miConfig.Code + "&dept_code=" + department.Number + "&doctor_id=" + doctor_id + "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&id_card_type=" + strconv.FormatInt(int64(id_card_type), 10)
|
1026
|
1026
|
resp, requestErr := http.Get(api)
|
|
@@ -1503,7 +1503,7 @@ func (c *HisApiController) GetUploadInfo() {
|
1503
|
1503
|
fmt.Println(insutype)
|
1504
|
1504
|
|
1505
|
1505
|
api := "http://127.0.0.1:9532/" + "gdyb/eight?cert_no=" + cert_no + "&insutype=" +
|
1506
|
|
- "390" + "&psn_no=" + psn_no + "&chrg_bchno=" + chrg_bchno + "&mdtrt_id=" + mdtrt_id +
|
|
1506
|
+ insutype + "&psn_no=" + psn_no + "&chrg_bchno=" + chrg_bchno + "&mdtrt_id=" + mdtrt_id +
|
1507
|
1507
|
"&total=" + allTotal + "&org_name=" + miConfig.OrgName + "&doctor=" + roles.UserName + "&fixmedins_code=" + miConfig.Code + "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" +
|
1508
|
1508
|
miConfig.SecretKey + "&med_type=" + strconv.FormatInt(patientPrescription.RegisterType, 10) + "&id_card_type=" + strconv.FormatInt(int64(his.IdCardType), 10)
|
1509
|
1509
|
resp, requestErr := http.Get(api)
|