|
|
|
|
9311
|
|
9311
|
|
9312
|
var result string
|
9312
|
var result string
|
9313
|
var requestLog string
|
9313
|
var requestLog string
|
9314
|
- if miConfig.UserOrgId == 10138 {
|
|
|
9315
|
- if id_card_type != 4 || id_card_type != 1 {
|
|
|
9316
|
- var insa string
|
|
|
9317
|
- if len(patient.InsuplcAdmdvs) > 0 {
|
|
|
9318
|
- insa = patient.InsuplcAdmdvs
|
|
|
9319
|
- } else {
|
|
|
9320
|
- insa = miConfig.InsuplcAdmdvs
|
|
|
9321
|
- }
|
|
|
9322
|
- //psn_info, _ := service.GetPsnByPatientId(id)
|
|
|
9323
|
- //result, requestLog = service.Gdyb1101ForEleCert(miConfig.OrgName, roles.UserName, miConfig.Code, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, psn_info.VerifyNumber)
|
|
|
9324
|
- result, requestLog = service.Gdyb1101D(patient.IdCardNo, miConfig.OrgName, roles.UserName, miConfig.Code, insa, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, id_card_type, "", strconv.FormatInt(certificates, 10), name, record_time)
|
|
|
|
|
9314
|
+ //if miConfig.UserOrgId == 10138 {
|
|
|
9315
|
+ if id_card_type != 4 || id_card_type != 1 {
|
|
|
9316
|
+ var insa string
|
|
|
9317
|
+ if len(patient.InsuplcAdmdvs) > 0 {
|
|
|
9318
|
+ insa = patient.InsuplcAdmdvs
|
|
|
9319
|
+ } else {
|
|
|
9320
|
+ insa = miConfig.InsuplcAdmdvs
|
9325
|
}
|
9321
|
}
|
|
|
9322
|
+ //psn_info, _ := service.GetPsnByPatientId(id)
|
|
|
9323
|
+ //result, requestLog = service.Gdyb1101ForEleCert(miConfig.OrgName, roles.UserName, miConfig.Code, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, psn_info.VerifyNumber)
|
|
|
9324
|
+ result, requestLog = service.Gdyb1101D(patient.IdCardNo, miConfig.OrgName, roles.UserName, miConfig.Code, insa, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, id_card_type, "", strconv.FormatInt(certificates, 10), name, record_time)
|
9326
|
}
|
9325
|
}
|
|
|
9326
|
+ //}
|
9327
|
//else {
|
9327
|
//else {
|
9328
|
// var insa string
|
9328
|
// var insa string
|
9329
|
// if len(patient.InsuplcAdmdvs) > 0 {
|
9329
|
// if len(patient.InsuplcAdmdvs) > 0 {
|