> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stratapt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Automatic Unit Calculation

> How StrataEMR sets billable units from the minutes you enter on a timed charge line, and how to review or undo a change.

Automatic Unit Calculation sets the number of units on a timed charge line based on the minutes you enter. It lives in the Charge Advice section at the bottom of a clinical note and uses the minute rule that applies to the patient's payer.

The feature is the first line of defense for accurate minute-rule data entry. You decide how much time you spent on each service. StrataEMR does the unit math so your billed units match your documented minutes.

> [!NOTE]
>
> **Access:** Your organization turns this feature on in Settings. After it is on, every clinician who completes Charge Advice sees the automatic unit changes.

***

## How Automatic Unit Calculation Works

StrataEMR updates units when all of the following are true:

* Automatic Unit Calculation is on for your organization.
* A minute rule is set for the patient's payer.
* You enter or change the minutes on a timed charge line.

StrataEMR then selects the number of units for that line and shows a notice that explains what changed. Units update shortly after you stop typing minutes, or immediately when you leave the Minutes field.

Untimed codes do not use minutes, so StrataEMR does not change their units.

***

## Which Minute Rule StrataEMR Applies

StrataEMR follows the minute rule set for each payer. StrataPT configures this setting. See [Timed Units and the Procedure Minute Rule](https://docs.stratapt.com/documentation/billing/medicare.md#timed-units-and-the-procedure-minute-rule) for more detail.

**CMS 8-minute rule** StrataEMR calculates units across the whole encounter. It adds up the minutes for all timed lines and splits the resulting units across the lines.

**AMA minute rule** StrataEMR calculates units line by line. Each line uses only its own minutes.

***

## How CMS Calculation Splits Units Across Lines

Under the CMS rule, StrataEMR gives each line one unit for every whole 15-minute block of its minutes. It then assigns any remaining units to the lines with the most leftover minutes.

For example, you document two timed services in one visit:

| Charge line | Minutes | Whole 15-minute blocks | Leftover minutes |
| - | - | - | - |
| 97110 | 20 | 1 | 5 |
| 97530 | 18 | 1 | 3 |

The encounter totals 38 minutes, which supports 3 units under the CMS rule. Each line receives 1 unit for its whole block. The third unit goes to 97110 because it has the most leftover minutes. StrataEMR sets 97110 to 2 units and 97530 to 1 unit.

![charge advice units split across lines](https://mintcdn.com/stratapt/XK_77-vi6JOI-CFm/images/CleanShot-2026-11-16-at-2.39.55-PM.gif?s=b5244c8b33fa776a081a22d038e4ba9d)

***

## Review and Undo a Change

When StrataEMR changes units, a notice appears below the Charge Advice table. The notice lists every change and follows this pattern:

> Units updated per the \[CMS 8-minute / AMA] minute rule: \[Code] set to \[Quantity] for \[Minutes] min. **Undo**

Select **Undo** to restore the previous units for that code.

If you change units yourself, StrataEMR keeps your selection. It updates that line again only when you change its minutes.

> [!NOTE]
>
> **Note:** Automatic Unit Calculation is a helper, not a replacement for your clinical judgment. Review the units on every charge line before you complete the note.

***

## How It Works With Charge Advice Guidance

Automatic Unit Calculation is the first step in a sequence of safeguards:

1. StrataEMR sets units from your minutes.
2. If you then change units or minutes so they no longer match the payer's rule, charge advice guidance explains what is needed and why.
3. If the charge is still out of range when you save, StrataEMR shows an error.

> [!NOTE]
>
> **Note:** Inline charge advice guidance is rolling out separately from Automatic Unit Calculation. Until it is available in your account, you see minute-rule errors when you save the note.

***

## Turn On Automatic Unit Calculation

Practice admins can turn this feature on without contacting support.

**Navigate to Workflows: Menu Bar > Settings > Workflows**

1. Find the automatic unit calculation setting.
2. Toggle it on.
3. Save your changes.

![automatic unit calculation within workflows](https://mintcdn.com/stratapt/XK_77-vi6JOI-CFm/images/CleanShot-2026-11-16-at-2.21.16-PM.png?fit=max\&auto=format\&n=XK_77-vi6JOI-CFm\&q=85\&s=d0b0d06809535dc3dbbaa7bfbd55f8ba)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.