Good question, I always make sure that I have my latest prescription with me, but I've never been asked for anything (100% know what will happen the next time I go 😂)
As said already you can get 30 days visa exempt and extend for a further 30 at an immigration office, have you considered a 60 day visa from your local Thai Embassy/Consulate before you leave and then extend that for another 30 days?