Clara Form
Dental chart (odontogram) you can use online and add to your software
Interactive dental chart in FDI notation: click teeth and surfaces, mark conditions and treatments, export JSON or FHIR, and add it to your software.
Pick a condition in the chart menu, then click a tooth surface: findings are drawn in red, completed treatments in blue. Right-click a tooth for its menu; Help explains the surfaces.
Loading the preview…
- Finding (condition present): caries, defective restoration, crown, missing tooth…
- Completed treatment: resin, amalgam, sealant, endodontics, implant…
- Surfaces per tooth: vestibular, lingual or palatal, mesial, distal and occlusal or incisal; the whole tooth for crowns, extractions and mobility
- FDI notation: 11 to 48 permanent teeth, 51 to 85 primary teeth
For developers: the code and how to integrate it
<!-- Clara Form from the CDN: registers <clara-form> and defines window.ClaraForm -->
<script src="https://cdn.clara.care/form/latest.js"></script>
<main class="demo">
<clara-form lang="en" theme="light" submit-label="Save dental chart"></clara-form>
<section class="demo-out" aria-labelledby="export-h">
<div class="demo-actions">
<h2 id="export-h">Export</h2>
<button type="button" id="json">JSON</button>
<button type="button" id="fhir">FHIR QuestionnaireResponse</button>
</div>
<pre id="output" aria-live="polite">Mark a tooth to see the odontogram JSON here.</pre>
</section>
</main>
// Inline template: the same shape GET /api/templates returns.
// A field of type "odontogram" draws the Clara dental chart (FDI notation,
// permanent and deciduous teeth) with its condition menu.
const template = {
id: 'dental-chart-demo',
name: 'Dental record',
sections: [
{
key: 'visit',
label: 'Visit',
fields: [
{ id: 'reason', type: 'text', label: 'Reason for visit', placeholder: 'Check-up, pain, cleaning…' },
],
},
{
key: 'chart',
label: 'Dental chart',
fields: [
{
id: 'odontogram',
type: 'odontogram',
label: 'Odontogram',
helpText: 'Pick a condition and click a tooth or one of its surfaces. Right-click or the menu key opens the tooth menu.',
},
],
},
{
key: 'plan',
label: 'Plan',
fields: [{ id: 'plan', type: 'textarea', label: 'Treatment plan' }],
},
],
};
const form = document.querySelector('clara-form');
form.template = template;
const output = document.querySelector('#output');
const show = (value) => { output.textContent = JSON.stringify(value, null, 2); };
// Every chart change arrives as clara-change with the teeth map.
form.addEventListener('clara-change', (e) => {
if (e.detail.fieldId === 'odontogram') show(e.detail.value);
});
document.querySelector('#json').addEventListener('click', () => {
show(form.getValues().odontogram || {});
});
// FHIR R4: the odontogram travels as a valueString with the list of actions.
document.querySelector('#fhir').addEventListener('click', () => {
show(form.toFhir({ status: 'in-progress', subject: { reference: 'Patient/example' } }));
});
form.addEventListener('clara-submit', (e) => show(e.detail.fhir));
Every value on this page is synthetic. Never paste real patient data into a public page.
How it works
Load Clara Form
One script tag from cdn.clara.care registers the <clara-form> element and defines window.ClaraForm.
Add an odontogram field
In the template, a field with type "odontogram" draws the full chart: permanent and deciduous teeth in FDI notation, with the condition menu and the help button.
Mark conditions
Select a condition, then click a tooth for whole-tooth conditions or a surface for surface conditions. Right-click or the menu key opens the tooth menu. Keyboard: Tab moves through the teeth, Enter marks.
Export
Every change arrives as clara-change with the teeth map. getValues() returns it, toFhir() wraps it in a QuestionnaireResponse where the odontogram is a valueString with the list of actions.
An odontogram is the dental chart dentists use to record the state of every tooth: caries, restorations, crowns, missing or unerupted teeth, and the treatment plan. The chart below is the Clara odontogram, interactive and ready to use: pick a condition, click a tooth or one of its surfaces, and read the result as JSON or as a FHIR QuestionnaireResponse.
For dentists it works as a digital odontogram on this page. For developers it is one field of type odontogram inside a Clara Form template: the same component ships inside the @clara.care/form package and as a standalone CDN script.
What the chart records
Teeth follow the FDI two-digit notation: quadrants 1 to 4 for permanent teeth (11 to 48) and 5 to 8 for deciduous teeth (51 to 85). Each tooth has eight areas: the whole tooth (0), the vestibular and lingual or palatal bands (1 and 2), the mesial and distal halves (3 to 6) and the occlusal or incisal center (7).
Two types of marks exist: findings (conditions present, drawn in red) and completed treatments (drawn in blue). Whole-tooth conditions include crown, endodontics, missing, unerupted, extraction indicated, implant and mobility grades; surface conditions include caries, adapted or defective resin and amalgam, fracture line, temporary filling, sealant and cervical resin.
The data behind the chart
The value of the field is a teeth map: an object keyed by tooth number, each with its whole-tooth condition and its marked surfaces. In the FHIR export the same information becomes a list of actions, one per mark: { key, type, area, action }. Your software can store either shape, or both.
Clara also fills the odontogram by voice during a consultation: the clinician says the tooth and the finding, and the chart updates through the clara:odontogram-updated event. This page does not call the voice service; the chart here is filled by hand.
Standalone odontogram
If you only need the chart, without the rest of the form, the same component is published as a standalone script at cdn.clara.care/odontogram/latest.js. It exposes window.ClaraOdontogram with init(), getData(), setData() and clear().
<div id="odontogram"></div>
<script src="https://cdn.clara.care/odontogram/latest.js"></script>
<script>
const chart = ClaraOdontogram.init({
container: '#odontogram',
onChange: (teeth) => console.log(teeth),
});
// chart.getData() → [{ key: '18', type: 'hallazgo', area: 7, action: 'caries' }]
// chart.setData([{ key: '36', type: 'hallazgo_realizado', area: 0, action: 'corona' }])
</script>
Questions about this example
Is this dental chart free to use online?
The chart on this page is a public demonstration you can use freely with synthetic data. Nothing you mark is sent anywhere: the values stay in your browser until you leave. Using the component inside your own software requires an agreement with Clara.
Which tooth numbering does the odontogram use?
FDI World Dental Federation notation, two digits per tooth. Permanent teeth go from 11 to 48 and deciduous teeth from 51 to 85. Supernumerary teeth take the SN suffix.
How do I mark a surface instead of the whole tooth?
Choose a surface condition such as caries or resin, then click the surface on the tooth: the vestibular or lingual band, a mesial or distal half, or the occlusal center. Whole-tooth conditions such as crown or missing apply with one click on the tooth.
Can the odontogram be filled by voice?
Yes, inside a Clara consultation. The clinician dictates the tooth and the finding and the widget applies the action, publishing clara:odontogram-updated for your page. This example keeps the voice service out and lets you mark the chart by hand.
How is the odontogram exported to FHIR?
toFhir() returns a FHIR R4 QuestionnaireResponse. The odontogram item carries a valueString with the JSON array of actions, each with the tooth key, the type (finding or treatment), the area and the condition. Your server can parse it or store it as is.
Does the chart work with a keyboard?
Every tooth is a button. Tab moves between teeth, Enter or Space marks the whole tooth with the selected condition, and the menu key or Shift+F10 opens the tooth menu. Individual surfaces are mouse or touch only.
Planning an integration?
Tell us about your system and your forms. We run small pilots with technology partners.


