Typically takes _years_ to get formal diagnosis.
There are a few uncommon but far from rare diseases out there that aren’t well known amongst physicians. I’ve seen people put on psychiatric meds for esophageal disorders that take 2 seconds to diagnose on fluoroscopic esophagram.