add a section of discontinued medications and drop down choices of why you no longer take it.
I no longer take 2 depression medication because they are no longer effective. This way if seeing a new doctor they have a more complete picture.
Thank you for sending us this suggestion. We will discuss its viability with the rest of our team. In the meantime, if there is something else we can do for you, please write to us to firstname.lastname@example.org