Doctors in 2021 created more than 284,000 certifications based on a single qualifying condition — usually for anxiety disorders.