Main Interface Elements
The Dental Odontogram application features a clean, professional layout designed for efficient dental charting and treatment documentation.Application Layout
The interface is divided into three main sections:- Patient Header - Displays current patient information
- Controls Column (left side, 20% width) - Treatment selection buttons
- Content Area (right side, 80% width) - Odontogram canvas and controls
Patient Information Header
Located at the top of the application:Controls Column
Treatment Controls Panel
The left sidebar contains all available treatments organized in a vertical button grid:- Visual symbol - The symbol that appears on the odontogram
- Treatment name - Spanish description of the treatment
Action Controls
Below the treatment buttons are utility controls:- Borrar (Delete) - Click to activate delete mode, then click teeth to remove treatments
- Limpiar (Clear) - Clears all treatments from the entire odontogram (with confirmation)
Export Controls
- Descargar - Generates and uploads professional PNG report to Airtable
- Exportar - Downloads odontogram data as JSON file
Content Area
Dentition Type Selector
Radio buttons to switch between adult and children’s teeth:- Adulto - Shows permanent dentition (teeth 11-48, 32 teeth total)
- Niño - Shows primary dentition (teeth 51-85, 20 teeth total)
Annotation Layer Selector
Toggle between pre-existing and required treatment layers:The layer selector determines the color of new annotations:
- Pre-existing (red) - Treatments already present in the patient’s mouth
- Required (blue) - Treatments needed or planned
Odontogram Canvas
The main interactive canvas element:Notes Section
Displays treatment data and per-tooth notes:- Treatment summary for each marked tooth
- Editable text areas for clinical notes
- Layer categorization (pre-existing vs. required)
Navigation Flow
Typical Workflow
- Select dentition type - Choose adult or children’s teeth
- Select annotation layer - Choose pre-existing or required
- Select treatment - Click a treatment button in the controls column
- Apply to teeth - Click on tooth surfaces in the canvas
- Add notes - Enter clinical observations in the notes section
- Export/Download - Generate reports when documentation is complete
Keyboard & Mouse Interactions
- Click treatment button - Activates treatment mode (button highlights)
- Click tooth surface - Applies selected treatment to that surface
- Click delete mode - Enables deletion, then click teeth to remove treatments
- Type in notes - Auto-saves after 2 seconds of inactivity
Interface Styling
The application uses a clean, professional color scheme:- Primary colors: Clinical whites and grays
- Treatment indicators: Red (pre-existing) and blue (required)
- Interactive elements: Blue highlights for active buttons
- Status indicators: Green (saved), yellow (editing)
Responsive Design
The interface maintains fixed proportions:- Controls column: 20% width
- Content area: 80% width
- Canvas: 900px × 450px
- Header: Fixed 60px height with patient info