This is a general subject in which there has been much debate. The whole idea of "does a XXX building fall under 517" is no easy question. IMHO, an optometrist office does not meet the definition, under 517.2, of a "health care facility."
My difficulty with this overall issue is that, once you first step into 517, I don't see any option other than to go all the way into and through 517. I don't think we get to say that this requirement of 517 will apply, and that other one will not, based on what types of activities go on within the facility. For example, I don't think I have had my eyes tested for prescription glasses in a building that had a backup generator and separate ATSs for life safety, critical, and equipment branches. If an optometrist office did not require those items, how are you going to apply any other rule within 517, such as the grounding requirements in 517.13?