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

    Function CaseDiagnosesModal

    • The "Case / regional diagnoses" pop-up. Moved out of the perio-status sidebar (PerioSidebar) into its own dialog, opened from the "Diagnoses" button next to the Odontogram / Periodontal-status view toggle. Mirrors CreditsModal's dialog contract: role="dialog" + aria-modal, Escape closes, backdrop click closes, focus is trapped while open and returned to the opener on close.

      Owns its own caseConds state + a single onStateChange subscription (like PerioSidebar did), so it stays live while open. Rows are code-first and code-sorted (getCaseConditions sorts by ICD-10); the add-picker options are code-first ({icd10} {label}) and code-sorted too.

      Parameters

      • __namedParameters: {
            onClose: () => void;
            open: boolean;
            t: (key: string, params?: Record<string, string | number>) => string;
        }
        • onClose: () => void
        • open: boolean
        • t: (key: string, params?: Record<string, string | number>) => string

          Translation function — the t from useI18n.

      Returns Element