If nothing else, certain treatments, prescriptions, programs or whatever are likely to at least sort of require a diagnosis. Exactly how formal that is, and how strong the requirements are, depends on condition, location, institution, laws, all kinds of things.