|
@@ -3626,18 +3626,26 @@ func Gdyb1101B(certNo string, org_name string, doctor string, fixmedins_code str
|
3626
|
3626
|
inputData["psn_cert_type"] = "99" // 人员证件类型
|
3627
|
3627
|
|
3628
|
3628
|
} else {
|
3629
|
|
- if id_card_type == 1 {
|
3630
|
|
- inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
|
3631
|
|
- inputData["card_sn"] = "" // 卡识别码
|
3632
|
|
- inputData["certno"] = certNo // 证件号码
|
3633
|
|
- inputData["psn_cert_type"] = "" // 人员证件类型
|
|
3629
|
+ if certificates == 1 {
|
|
3630
|
+ if id_card_type == 1 {
|
|
3631
|
+ inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
|
|
3632
|
+ inputData["card_sn"] = "" // 卡识别码
|
|
3633
|
+ inputData["certno"] = certNo // 证件号码
|
|
3634
|
+ inputData["psn_cert_type"] = "01" // 人员证件类型
|
|
3635
|
+ } else {
|
|
3636
|
+ inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
|
|
3637
|
+ inputData["card_sn"] = "" // 卡识别码
|
|
3638
|
+ inputData["certno"] = certNo // 证件号码
|
|
3639
|
+ inputData["psn_cert_type"] = "01" // 人员证件类型
|
|
3640
|
+ }
|
3634
|
3641
|
|
3635
|
|
- } else {
|
3636
|
|
- inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
|
|
3642
|
+ } else if certificates == 6 {
|
|
3643
|
+ inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
|
3637
|
3644
|
inputData["card_sn"] = "" // 卡识别码
|
3638
|
3645
|
inputData["certno"] = certNo // 证件号码
|
3639
|
|
- inputData["psn_cert_type"] = "" // 人员证件类型
|
|
3646
|
+ inputData["psn_cert_type"] = "17" // 人员证件类型
|
3640
|
3647
|
}
|
|
3648
|
+
|
3641
|
3649
|
}
|
3642
|
3650
|
|
3643
|
3651
|
inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
|