Browse Source

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

csx 3 years ago
parent
commit
47e5d837f7
2 changed files with 4 additions and 2 deletions
  1. 2 0
      controllers/zh/zh_his_api_controller.go
  2. 2 2
      service/zh_his_service.go

+ 2 - 0
controllers/zh/zh_his_api_controller.go View File

@@ -373,6 +373,8 @@ func (c *ZHHisApiController) GetZHInHospitalCheck() {
373 373
 		struct2401.AdmDeptCodg = strconv.FormatInt(int64(departmentInfo.ID), 10)
374 374
 		struct2401.AdmDeptName = departmentInfo.Name
375 375
 		struct2401.AdmBed = deviceNumber.Number
376
+		struct2401.AdmBed = "待定"
377
+
376 378
 		struct2401.DscgMaindiagName = diagnosisConfig[0].ClassName
377 379
 		struct2401.DscgMaindiagCode = diagnosisConfig[0].CountryCode
378 380
 		struct2401.Begntime = start_time

+ 2 - 2
service/zh_his_service.go View File

@@ -159,8 +159,8 @@ func ZHGdyb2401(struct2401 Struct2401, secret_key string, org_name string, fixme
159 159
 	inputData["dscg_maindiag_code"] = struct2401.DscgMaindiagCode
160 160
 	inputData["dscg_maindiag_name"] = struct2401.DscgMaindiagName
161 161
 	inputData["main_cond_dscr"] = ""
162
-	inputData["dise_codg"] = ""
163
-	inputData["dise_name"] = ""
162
+	inputData["dise_codg"] = struct2401.DiseCodg
163
+	inputData["dise_name"] = struct2401.DiseName
164 164
 	inputData["oprn_oprt_code"] = ""
165 165
 	inputData["oprn_oprt_name"] = ""
166 166
 	inputData["fpsc_no"] = ""