Thank you, doctor. Goodbye.
Dank u wel, dokter. Tot ziens.
Sounds roughly like dahnk ew vel, DOK-ter. toht zeens (estimated)
Formal, A1. for strangers, staff, officials
Word by word.
Swap dokter for: meneer (sir), mevrouw (madam), apotheker (pharmacist), verpleegster (nurse). Alternatives are estimated.