Clinical Commander

All dossiers
derm.melanoma.core.v1

Cutaneous melanoma (dermatology lens)

dermatologysubacutechronicadultoutpatient

DERMATOLOGY-framed NOT-TO-MISS cutaneous melanoma engine — owns suspicious-pigmented-lesion recognition (ABCDE/ugly-duckling/EFG/dermoscopy/Hutchinson) → diagnostic excisional biopsy → synoptic histopathology → AJCC 8th-edition staging → wide local excision + SLNB + lentigo-maligna options + lifelong stage-stratified surveillance. Advanced/adjuvant systemic therapy is recognised, staged-for, and ROUTED by engine_id to onc.melanoma-systemic.core.v1; pigmented BCC routes to derm.actinic-keratosis-nmsc.core.v1; checkpoint-inhibitor cutaneous irAE is co-managed and routed to derm.drug-eruption.core.v1. Guidelines refreshed (not merely tagged) 2026-05-18 via PubMed MCP: AAD 2019 primary cutaneous melanoma (PMID 30392755, DOI 10.1016/j.jaad.2018.08.055) is the current AAD authority; AJCC 8th-edition staging is current; landmark trial set (MSLT-I 24521106, MSLT-II 28591523, CheckMate 067 5-yr 31562797, KEYNOTE-006 25891173 / 7-yr 37348035, COMBI-d/v 5-yr 31166680, CheckMate 238 5-yr 37058595, KEYNOTE-716 35367007, SWOG S1801 36856617) all PubMed metadata-confirmed this session. AAD melanoma authority is not in the verified-floor memory — recommend adding "AAD 2019 cutaneous melanoma + AJCC 8th edition". RxCUIs validated live against RxNav 2026-05-18 (forward name→cui + reverse cui→RxNorm Name, ingredient-level TTY=IN): nivolumab 1597876, pembrolizumab 1547545, ipilimumab 1094833, dabrafenib 1424911 (ingredient IN; mesylate PIN 1425222 NOT used), trametinib 1425099, encorafenib 2049106, binimetinib 2049122, vemurafenib 1147220, cobimetinib 1722365, relatlimab 2596773, imiquimod 59943. No hand-authored codes. Non-pharmacologic entries (wide local excision, SLNB, nodal-US surveillance, staged/Mohs excision, radiotherapy, T-VEC intralesional oncolytic, neoadjuvant pembrolizumab regimen, irAE recognition gate) carry non_pharm:true and are exempt from the rxcui requirement. AJCC 8th-edition staging (T from Breslow + ulceration; N from SLN/clinical nodes + microsatellites/in-transit; M from site + serum LDH M1[0]/[1]) is schema-blocked — not present as a TS calculator in clinical-tools-registry; captured narratively in RISK_STRATIFICATION + the companion brief. Decision surface satisfied by the stage-directed regimen ladder + workup.chronic_pruritus + calc.ckd_epi_2021. Schema-blocked calc tickets surfaced in the co-located design brief. Bayesian linkage (pigmented-lesion pre-test priors risk-conditioned, LR+/LR− for ≥8 distinguishing dermoscopic/clinical findings incl. the amelanotic-nodular and subungual pivots, ≥4 conditional dependencies incl. dermoscopy-LR | examiner-expertise and ABCDE | nodular-subtype, T_treat/T_test biopsy threshold, ≥4 cross-engine routing edges by engine_id to onc.melanoma-systemic / derm.actinic-keratosis-nmsc / derm.drug-eruption) is documented in the co-located _design-brief.md + _research-bundle.md; first-class TS LR fields remain schema-blocked (same constraint as the cellulitis/atopic-dermatitis gold templates). Effect sizes (≥10, verified via PubMed this session): ipi+nivo 5-yr OS 52% vs nivo 44% vs ipi 26%, death HR 0.52 (ipi+nivo) and 0.63 (nivo) vs ipilimumab (CheckMate 067 PMID 31562797); pembrolizumab 7-yr OS 37.8% vs 25.3% ipilimumab, OS HR 0.70 (KEYNOTE-006 PMID 37348035; PFS HR 0.58 PMID 25891173); dabrafenib+trametinib 5-yr OS 34% (71% if complete response), PFS 19% (COMBI-d/v PMID 31166680); adjuvant nivolumab 5-yr RFS 50% vs 39% ipilimumab, RFS HR 0.72 (CheckMate 238 PMID 37058595); adjuvant pembrolizumab stage IIB/IIC RFS HR 0.61 (KEYNOTE-716 PMID 35367007); neoadjuvant-adjuvant pembrolizumab 2-yr EFS 72% vs 49% adjuvant-only (SWOG S1801 PMID 36856617); SLN-positive vs negative 10-yr melanoma-specific-survival HR ~3.09 (intermediate-thickness) / 1.75 (thick), biopsy-arm MSS HR 0.56 (MSLT-I PMID 24521106); completion-dissection vs nodal-US 3-yr MSS 86% vs 86% (non-superior, MSLT-II PMID 28591523). Full numerics + DOIs in _research-bundle.md.

Entry points (5)

  • symptom
    New, changing, or symptomatic pigmented lesion meeting ABCDE / ugly-duckling criteria (AAD 2019 primary cutaneous melanoma PMID 30392755)
    new_or_changing_pigmented_lesion
  • symptom
    Rapidly growing elevated firm nodule (EFG) — incl. amelanotic/pink nodular melanoma which classically defeats ABCDE (AAD 2019 PMID 30392755)
    rapidly_growing_nodular_or_amelanotic_lesion
  • symptom
    Pigmented nail band with proximal-nail-fold pigment spread (Hutchinson sign) → subungual melanoma until biopsy proven otherwise (AAD 2019 PMID 30392755)
    longitudinal_melanonychia_with_hutchinson
  • history
    Total-body skin exam in a high-risk patient (≥50 nevi / atypical-mole syndrome, personal/family melanoma, CDKN2A, chronic immunosuppression, prior intense UV) (AAD 2019 PMID 30392755)
    high_risk_skin_cancer_surveillance
  • history
    Established melanoma in surveillance — second-primary detection, recurrence/in-transit screen, irAE if on routed systemic therapy (AAD 2019 PMID 30392755)
    prior_melanoma_followup

Required inputs (17)

  • lesion_abcde_and_change_historyrequired
    symptom • used at ENTRY
    Asymmetry, Border irregularity, Colour variegation, Diameter >6 mm, Evolution + a documented changing lesion are the core recognition signal driving the biopsy decision (AAD 2019 PMID 30392755)
  • dermoscopy_findingsrequired
    symptom • used at CONTEXT
    Atypical pigment network, blue-white veil, irregular streaks/dots/globules, regression structures, negative network raise melanoma probability and outperform naked-eye exam in trained hands (AAD 2019 PMID 30392755)
  • ugly_duckling_and_total_body_contextrequired
    symptom • used at CONTEXT
    A lesion that deviates from the patient’s nevus signature ("ugly duckling") plus a total-body skin exam contextualises an isolated lesion and finds synchronous primaries (AAD 2019 PMID 30392755)
  • melanoma_risk_factorsrequired
    history • used at CONTEXT
    Fair skin/UV burden, ≥50 nevi or atypical-nevus syndrome, personal/family melanoma, CDKN2A/CDK4, immunosuppression set the pre-test prior and surveillance intensity (AAD 2019 PMID 30392755)
  • special_site_featuresrequired
    symptom • used at CONTEXT
    Acral (sole/palm) and subungual (Hutchinson, longitudinal melanonychia) presentations are commonly delayed in skin of colour and need a dedicated biopsy pathway (AAD 2019 PMID 30392755)
  • amelanotic_or_bleeding_nodular_lesionrequired
    symptom • used at RED_FLAGS
    Amelanotic/pink, rapidly growing, bleeding nodular lesions defeat ABCDE — a not-to-miss requiring a low biopsy threshold (AAD 2019 PMID 30392755)
  • regional_node_or_in_transit_signsrequired
    symptom • used at RED_FLAGS
    Palpable regional nodes, satellite/in-transit lesions, or a fixed mass change staging and trigger urgent staging + oncology referral (AJCC 8th edition; AAD 2019 PMID 30392755)
  • metastatic_systemic_or_neuro_symptomsrequired
    symptom • used at RED_FLAGS
    Visceral symptoms, weight loss, or neurologic deficit/headache (brain metastasis) escalate to urgent oncology ± neuro and modify imaging (AJCC8; AAD 2019 PMID 30392755)
  • biopsy_breslow_ulceration_mitoses_subtyperequired
    history • used at INITIAL_WORKUP
    Definitive histopathology — Breslow thickness, ulceration, dermal mitotic rate, subtype, microsatellites, margins — is the single determinant of T-category, SLNB candidacy and WLE margin (AJCC8; AAD 2019 PMID 30392755)
  • ldh
    lab • used at RISK_STRATIFICATION
    Elevated serum LDH up-stages M1 (M1[0] vs M1[1]) and is prognostic in metastatic disease (AJCC 8th edition; AAD 2019 PMID 30392755)
  • staging_imaging_by_stage
    imaging • used at BRANCHING_WORKUP
    Nodal ultrasound, CT/PET-CT, and brain MRI are stage-directed — not for low-risk stage I, indicated for node-positive/high-stage disease (AAD 2019 PMID 30392755)
  • braf_nras_ckit_molecular
    lab • used at BRANCHING_WORKUP
    BRAF V600 (and NRAS, c-KIT in acral/mucosal) testing on resectable stage III–IV / unresectable disease selects targeted therapy and is routed with the patient to oncology (AAD 2019 PMID 30392755)
  • pregnancy_status
    history • used at TREATMENT
    Wide excision/SLNB are safe in pregnancy; staging imaging is modified and systemic immuno/targeted therapy is generally deferred — gates the management arc (AAD 2019 PMID 30392755)
  • immunosuppression_or_transplant
    history • used at TREATMENT
    Solid-organ-transplant/immunosuppressed patients have higher melanoma risk and worse outcomes, and checkpoint-inhibitor immunotherapy carries graft-rejection risk — modifies routed systemic choice (AAD 2019 PMID 30392755)
  • cbc_with_differential
    lab • used at INITIAL_WORKUP
    Baseline + on-treatment monitoring for routed BRAF/MEK (cytopenias) and checkpoint-inhibitor irAE work-up (AAD 2019 PMID 30392755; CheckMate 067 PMID 31562797)
  • lft
    lab • used at INITIAL_WORKUP
    Baseline + monitoring — immune hepatitis (checkpoint irAE) and BRAF/MEK hepatotoxicity in routed systemic therapy (AAD 2019 PMID 30392755; CheckMate 067 PMID 31562797)
  • creatinine
    lab • used at TREATMENT
    CKD-EPI 2021 race-free eGFR for contrast-imaging staging risk and renal dose context if routed systemic therapy is given (AAD 2019 PMID 30392755; Inker NEJM 2021)

12-phase flow (12)

  1. 1FRAME
    Frame as a NOT-TO-MISS: the dermatology engine owns recognition → diagnostic excisional biopsy → histopath-driven AJCC8 staging → wide local excision + SLNB + surveillance, and ROUTES advanced/adjuvant systemic therapy to oncology by engine_id (onc.melanoma-systemic.core.v1) while co-managing checkpoint-inhibitor cutaneous toxicity. Early thin melanoma is highly curable; the failure mode is delayed recognition/biopsy and the amelanotic/nodular/subungual misses (AAD 2019 PMID 30392755).
    advance: derm-scope set; systemic-therapy + NMSC + irAE routes noted by engine_id
  2. 2ENTRY
    Recognise a new/changing/symptomatic pigmented lesion, a rapidly growing nodular/amelanotic lesion, a Hutchinson-positive nail, or a high-risk surveillance/established-melanoma entry; capture ABCDE + change history up front (the core recognition signal).
    inputs: lesion_abcde_and_change_history
    actions: workup.chronic_pruritus
    advance: entry trigger present; ABCDE + change history recorded
  3. 3CONTEXT
    Build the recognition context: dermoscopy (atypical network, blue-white veil, irregular streaks/dots, regression, negative network), ugly-duckling judgement on a total-body skin exam, melanoma risk-factor stratification (UV/fair skin/≥50 nevi/atypical-nevus syndrome/family/CDKN2A/immunosuppression), and special-site features (acral, subungual Hutchinson) that are commonly delayed in skin of colour.
    inputs: dermoscopy_findings, ugly_duckling_and_total_body_context, melanoma_risk_factors, special_site_features
    actions: workup.chronic_pruritus
    advance: risk-conditioned pre-test prior + total-body context established
  4. 4RED_FLAGS
    Do NOT monitor a high-suspicion lesion — a clinically/dermoscopically suspicious lesion goes to urgent diagnostic excisional biopsy. Screen the not-to-miss amelanotic/bleeding nodular melanoma, regional nodal / satellite-in-transit disease, and metastatic visceral or brain-metastasis symptoms; checkpoint-inhibitor severe irAE (colitis/hepatitis/pneumonitis/myocarditis) in a patient on routed systemic therapy is an emergent route-out.
    inputs: amelanotic_or_bleeding_nodular_lesion, regional_node_or_in_transit_signs, metastatic_systemic_or_neuro_symptoms
    actions: panel.cbc, panel.inflammation
    advance: suspicious lesion routed to urgent biopsy; nodal/metastatic/irAE red flags screened and escalated/routed if present
  5. 5INITIAL_WORKUP
    DIAGNOSTIC EXCISIONAL BIOPSY with 1–3 mm clinical margins to depth (or full-thickness punch/incisional through the thickest/most atypical area when complete excision is impractical — NOT a superficial shave for a deep or uncertain pigmented lesion, which truncates Breslow). Synoptic histopathology: Breslow thickness, ulceration, dermal mitotic rate, Clark level (legacy), subtype (superficial spreading / nodular / lentigo maligna / acral lentiginous), microsatellites, lymphovascular invasion, peripheral/deep margins. Baseline CBC/LFT only if systemic therapy is anticipated — routine bloods/imaging are NOT indicated for asymptomatic stage 0–II (AAD 2019 PMID 30392755).
    inputs: biopsy_breslow_ulceration_mitoses_subtype, cbc_with_differential, lft
    actions: panel.cbc, panel.lft
    advance: definitive biopsy obtained with adequate technique; synoptic histopathology + Breslow/ulceration/mitoses/subtype reported
  6. 6BRANCHING_WORKUP
    Histopath-driven branch: melanoma in situ → margin re-excision only; invasive → AJCC8 T-category from Breslow + ulceration → SLNB DISCUSSION at ≈T1b (≥0.8 mm, or <0.8 mm with ulceration) and offered for all ≥T2 (MSLT-I prognostic PMID 24521106; SLN+ does NOT mandate completion lymphadenectomy — nodal US surveillance is non-inferior, MSLT-II PMID 28591523). Stage-directed imaging: none/US for low stage; CT/PET-CT + brain MRI + LDH for node-positive/high stage. BRAF V600 (+ NRAS/c-KIT for acral/mucosal) molecular testing on stage III–IV / unresectable disease, carried with the patient to oncology.
    inputs: staging_imaging_by_stage, braf_nras_ckit_molecular
    actions: workup.le_edema, panel.inflammation
    advance: AJCC8 stage assigned; SLNB candidacy decided; stage-directed imaging + molecular testing ordered as indicated
  7. 7DIFFERENTIAL
    Terminal pigmented-lesion differential with named pivots: melanoma vs benign acquired nevus (symmetric, stable, regular network pivot) vs dysplastic/atypical nevus (mild irregularity, monitor-vs-excise pivot) vs seborrheic keratosis (stuck-on, milia-like cysts + comedo-like openings pivot) vs pigmented basal cell carcinoma (arborising vessels + leaf-like areas, route derm.actinic-keratosis-nmsc.core.v1) vs solar lentigo / ink-spot lentigo (uniform fingerprint pattern pivot) vs blue nevus (homogeneous steel-blue, long-stable pivot) vs dermatofibroma (central white scar-like patch + dimple sign pivot) vs subungual haematoma (resolving, moves out with growth, no Hutchinson — vs subungual melanoma) vs pyogenic granuloma (rapid friable vascular nodule — vs amelanotic nodular melanoma) vs angiokeratoma (dark vascular lacunae pivot). When in doubt, biopsy — recognition errors are the dominant harm.
    advance: single best diagnosis selected, or biopsy performed because melanoma cannot be confidently excluded
  8. 8RISK_STRATIFICATION
    AJCC 8th-edition staging (schema-blocked as a TS calculator — captured narratively): T from Breslow + ulceration (Tis; T1a <0.8 mm non-ulcerated; T1b 0.8–1.0 mm or <0.8 mm ulcerated; T2 >1–2; T3 >2–4; T4 >4 mm), N from SLN/clinical nodes + microsatellites/in-transit, M from site + serum LDH (M1a/b/c/d, [0] normal vs [1] elevated LDH). Stage drives margin, SLNB, imaging, surveillance cadence and adjuvant-therapy routing.
    inputs: ldh, biopsy_breslow_ulceration_mitoses_subtype
    actions: panel.inflammation
    advance: AJCC8 clinical/pathologic stage assigned; LDH incorporated for metastatic disease
  9. 9TREATMENT
    DERMATOLOGY-OWNED definitive local therapy: wide local excision with AJCC8/AAD stage-based margins (in situ 0.5–1.0 cm; ≤1.0 mm → 1 cm; >1–2 mm → 1–2 cm; >2 mm → 2 cm) (non-pharm); SLNB at the same setting per criteria (non-pharm); lentigo maligna where wide margins are unfeasible → staged/Mohs excision, or topical imiquimod / definitive radiotherapy (AAD 2019 PMID 30392755). Resected stage III / high-risk II and unresectable/metastatic disease: ADJUVANT and ADVANCED systemic therapy (anti-PD-1, ipilimumab+nivolumab, nivolumab+relatlimab, BRAF/MEK for BRAF-mutant, neoadjuvant per SWOG S1801, T-VEC for select in-transit) are recognised and ROUTED to onc.melanoma-systemic.core.v1 by engine_id; dermatology co-manages checkpoint-inhibitor cutaneous toxicity. Gate on pregnancy (excision safe; defer systemic), immunosuppression/transplant (checkpoint-inhibitor graft-rejection caution), and BRAF status (BRAFi only if BRAF-mutant — BRAFi monotherapy in BRAF-wildtype can paradoxically activate MAPK).
    inputs: pregnancy_status, immunosuppression_or_transplant, creatinine
    advance: WLE ± SLNB plan set with correct stage-based margins; lentigo-maligna alternative chosen if applicable; systemic therapy routed to oncology with carryover
  10. 10DISPOSITION
    Almost entirely outpatient: WLE ± SLNB as a day procedure; surveillance in derm/onco-derm clinic. Inpatient/urgent referral only for bulky nodal/in-transit disease needing oncologic surgery, symptomatic metastatic disease, brain metastasis, or severe checkpoint-inhibitor irAE (routed). Multidisciplinary tumour-board referral for stage ≥III; oncology shared-care for any systemic therapy.
    inputs: regional_node_or_in_transit_signs, metastatic_systemic_or_neuro_symptoms
    advance: disposition documented; MDT/oncology referral made for stage ≥III; systemic therapy delegated by engine_id
  11. 11MONITORING
    Stage-stratified surveillance (AAD 2019 PMID 30392755): history + total-body skin + regional-node exam every 6–12 mo for low-risk stage 0–I, every 3–6 mo for stage II–IV (years 1–2) extending intervals over time, lifelong skin self-exam education; nodal ultrasound for SLN+ on observation (MSLT-II PMID 28591523); stage-directed cross-sectional/brain imaging + LDH for higher stages. For patients on routed systemic therapy, dermatology co-monitors immune cutaneous toxicity and surfaces severe irAE (thyroid/hepatitis/colitis/pneumonitis/dermatitis/myocarditis) for emergent oncology routing; BRAF/MEK toxicity (pyrexia, ocular, cardiac, cutaneous) per oncology.
    inputs: ldh, cbc_with_differential
    actions: panel.cbc, panel.lft, panel.inflammation
    advance: stage-appropriate surveillance schedule set; irAE/targeted-toxicity co-monitoring defined for routed-systemic patients
  12. 12FOLLOWUP
    Lifelong derm continuity: scheduled total-body skin exams (second-primary risk is elevated for life — ~ up to 5–10% lifetime second melanoma), structured skin self-examination + partner-assisted nail/scalp/acral checks, photoprotection counselling, surveillance imaging cadence by stage, and first-degree-relative + CDKN2A familial counselling (incl. pancreatic-cancer surveillance discussion in CDKN2A kindreds). Re-stage and re-route to oncology on recurrence/in-transit/new-primary; reconcile any checkpoint-inhibitor cutaneous irAE with derm.drug-eruption.core.v1.
    inputs: melanoma_risk_factors, special_site_features
    actions: workup.chronic_pruritus
    advance: lifelong surveillance + self-exam + photoprotection + familial counselling documented; recurrence/second-primary re-entry path defined