They no through experience what to look for, so if you show signs of a certain illness they have a pretty good idea ,it not just a stab in the dark.With bipolar you may have just 1 manic time or hundreds its still the same illness. You need mood stablisers when manic, if depresssion you dont you need AD,s. SCITS you need antiphcotics, and the list goes on.