|
@@ -6439,6 +6439,16 @@ type ResultFour10265 struct {
|
6439
|
6439
|
Signtype string `json:"signtype"`
|
6440
|
6440
|
WarnMsg string `json:"warn_msg"`
|
6441
|
6441
|
}
|
|
6442
|
+type ResultMemo struct {
|
|
6443
|
+ InsuAdmdvs string `json:"insuAdmdvs"`
|
|
6444
|
+}
|
|
6445
|
+
|
|
6446
|
+//[{"begntime":"2022-01-01 00:00:00","endtime":"2022-12-31 00:00:00","memo":"{\"matIdetCode\":\"20\",\"insuAdmdvs\":\"350481\"}","psn_idet_type":"23","psn_type_lv":null}]
|
|
6447
|
+type ResultIDInfo struct {
|
|
6448
|
+ Begntime string `json:"begntime"`
|
|
6449
|
+ Endtime string `json:"endtime"`
|
|
6450
|
+ Memo ResultMemo `json:"memo"`
|
|
6451
|
+}
|
6442
|
6452
|
|
6443
|
6453
|
type ResultFive struct {
|
6444
|
6454
|
Balc float64 `json:"balc"`
|
|
@@ -7658,7 +7668,15 @@ func (c *HisApiController) GetRegisterInfo() {
|
7658
|
7668
|
insuplc_admdvs_temp = insuplc_admdvs
|
7659
|
7669
|
|
7660
|
7670
|
}
|
7661
|
|
-
|
|
7671
|
+ if miConfig.MdtrtareaAdmvs == "350500" {
|
|
7672
|
+ var rf []*ResultIDInfo
|
|
7673
|
+ json.Unmarshal([]byte(idetinfoStr), &rf)
|
|
7674
|
+ if len(rf) > 0 {
|
|
7675
|
+ if len(rf[0].Memo.InsuAdmdvs) > 0 {
|
|
7676
|
+ insuplc_admdvs_temp = rf[0].Memo.InsuAdmdvs
|
|
7677
|
+ }
|
|
7678
|
+ }
|
|
7679
|
+ }
|
7662
|
7680
|
if miConfig.MdtrtareaAdmvs == "421300" {
|
7663
|
7681
|
hb_doctor_info, _ := service.GetAdminUserInfoByID(adminInfo.CurrentOrgId, patientPrescription.DoctorId)
|
7664
|
7682
|
|