|
@@ -37,16 +37,16 @@ func Gdyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
|
37
|
37
|
inputData := make(map[string]interface{})
|
38
|
38
|
inputMessage["infno"] = "1101" // 交易编码
|
39
|
39
|
|
40
|
|
- if id_card_type == 1 {
|
41
|
|
- inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
|
42
|
|
- inputData["card_sn"] = card_sn // 卡识别码
|
43
|
|
- inputData["psn_cert_type"] = "90" // 人员证件类型
|
44
|
|
-
|
45
|
|
- } else {
|
46
|
|
- inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
|
47
|
|
- inputData["card_sn"] = "" // 卡识别码
|
48
|
|
- inputData["psn_cert_type"] = "1" // 人员证件类型
|
49
|
|
- }
|
|
40
|
+ //if id_card_type == 1 {
|
|
41
|
+ // inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
|
|
42
|
+ // inputData["card_sn"] = card_sn // 卡识别码
|
|
43
|
+ // inputData["psn_cert_type"] = "90" // 人员证件类型
|
|
44
|
+ //
|
|
45
|
+ //} else {
|
|
46
|
+ inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
|
|
47
|
+ inputData["card_sn"] = "" // 卡识别码
|
|
48
|
+ inputData["psn_cert_type"] = "1" // 人员证件类型
|
|
49
|
+ //}
|
50
|
50
|
|
51
|
51
|
inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
|
52
|
52
|
inputData["certno"] = certNo // 证件号码
|
|
@@ -111,13 +111,13 @@ func Gdyb2201(psnNo string, insutype string, certNo string, org_name string, doc
|
111
|
111
|
inputData["insutype"] = insutype // 险种类型(来自1101接口返回)
|
112
|
112
|
inputData["begntime"] = timeFormatOne // 开始时间
|
113
|
113
|
|
114
|
|
- if id_card_type == 1 {
|
115
|
|
- inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
|
116
|
|
- inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
|
117
|
|
- } else {
|
118
|
|
- inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
|
119
|
|
- inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
|
120
|
|
- }
|
|
114
|
+ //if id_card_type == 1 {
|
|
115
|
+ // inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
|
|
116
|
+ // inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
|
|
117
|
+ //} else {
|
|
118
|
+ inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
|
|
119
|
+ inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
|
|
120
|
+ //}
|
121
|
121
|
|
122
|
122
|
inputData["ipt_otp_no"] = ipt_otp_no // 住院/门诊号
|
123
|
123
|
inputData["atddr_no"] = doctor_id // 医师编码
|