React Advanced Odontogram - v2.6.0
    Preparing search index...

    Function setDxOverrideForSelection

    • Add/suppress/clear one coded diagnosis on the current selection — validates key against TOOTH_LEVEL_DX_KEYS and mode against VALID_DX_OVERRIDE_VALUE (or null, which clears any existing override for key); anything else is a silent no-op. Routed through gateToothEditBatch directly (not applyToSelected) since dxOverrides has no SVG/DOM side effect to re-render per tooth.

      Parameters

      • key: string
      • mode: "add" | "suppress"

      Returns void