ken wrote: Is that legal?
It will depend on the circumstances, there is Case Law that supports the DWP assuming the use of medication where it is reasonable for them to do so, the key thing is for the claimant to show that it is not reasonable, this could be because in reality treatment is not available, it is of little value or the effects of the treatment are debilitating in themselves, etc.
Gordon