If you have the child, then you are responsible for the child's welfare. Therefore, if the medication is necessary and reasonable, then you should probably have the child take the medication. The legal standard is the best interest of the child. Therefore, so long as it is reasonable and necessary, you may do what is in the best interest of the child.