Skip to content

Baby/primary teeth (maxTeeth=5) use adult FDI numbering (1x-4x) instead of primary notation (5x-8x) #20

@maks-oleksyuk

Description

@maks-oleksyuk

When using maxTeeth={5} to render a pediatric/primary dentition chart, the teeth are still numbered using adult FDI quadrant prefixes (11-15, 21-25, 31-35, 41-45) instead of the correct primary teeth notation.

Expected (FDI primary dentition standard):
Upper: 55 54 53 52 51 | 61 62 63 64 65
Lower: 85 84 83 82 81 | 71 72 73 74 75
Quadrant prefixes 5, 6, 7, 8 — not 1, 2, 3, 4.

Suggested fix

Add a type prop ("adult" | "baby"). When type="baby", render 5 teeth per quadrant using FDI primary codes 51–85

Why this matters

Any app storing diagnoses for primary teeth needs the correct FDI code (e.g. 55, not 15) to persist to the backend. Currently there's no way to render a correctly numbered baby dentition chart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions