Auto Codes work behind the scenes to insert and validate the correct procedure code depending on a variety of conditions.
In the Main Menu, click Setup, Auto Codes.

See our video: Procedure Buttons, Quick Buttons, and Auto Codes Webinar.
Auto Codes can be associated with Procedure Buttons. Open Dental comes preloaded with many Auto Codes, but additional can be created.
Examples:
- When a primary tooth and two surfaces are selected, then a user clicks the Amalgam procedure button, the correct procedure code is inserted from the Auto Code.
- While Entering Treatment, if a user selects three surfaces for a two-surface procedure code, Open Dental recognizes the mismatch and prompts the user to change to the recommended three-surface procedure code.
To require that staff accept Auto Code suggestions, enable Require use of suggested auto codes in Preferences.
To reset Auto Codes to the default settings, see Procedure Code Tools.
Add: Create a new Auto Code. Opens Edit Auto Code. See Edit Auto Code section below for more information.
Delete: Highlight an existing Auto Code and click to permanently remove.
Edit Auto Code
Double-click an existing Auto Code from the Auto Codes list to edit.

Description: Name of the Auto Code.
Hidden: Remove this Auto Code as available in Procedure Button Edit Procedure Button Edit.
Do not check codes in the procedure edit window, but only use this Auto Code for procedure buttons: If checked, this Auto Code is only used when entering treatment using a Procedure Button. It is not used for validating procedure codes entered on the Procedure Info window or charted using any other method.
Add: Create a new Auto Code Item. See Edit Auto Code Item section below for additional details.
Delete: Highlight an Auto Code Item in the list, then click to remove it from the Auto Code.
All possible conditions must be defined for the Auto Code to work correctly.
Click Save to keep changes.
- If conditions for the Auto Code Items do not match or all conditions from a category are not used, there may be an error when saving.
Edit Auto Code Item
In the Edit Auto Code window, click Add to open Edit Auto Code Item to set up additional Procedure Codes and conditions for an Auto Code. Double-click an existing item row to edit.

Code: Click Change to open Procedure Codes list and select a Procedure Code to attach.
Conditions: Highlight conditions to trigger the procedure code. Available conditions are:
- Anterior: Grouped with Posterior. Can also be grouped with Molar and Premolar.
- Posterior: Grouped with Anterior.
- Premolar: Grouped with Molar and Anterior.
- Molar: Grouped with Premolar and Anterior.
- One_Surf: Grouped with other Surfaces (e.g., Two_Surf, Three_Surf, etc.)
- Two_Surf: Grouped with other Surfaces (e.g., One_Surf, Three_Surf, etc.)
- Three_Surf: Grouped with other Surfaces (e.g., One_Surf, Two_Surf, etc.)
- Four_Surf: Grouped with other Surfaces (e.g., One_Surf, Two_Surf, etc.)
- Five_Surf: Grouped with other Surfaces (e.g., One_Surf, Two_Surf, etc.)
- First: Grouped with Each Additional.
- Each Additional: Grouped with First.
- Maxillary: Grouped with Mandibular.
- Mandibular: Grouped with Maxillary.
- Primary: Grouped with Permanent.
- Permanent: Grouped with Primary
- Pontic: Grouped with Retainer. Used if a tooth is missing. Mark teeth as missing from the Chart Module Missing/Primary Teeth tab. Teeth with treatment planned extractions are also considered Pontic.
- Retainer: Grouped with Pontic. Used if a tooth is not missing.
- AgeOver18: This condition is not functional and should not be used.
Multiple conditions from the same category grouping should not be assigned to a single Auto Code Item, as it is not possible for multiple conditions to be met simultaneously. If the same code is used for multiple conditions in the same condition group, create separate Auto Code Items (e.g., D2394 is used for both Four_Surf and Five_Surf).
Most of the conditions are based on tooth number.
- For example, for tooth number 5, the Anterior condition is false, the Posterior condition is true, and the Premolar condition is true.
- First and Each Additional generally only apply when multiple teeth are selected on the Graphical Tooth Chart and a user clicks a Procedure Button (e.g., for a PA). The first one meets the First condition, and the remaining are Each Additional.
- For Pontic and Retainer, a tooth is considered missing if it has been marked as missing in the Chart Module (an extraction or using Missing/Primary Teeth), this includes a tooth where an implant may be placed. So the Pontic condition is met if the tooth is missing, and the Retainer condition is met if the tooth is not missing.