It's done at random for medicinal purposes (9)
I believe the answer is:
antidotes
'medicinal purposes' is the definition.
Although both the answer and definition are plural nouns, I don't understand how one could define the other.
'it's done at random' is the wordplay.
'random' indicates anagramming the letters.
'its'+'done'+'at'='itsdoneat'
'itsdoneat' is an anagram of 'ANTIDOTES'.
'for' is the link.
Can you help me to learn more?
(Other definitions for antidotes that I've seen before include "Counteractions to poisons" , "Remedies" , "Cures for poisons" .)