|
@@ -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 {
|