The diagnosis of PCOS is primarily based on clinical criteria, typically the Rotterdam criteria, which require the presence of at least two of the following three features: oligo- or anovulation, clinical or biochemical signs of hyperandrogenism, and polycystic ovaries visible on ultrasound. Bioanalytical techniques play a crucial role in assessing the biochemical markers associated with PCOS.