Only it often didn’t work properly because no medically trained person will participate. Nor should they because they must “do no harm”. So most of the time, the guards have no idea how to tell if someone is reacting to pain and don’t understand the actual effects of the drugs.
Money should not be considered speech and healthcare should not be something only corporations can afford.