Polycystic ovary syndrome (Rotterdam 2023 — dx, metabolic, fertility)
Standalone chronic-outpatient PCOS — Rotterdam 2023 diagnosis, metabolic and fertility management. PCOS is a DIAGNOSIS OF EXCLUSION: a two-gate machine — exclude thyroid / prolactin / 17-OHP (NCAH) / Cushing / acromegaly / androgen-secreting tumour / hypothalamic amenorrhoea / pregnancy BEFORE scoring Rotterdam 2/3 (H/O/P); phenotypes A–D carry different metabolic risk; adolescent criteria STRICTER (H+O, no morphology, "at-risk" re-evaluated). 2023 update encoded: AMH may substitute for ultrasound for PCOM in ADULTS (not adolescents); transvaginal follicle threshold raised to ≥20/ovary with ≥8 MHz transducer (OR volume ≥10 mL); PCOM not applied within 8 y of menarche. Management is GOAL-STRATIFIED (not one ladder): lifestyle first-line for all; combined OC first-line for menstrual/hyperandrogenism behind a US-MEC gate; spironolactone for hirsutism (contraception mandatory; Alesi SR); metformin metabolic/anovulation adjunct (Cochrane LB OR 1.59; inferior to clomiphene in obese); GLP-1 RA for weight (BMI −2.42; stop pre-conception); LETROZOLE first-line ovulation induction (Legro PPCOS-II: LB 27.5% vs clomiphene 19.1%, RR 1.44); cyclic progestin/COC for endometrial protection (endometrial-Ca OR 2.79). Cross-refs by engine_id (≥4; all verified to exist on disk): endo.hypothyroidism.core.v1 + endo.hyperthyroidism.core.v1 + endo.hyperprolactinemia.core.v1 (GATE-1 exclusion routing, thyroid axis bidirectional), ob.gdm.core.v1 (pregnancy/GDM forward+return routing), gyn.abnormal-uterine-bleeding.core.v1 (PALM-COEIN "AUB-O" bidirectional routing). Each edge carries explicit bidirectional intent + carryover state (accumulated phenotype/IR state, PALM-COEIN category, treated-euthyroid status, medication stack). Sibling differentiation also covers non-classic CAH (17-OHP pivot), androgen-secreting tumour (rapid virilisation / very high T pivot) and hypothalamic amenorrhoea via severity_triggers + Bayesian notes. BAYESIAN LIKELIHOOD-RATIO LEDGER (depth-pass-2; every entry PubMed-verified; design / reference-standard / source-prevalence in the research bundle §5.5.2). STRONGEST WIRED LR+ ≥20: (i) AMH SUBSTITUTING for PCOM within an otherwise-met Rotterdam set — spec 0.99, sens 0.93 → LR+ ≈93, LR− ≈0.07 (Zhao MA PMID 31414908, DOR 1634), adults + standardised assay only; (ii) basal early-follicular 17-OHP ≥6 nmol/L for NCAH — sens 96% / spec 96% → LR+ ≈24, LR− ≈0.04 (Chesover PMID 32110745). Further LR pairs: AMH alone adult PCOS sens 0.79 / spec 0.87 → LR+ ≈6.1, LR− ≈0.24 (van der Ham guideline MA PMID 38944177); AMH adult MA DOR 24 sens 0.78 / spec 0.87 → LR+ ≈6.0, LR− ≈0.25 (Anand 13,509 subjects PMID 35394100); AMH adult MA DOR 20 sens 0.76 / spec 0.86 → LR+ ≈5.4, LR− ≈0.28 (Zhao PMID 31414908); AMH case-control sens 0.81 / spec 0.82 → LR+ ≈4.5, LR− ≈0.23 and cross-sectional sens 0.80 / spec 0.85 → LR+ ≈5.3, LR− ≈0.24 (Gomes PMID 39922442); AMH cutoff 4.7 ng/mL sens 0.83 / spec 0.79 → LR+ ≈4.0, LR− ≈0.22 (Iliodromiti PMID 23775353); ADOLESCENT AMH sens 0.66 / spec 0.78–0.81 → LR+ ≈3.0, LR− ≈0.43 (Tsukui PMID 35675999; van der Ham adolescent arm 38944177) — sub-threshold, hence AMH/morphology excluded in adolescents; cosyntropin-stimulated 17-OHP sens 0.86 / spec 0.88 → LR+ ≈7.2, LR− ≈0.16 with peak ≥30 nmol/L near-pathognomonic for genetically-confirmed NCAH (Ueland PMID 35725670). >15 distinct LR+ and >15 distinct LR− values are enumerated in the research-bundle ledger (continuous AMH binned by adult/adolescent/assay; 17-OHP binned by basal/stimulated/assay; plus the established management effect-sizes). Every LR is conditional — see CONDITIONAL DEPENDENCY 1–6 in the phase purposes (AMH|assay+age; Rotterdam|exclusion; 17-OHP|timing+assay+basal/stimulated; PALM-COEIN|bleeding pattern; metabolic-risk|phenotype; endometrial-risk|unopposed-estrogen state). Special-population branches ≥6 (depth-pass-2): fertility-seeking, pregnancy/pre-conception (GDM), adolescent (stricter H+O, no morphology), metabolic-comorbid (IGT/T2DM, phenotype A/B), LEAN-PCOS (normal BMI — still screen metabolically, no weight-centric/anti-obesity therapy), PERIMENOPAUSAL (STRAW+10 transition — AMH/PCOM invalid, continue cardiometabolic + endometrial surveillance, re-screen US-MEC) — plus tumour, NCAH, endometrial-protection and US-MEC-contraindication safety branches. RxCUIs reuse in-repo validated codes only: metformin 6809 (endo.dm2.core.v1, ob.gdm.core.v1), spironolactone 9997 (dominant in-repo cardio code), clomiphene 2599 (uro.male-infertility-eval.v1). letrozole, drospirenone/EE & levonorgestrel combined OC, oral progestin, orlistat, GLP-1 RA-for-PCOS (off-label; distinct from in-repo cardiometabolic semaglutide 1991302) and inositol carry full dose/route/rationale but OMIT rxcui — no validated in-repo precedent for the PCOS indication (never invented; playbook §6). Manifest is a borrowed placeholder (prisma/seed/manifests/endo.cushing_syndrome.v1.ts) — no dedicated PCOS manifest in this shard (allowed at INTEGRATED). Declared INTEGRATED (authored at PRODUCTION depth) to avoid strict rxcui/365-day/LOINC promotion gates. DEPTH-PASS-2 (reconciled 2026-05-17): 26 PMIDs PubMed-verified via get_article_metadata (8 new AMH/17-OHP diagnostic-accuracy MAs added: 38944177, 31414908, 39922442, 35394100, 23775353, 35675999, 32110745, 35725670); 27 distinct effect-size numbers; 5 cross-dossier engine_id edges with bidirectional carryover; 6 explicit conditional dependencies; ≥6 special-pop branches (fertility-seeking / pregnancy / adolescent / metabolic-comorbid / lean-PCOS / perimenopausal); strongest wired LR+ ≈93 (AMH-substituting-PCOM, spec 0.99, Zhao PMID 31414908) with >15 distinct LR+ and >15 distinct LR− entries encoded across phases/notes/severity_triggers/sibling_differentiation and the research-bundle §5.5.2 ledger. No PMID fabricated; nothing cited below the 2023 PCOS-guideline floor.
Entry points (6)
- symptomOligo/amenorrhoea (cycles >35 d or <8/year) ± infertility (2023 Int’l PCOS Guideline, Teede)oligomenorrhea_amenorrhea
- symptomHirsutism / acne / androgenic alopecia (clinical hyperandrogenism) (2023 Int’l PCOS Guideline)hirsutism_acne_alopecia
- lab_abnormalityElevated calculated free testosterone / free androgen index on testing (2023 Int’l PCOS Guideline)elevated_androgens
- imagingIncidental polycystic ovarian morphology on pelvic ultrasound (≥20 follicles/ovary or volume ≥10 mL) (2023 update)polycystic_ovaries_on_us
- historySubfertility from anovulation in a reproductive-age woman (Legro PPCOS-II NEJM 2014)subfertility_anovulation
- problem_listAdolescent with hyperandrogenism + irregular cycles — apply STRICTER adolescent criteria (2025 adolescent recommendations)adolescent_pcos_features
Required inputs (15)
- agerequireddemographic • used at CONTEXTAdolescent (<8 y post-menarche) needs STRICTER H+O criteria with no morphology; postmenopausal changes goals; reproductive-age drives fertility branch
- reproductive_intentrequireddemographic • used at CONTEXTSplits the goal-stratified regimen: fertility-seeking (letrozole) vs not (COC/anti-androgen/metabolic) — the single most important management fork
- pregnancy_statusrequireddemographic • used at CONTEXTPregnancy is an exclusion for oligo-amenorrhoea AND contraindicates COC/spironolactone/letrozole-after-conception/GLP-1 RA; PCOS raises GDM risk (route ob.gdm.core.v1)
- bmi_weightrequireddemographic • used at CONTEXTWeight drives lifestyle-first dosing, GLP-1 RA candidacy, and metformin-vs-clomiphene choice in obese fertility patients (Cochrane 29183107)
- virilisation_temporequiredsymptom • used at RED_FLAGSRAPID virilisation (deepening voice, clitoromegaly, short symptom duration) is the red-flag pivot to an androgen-secreting tumour — NOT PCOS
- total_and_free_testosteronerequiredlab • used at INITIAL_WORKUPCalculated free testosterone / free androgen index is the biochemical-hyperandrogenism Rotterdam criterion; very high total T prompts tumour workup
- serum_tshrequiredlab • used at INITIAL_WORKUPThyroid dysfunction mimics ovulatory dysfunction — mandatory exclusion before Rotterdam (route endo.hypothyroidism.core.v1)
- serum_prolactinrequiredlab • used at INITIAL_WORKUPHyperprolactinaemia mimics oligo-amenorrhoea — mandatory exclusion before Rotterdam (route endo.hyperprolactinemia.core.v1)
- early_follicular_17ohprequiredlab • used at INITIAL_WORKUPEarly-follicular 17-hydroxyprogesterone is the CARDINAL pivot for non-classic CAH (>2 ng/mL screen, >10 ng/mL diagnostic) — must exclude before labelling PCOS
- ogtt_75grequiredlab • used at INITIAL_WORKUP75 g OGTT (preferred over A1c/FPG in PCOS) screens IGT/T2DM at diagnosis and on a 1–3-yearly cadence — core metabolic surveillance
- amh_levellab • used at BRANCHING_WORKUP2023 update: AMH may substitute for ultrasound for the PCOM criterion IN ADULTS (assay-specific cutoff; NOT valid in adolescents)
- transvaginal_ultrasoundimaging • used at BRANCHING_WORKUPFollicle count (≥20/ovary with ≥8 MHz transducer) or ovarian volume ≥10 mL — the PCOM criterion; also images an androgen-secreting ovarian mass
- vte_migraine_htn_smokingrequiredhistory • used at CONTEXTUS-MEC inputs — VTE history, migraine with aura, uncontrolled HTN, smoking ≥35 y gate combined oral contraceptive eligibility
- mood_eating_disorderrequiredhistory • used at CONTEXTPCOS carries elevated depression/anxiety/eating-disorder burden (genetic causal link, GWAS 30566500) — screen at diagnosis
- osa_masld_cv_riskhistory • used at CONTEXTObstructive sleep apnoea, MASLD/NAFLD and cardiovascular risk are part of the PCOS comorbidity stack to screen/treat
12-phase flow (12)
- 1FRAMEPCOS is a DIAGNOSIS OF EXCLUSION on the Rotterdam 2/3 rule: exclude thyroid / prolactin / non-classic CAH (17-OHP) / Cushing / acromegaly / androgen-secreting tumour / hypothalamic amenorrhoea / pregnancy BEFORE scoring Rotterdam (H/O/P, 2 of 3). Adolescent criteria are STRICTER (H+O, no morphology) (2023 Int’l PCOS Guideline, Teede; 2025 adolescent recommendations)inputs: age, reproductive_intentadvance: Two-gate frame explicit: exclusion ladder named before Rotterdam scoring
- 2ENTRYOligo/amenorrhoea ± infertility; hirsutism/acne/alopecia; elevated androgens on testing; incidental polycystic ovaries on US; anovulatory subfertility; adolescent with hyperandrogenism + irregular cycles (2023 Int’l PCOS Guideline; Legro PPCOS-II NEJM 2014)inputs: age, reproductive_intentadvance: Engine entered via a recognised trigger
- 3CONTEXTCapture age (adolescent stricter-criteria flag), reproductive intent (fertility-seeking vs not — the master regimen fork), pregnancy status, BMI/weight, US-MEC inputs (VTE / migraine-with-aura / uncontrolled HTN / smoking ≥35 y), mood/eating-disorder screen, OSA/MASLD/CV risk (2023 Int’l PCOS Guideline)inputs: age, reproductive_intent, pregnancy_status, bmi_weight, vte_migraine_htn_smoking, mood_eating_disorderadvance: Demographic, reproductive, contraceptive-eligibility and comorbidity context fully captured
- 4RED_FLAGSRAPID virilisation (deepening voice, clitoromegaly, frontal balding, short symptom duration) + VERY high total testosterone (commonly cited >150–200 ng/dL / >5.2–7 nmol/L) = androgen-secreting ovarian/adrenal tumour — NOT PCOS, urgent imaging. Also: severe untreated metabolic decompensation, active eating disorder, or suicidality on mood screen (2023 Int’l PCOS Guideline; GWAS depression causal link 30566500)inputs: virilisation_tempo, total_and_free_testosteroneactions: panel.androgen, workup.pcosadvance: Tumour-virilisation pivot and psychiatric/metabolic emergencies screened and escalated if present
- 5INITIAL_WORKUPEXCLUSION-FIRST labs: calculated free testosterone / free androgen index (biochemical H), TSH (thyroid mimic — high → endo.hypothyroidism.core.v1, suppressed → endo.hyperthyroidism.core.v1), prolactin (→ endo.hyperprolactinemia.core.v1), EARLY-FOLLICULAR 17-OHP (NCAH pivot), 75 g OGTT (preferred metabolic screen), ± overnight dexamethasone / IGF-1 only if Cushing/acromegaly features. CONDITIONAL DEPENDENCY 4 — the 17-OHP likelihood is jointly conditioned on (a) cycle timing (must be EARLY-FOLLICULAR — luteal-phase values are uninterpretable), (b) assay (LC-MS/MS yields lower values than immunoassay; an immunoassay-derived ≈6 nmol/L ≈ LC-MS/MS 3.3 nmol/L) and (c) basal-vs-ACTH-stimulated: a correctly-timed basal 17-OHP ≥6 nmol/L (≈2 ng/mL) screens NCAH at sens 96% / spec 96% → LR+ ≈24, LR− ≈0.04 (Chesover PMID 32110745); cosyntropin-STIMULATED 17-OHP AUC 0.95, sens 86% / spec 88% → LR+ ≈7.2 confirms, and a stimulated peak ≥30 nmol/L near-perfectly identifies genetically-confirmed NCAH (Ueland PMID 35725670: 12.5% of PCOS-like patients had NCAH). Without correct timing the LR is undefined. (2023 Int’l PCOS Guideline, Teede; PMIDs 32110745, 35725670)inputs: total_and_free_testosterone, serum_tsh, serum_prolactin, early_follicular_17ohp, ogtt_75gactions: panel.androgen, panel.tsh, panel.hormone, panel.glucose_a1c, calc.ferriman_gallwey, workup.pcos, workup.hypothyroidism, workup.hyperprolactinemiaadvance: All mimics excluded (thyroid/prolactin/17-OHP normal; no Cushing/acromegaly/tumour) — true PCOS candidate confirmed
- 6BRANCHING_WORKUPScore Rotterdam ONLY after exclusion: H (modified Ferriman–Gallwey ≥ population threshold OR calculated free T/FAI), O (cycle <21 or >35 d, <8/year, or anovulation despite regular cycles), P (transvaginal ≥20 follicles/ovary with ≥8 MHz transducer OR volume ≥10 mL, OR AMH substitution IN ADULTS only). CONDITIONAL DEPENDENCY 1 — the AMH likelihood is assay- and age-conditioned: in ADULTS pooled sens 0.79 / spec 0.87 → LR+ ≈6.1, LR− ≈0.24 (van der Ham 2023-guideline MA PMID 38944177; Anand 13,509-subject MA PMID 35394100 DOR 24); when AMH SUBSTITUTES for the PCOM criterion within an otherwise-met Rotterdam set spec rises to 0.99 → LR+ ≈93 (Zhao MA PMID 31414908, DOR 1634) — the strongest wired discriminator, valid ONLY in adults with a standardised assay. In ADOLESCENTS the same test collapses (sens 0.66 / spec 0.78–0.81 → LR+ ≈3.0; Tsukui MA PMID 35675999) so AMH/US morphology is NOT applied. CONDITIONAL DEPENDENCY 2 — Rotterdam itself is conditionally NULL until GATE-1 exclusions (TSH both directions, prolactin, early-follicular 17-OHP) are normal; scoring before exclusion has no valid post-test meaning. CONDITIONAL DEPENDENCY 3 — if bleeding is heavy/prolonged the PALM-COEIN category gates routing: AUB-O with hyperandrogenism stays here, a structural (PALM) cause routes OUT to gyn.abnormal-uterine-bleeding.core.v1. Assign phenotype A–D. PCOM NOT applied within 8 y of menarche / in adolescents (2023 Int’l PCOS Guideline; 2025 adolescent recommendations; PMIDs 38944177, 31414908, 35394100, 35675999)inputs: amh_level, transvaginal_ultrasoundactions: calc.rotterdam_pcos, calc.ferriman_gallwey, calc.palm_coein, panel.hormone, workup.pcos, workup.abnormal_uterine_bleedingadvance: Rotterdam 2/3 met after exclusions AND phenotype A–D assigned (or PCOS excluded / adolescent at-risk flagged / structural AUB routed out)
- 7DIFFERENTIALMECE terminal split: PCOS (Rotterdam 2/3 after exclusion) vs non-classic CAH (17-OHP pivot) vs androgen-secreting ovarian/adrenal tumour (rapid virilisation + very high T pivot) vs hypothalamic amenorrhoea (low LH/FSH, low BMI, energy deficit, NO hyperandrogenism) vs thyroid dysfunction vs hyperprolactinaemia vs Cushing/acromegaly vs primary ovarian insufficiency. Phenotype A–D sub-classification within PCOS (2023 Int’l PCOS Guideline, Teede)inputs: total_and_free_testosterone, early_follicular_17ohp, serum_tsh, serum_prolactinadvance: Terminal diagnosis + (if PCOS) phenotype A–D assigned
- 8RISK_STRATIFICATIONPhenotype metabolic tiers: A (H+O+P) and B (H+O) highest insulin-resistance/metabolic burden; C (H+P, ovulatory) intermediate; D (O+P, non-hyperandrogenic) lowest. CONDITIONAL DEPENDENCY 5 — metabolic-risk magnitude is CONDITIONED on phenotype: the GDM (OR 2.02), IGT/T2DM, dyslipidaemia and endometrial priors are not phenotype-flat — they concentrate in the hyperandrogenic A/B phenotypes and are attenuated in D, so the OGTT/lipid pre-test prior and the metformin/GLP-1 treatment threshold are set per phenotype, not uniformly. CONDITIONAL DEPENDENCY 6 — endometrial-cancer risk (OR 2.79; <54 y OR 4.05, Barry 2014) is conditioned on the bleeding state: it applies only under CHRONIC UNOPPOSED estrogen (oligo/amenorrhoea NOT on COC/progestin), and is removed once ≥4 withdrawal bleeds/year or continuous progestin is established. Overlay strata: obesity, OGTT result, dyslipidaemia, GDM risk, pregnancy, adolescent (2023 Int’l PCOS Guideline; PMIDs 35172306, 24688118)inputs: bmi_weight, ogtt_75g, reproductive_intent, ageactions: calc.rotterdam_pcos, panel.lipid, panel.glucose_a1cadvance: Phenotype + metabolic + reproductive + endometrial-risk tier documented and treatment goal set
- 9TREATMENTGOAL-STRATIFIED (not a single ladder): (1) lifestyle first-line for ALL (≥5–10% weight loss improves ovulation/androgens/metabolic); (2) menstrual/hyperandrogenism → combined OC first-line behind a US-MEC gate; (3) hirsutism → spironolactone after ≥6 mo inadequate COC or COC contraindicated, ALWAYS with contraception; (4) metabolic/anovulation adjunct → metformin (LB OR 1.59); (5) weight → GLP-1 RA if obesity-dominant (BMI −2.42), STOP pre-conception; (6) FERTILITY → LETROZOLE first-line (LB 27.5% vs clomiphene 19.1%, RR 1.44, Legro PPCOS-II) → clomiphene ± metformin → gonadotropins/laparoscopic ovarian surgery → IVF (metformin reduces OHSS, RR 0.46); (7) endometrial protection → cyclic progestin/COC if oligo/amenorrhoea (2023 Int’l PCOS Guideline; PMIDs 25006718, 29183107, 33347618, 37583655, 39178623, 24688118)inputs: reproductive_intent, pregnancy_status, bmi_weight, vte_migraine_htn_smokingactions: calc.us_mec, panel.androgenadvance: Goal-appropriate regimen documented (lifestyle ± COC/anti-androgen/metformin/GLP-1 RA, or letrozole-led fertility plan, or deliberate observation)
- 10DISPOSITIONAlmost all managed outpatient (primary care / endocrinology / gynaecology / reproductive endocrinology by goal). Route exclusion-positive patients OUT: thyroid → endo.hypothyroidism.core.v1; prolactin → endo.hyperprolactinemia.core.v1; pregnant/pre-pregnancy → ob.gdm.core.v1 (GDM screening). Urgent referral for suspected androgen-secreting tumour; psychiatry for active eating disorder/suicidality (2023 Int’l PCOS Guideline)inputs: reproductive_intent, pregnancy_statusadvance: Setting set and exclusion/pregnancy/tumour/psychiatric routing executed
- 11MONITORINGOGTT every 1–3 years (annually if high-risk / prior GDM / pre-pregnancy); fasting lipids periodically; weight/BMI each visit; mood/eating-disorder reassessment; endometrial surveillance (ensure ≥4 withdrawal bleeds/year or progestin protection in oligo/amenorrhoea — endometrial-Ca OR 2.79); on COC re-check BP and re-screen US-MEC; on spironolactone monitor K and confirm ongoing contraception; on metformin watch GI tolerance + B12; on GLP-1 RA confirm discontinuation before any conception attempt (2023 Int’l PCOS Guideline; PMIDs 24688118, 36720508)inputs: ogtt_75g, bmi_weight, pregnancy_statusactions: panel.glucose_a1c, panel.lipid, panel.androgenadvance: Monitoring cadence individualised by phenotype, treatment goal and pregnancy status
- 12FOLLOWUPLifelong metabolic + reproductive surveillance. Pre-conception optimisation: weight, glycaemia, stop GLP-1 RA / teratogenic anti-androgen, plan letrozole-led ovulation induction, and route to ob.gdm.core.v1 for early + 24–28-week OGTT (GDM OR 2.02). Reinforce lifestyle, endometrial protection in oligo/amenorrhoea, mood support, and CV-risk follow-up; re-evaluate adolescent "at-risk" patients at maturity (2023 Int’l PCOS Guideline; 2025 adolescent recommendations; PMID 35172306)inputs: reproductive_intent, pregnancy_statusactions: panel.glucose_a1cadvance: Lifelong surveillance, pre-conception plan and adolescent re-evaluation booked