The idea
I don't know what law implies that the state has the right to request information that should remain between yourself and your doctor, but whatever it is needs changing.
When attempting to sign on for JSA I do NOT expect to be asked what, if any, medication I am on. That's between me and my GP, not me and the state.
If I have an employer, it's between me and them. Not me and the state. So, stop the DWP asking questions they have no right to ask.
Why is it important?
Too much information is being asked that is not relevent to the service you are requiring from the state.
Although the NHS holds the information about my medication, i don't want someone sitting behind a desk with no medical knowledge knowing what, if any, medical problems I may have, especially when any such problem has no bearing on my ability to look for work.