I think the title should refer to “graduate degrees,” not “masters degrees” since both medical professionals and lawyers typically get doctorates (MDs and JDs). In theory a doctorate is a more advanced degree than a masters and takes longer to achieve.