Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
c37ddcb906
1 changed files with 6 additions and 0 deletions
  1. 6 0
      controllers/sg/his_api_controller.go

+ 6 - 0
controllers/sg/his_api_controller.go View File

@@ -3932,6 +3932,9 @@ func (c *HisApiController) GetUploadInfo() {
3932 3932
 						HisPatientId:          his.ID,
3933 3933
 						PatientId:             his.PatientId,
3934 3934
 						SettleAccountsDate:    recordDateTime,
3935
+						MdtrtId:               his.Number,
3936
+						PsnNo:                 his.PsnNo,
3937
+						MedType:               strconv.FormatInt(reg_type, 10),
3935 3938
 						Ctime:                 time.Now().Unix(),
3936 3939
 						Mtime:                 time.Now().Unix(),
3937 3940
 						Status:                1,
@@ -5793,6 +5796,9 @@ func (c *HisApiController) GetPreUploadInfo() {
5793 5796
 					SettleAccountsDate:  recordDateTime,
5794 5797
 					Ctime:               time.Now().Unix(),
5795 5798
 					Mtime:               time.Now().Unix(),
5799
+					MdtrtId:             his.Number,
5800
+					PsnNo:               his.PsnNo,
5801
+					MedType:             strconv.FormatInt(reg_type, 10),
5796 5802
 					Status:              1,
5797 5803
 					Number:              chrg_bchno,
5798 5804
 					Infcode:             res.Infcode,