I recently contacted the embassy in my country for specific advice on what was needed from the doctor. They said 'For the medical purpose, you must have an appointment confirmation letter from the hospital and information about the appointment and the procedure you will go through."
I use my Norwegian debit card to withdraw local currency. ATM's in Thailand have a fee but you can take your card and passport into some banks and withdraw for free (usually a minimum amount)