csx 2 anni fa
parent
commit
819f13adb4
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      controllers/his_api_controller.go

+ 3 - 0
controllers/his_api_controller.go Vedi File

@@ -985,6 +985,9 @@ func (c *HisApiController) CreateHisPrescription() {
985 985
 	isMidicine := false
986 986
 	isCharge := false
987 987
 	if dataBody["prescriptions"] != nil && reflect.TypeOf(dataBody["prescriptions"]).String() == "[]interface {}" {
988
+
989
+
990
+
988 991
 		prescriptions, _ := dataBody["prescriptions"].([]interface{})
989 992
 		if len(prescriptions) > 0 {
990 993
 			for _, item := range prescriptions {