OCD is not a psychiatric diagnosis, but it can be part of obsessive-compulsive disorder (OCD).