|
@@ -7115,15 +7115,15 @@ func (c *HisApiController) PutRecord() {
|
7115
|
7115
|
}
|
7116
|
7116
|
|
7117
|
7117
|
doctor_id := strconv.FormatInt(patientPrescription.DoctorId, 10)
|
7118
|
|
- result := service.Gdyb2503(his.PsnNo, res.Output.Iinfo[0].Insutype, miConfig.OrgName, patientPrescription.Doctor, miConfig.Code, doctor_id, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, "重症尿毒症透析(血透)", "M07801")
|
|
7118
|
+ //result := service.Gdyb2503(his.PsnNo, res.Output.Iinfo[0].Insutype, miConfig.OrgName, patientPrescription.Doctor, miConfig.Code, doctor_id, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, "重症尿毒症透析(血透)", "M07801")
|
7119
|
7119
|
result2 := service.Gdyb5301(his.PsnNo, res.Output.Iinfo[0].Insutype, miConfig.OrgName, patientPrescription.Doctor, miConfig.Code, doctor_id, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, "重症尿毒症透析(血透)", "M07801")
|
7120
|
7120
|
|
7121
|
|
- var dat map[string]interface{}
|
7122
|
|
- if err := json.Unmarshal([]byte(result), &dat); err == nil {
|
7123
|
|
- fmt.Println(dat)
|
7124
|
|
- } else {
|
7125
|
|
- fmt.Println(err)
|
7126
|
|
- }
|
|
7121
|
+ //var dat map[string]interface{}
|
|
7122
|
+ //if err := json.Unmarshal([]byte(result), &dat); err == nil {
|
|
7123
|
+ // fmt.Println(dat)
|
|
7124
|
+ //} else {
|
|
7125
|
+ // fmt.Println(err)
|
|
7126
|
+ //}
|
7127
|
7127
|
|
7128
|
7128
|
var dat2 map[string]interface{}
|
7129
|
7129
|
if err := json.Unmarshal([]byte(result2), &dat2); err == nil {
|
|
@@ -7705,9 +7705,9 @@ func (c *HisApiController) PsnPutNCDSOnRecord() {
|
7705
|
7705
|
doctor_id, _ := c.GetInt64("doctor_id")
|
7706
|
7706
|
sick_id, _ := c.GetInt64("sick_id")
|
7707
|
7707
|
department_id, _ := c.GetInt64("department_id")
|
7708
|
|
- start_time, _ := c.GetString("start_time")
|
7709
|
|
- end_time, _ := c.GetString("end_time")
|
7710
|
|
- check_time, _ := c.GetString("check_time")
|
|
7708
|
+ start_time := c.GetString("start_time")
|
|
7709
|
+ end_time := c.GetString("end_time")
|
|
7710
|
+ check_time := c.GetString("check_time")
|
7711
|
7711
|
|
7712
|
7712
|
adminUser := c.GetAdminUserInfo()
|
7713
|
7713
|
patient, _ := service.GetPatientByID(adminUser.CurrentOrgId, patient_id)
|