Revert "add med to db success"

This reverts commit 773cec40a9f221cfd151ace705dc81a5d34b2a16.
Revert "Revert "add med to db success""

This reverts commit 7d457532bbf37b1dc16aa49c3bfe240ea8e3d646.
temp

temp