They explain it in the article. Someone, often the funeral director filling out the death certificate, asks what the deceased did for most of their working life.
I’m a little skeptical of the category “ambulance drivers; not emergency medical technicians” as reliably coded, because people will often say so-and-so “drove an ambulance” when they were actually an EMT or paramedic. But it’s also not clear to me that would invalidate the findings.