Would you use this to ask what medicine someone had taken
Yes :)
Τι έχετε πάρει; should be added (2017 01 26, strenghtening)