|
@@ -15348,7 +15348,11 @@ func (c *HisApiController) GetPatientInfo() {
|
15348
|
15348
|
// c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
|
15349
|
15349
|
// return
|
15350
|
15350
|
//}
|
15351
|
|
-
|
|
15351
|
+ for _, item := range res.Output.Iinfo {
|
|
15352
|
+ if item.PsnInsuStas == "2" {
|
|
15353
|
+ item.Insutype = "300"
|
|
15354
|
+ }
|
|
15355
|
+ }
|
15352
|
15356
|
if res.Infcode != 0 {
|
15353
|
15357
|
c.ServeSuccessJSON(map[string]interface{}{
|
15354
|
15358
|
"failed_code": -10,
|
|
@@ -15363,6 +15367,7 @@ func (c *HisApiController) GetPatientInfo() {
|
15363
|
15367
|
|
15364
|
15368
|
}
|
15365
|
15369
|
}
|
|
15370
|
+
|
15366
|
15371
|
func (c *HisApiController) PsnPutOnRecord() {
|
15367
|
15372
|
record_type, _ := c.GetInt64("type")
|
15368
|
15373
|
patient_id, _ := c.GetInt64("patient_id")
|