In the UK the medical degree that most medical doctors do is an undergraduate bachelor’s degrees. They use 'doctor' as a courtesy title after graduating, but only if they're junior and not a surgeon.
What are they known by when they stop being "junior"?