170.315(d)(5) Automatic access time-out

170.315(d)(5) requires a certified Health IT Module to stop user access after a predetermined period of inactivity and require authentication before access resumes. Here is what that takes to build, test and evidence.

On this page

What 170.315(d)(5) asks a health IT developer to prove

A developer seeking or maintaining certification for a Health IT Module must show that the module does two things. First, it automatically stops user access to electronic health information after a predetermined period of inactivity. Second, it requires the user to authenticate again before access can be resumed or regained. The first half is a timed control the developer sets and can demonstrate. The second half ensures that the session cannot simply continue from where it stopped. Both halves have to work together, and the developer must be able to show the predetermined period it has chosen and how the re-authentication step is enforced.

The risk behind this criterion is easy to picture. A clinician logs in on a shared workstation at a nursing station, steps away to a patient room, and leaves a chart open. Anyone walking past can read or change records under that clinician's identity. The criterion removes that window by ending the session on a timer and forcing a fresh login. In practice, a developer has to confirm what counts as inactivity (keystrokes, mouse movement, API calls, background refresh), whether the timer is configurable by the customer, and whether a locked session truly blocks reads and writes rather than only hiding the screen.

Session control gets harder when one product spans several access paths. A web front end, a set of APIs, a mobile app and an administrative console each may issue tokens, cache data and keep sessions alive differently. A timer that ends the browser session may leave an API token valid for hours, and a mobile app may refresh credentials silently. Before a developer makes its attestation, it should inventory every surface that exposes electronic health information, test the time-out on each one, and confirm with its certification body how it will document the predetermined period and the re-authentication behavior for each path.

Which modules, sessions and users fall under the time-out criterion

Scope for (d)(5) starts with the product, not the policy: which Health IT Module and version carries the certification, and which sessions in it hold electronic health information. The cards below separate the decisions that change the work and point to where the 170.550(h) framework and the CCG v4.0 list tie this criterion to other certified capabilities.

Module and version boundary

Start by listing each Health IT Module, product version and deployment package that the developer has certified or plans to certify to (d)(5). The time-out behavior must exist in every version listed on the certificate, so a patch release that changes session handling can affect scope. Confirm with the developer which modules share a session framework, because a shared component usually means a shared finding.

Read 170.315 text

User interfaces that show health information

Map every user interface that displays or lets a user edit electronic health information, including web clients, desktop clients and mobile views. Each one needs the same inactivity control, because a time-out that protects the main web portal but not a secondary tablet view leaves a gap an assessor will find. Record the inactivity period configured for each interface.

Admin and API sessions

Decide whether administrative consoles, reporting tools and system-to-system API sessions are in scope. Human admin sessions that can view health information are usually in scope. Service accounts and API tokens follow different rules, since the criterion speaks to user access, so document the reasoning and the owner of each decision rather than leaving it implicit.

Hosting responsibility split

Clarify who sets and maintains the time-out when the customer hosts the module in its own infrastructure, when the developer hosts it, or when a third party operates it. Hosted deployments often rely on the developer's defaults, while self-hosted deployments depend on the customer's configuration files and identity provider settings. Write the split into the contract and the configuration baseline.

Linked criteria in the CCG

The CCG v4.0 lists (d)(5) with (a)(1) through (5), (a)(10), (a)(12) through (15), (b)(1) through (3), (b)(6) through (9), (c) and (e)(1) through (3), and adds (b)(11) from January 1, 2028 under 170.550(h)(3). Map which of these criteria the same module is certified to, because the 170.550(h) framework ties the privacy and security criteria to them and gaps in one can affect the others.

Read the CCG v4.0

Users and roles covered

List the user roles that can reach health information, such as clinicians, billing staff, support engineers and patients using a portal. Confirm that the time-out applies to each role and that no role has an exemption that is not documented. Pair this list with the access controls in (d)(1) so the session rules and the role rules are tested against the same population.

How an assessor tests the automatic time-out

This table walks through each step an assessor takes to test 170.315(d)(5), with the evidence requested and the findings that most often cause a failed or qualified result. Read it as a test script: each row is one check, and the last column shows where implementations usually break.

Test stepWhat the assessor checksEvidence requested or where it fails
Review the documented periodThe predetermined inactivity period is written down, applies to the module, and can be configured by the customerEvidence: configuration reference and admin guide. Fails when the default timeout is undocumented or only set in code
Configure and start a sessionA test user signs in and the session is active on each access path (web, API client, mobile view)Evidence: test plan listing each access path and the account used. Fails when only the web UI is tested
Leave the session idleThe assessor waits the full predetermined period with no user input, using a timed script or stopwatchEvidence: test script, timestamps and screenshots of the idle start and end. Fails when activity from background polling resets the clock
Confirm access stopsRequests to view or export health information are refused after the period endsEvidence: logged refused requests and a screenshot of the sign-in prompt. Fails when sessions survive token refresh and keep returning data
Confirm re-authentication to resumeThe user must authenticate again before access returns, and the stopped session cannot be reusedEvidence: login transcript and audit log entry. Fails when re-login or a cached cookie restores access without authentication
Test configurabilityThe period can be changed by an authorized administrator within the documented range, and the change takes effectEvidence: before and after configuration exports and a test run at the new value. Fails when the setting is ignored for some session types
Check logs and recordsTime-out events are recorded so an auditor can see when access was stopped and resumedEvidence: log extracts from the audit log. Fails when time-out events are not logged or logs lack timestamps

How to implement and test session time-out in a self-hosted platform

This sequence turns the 170.315(d)(5) requirement into a documented inactivity setting, enforced timeouts across every session type, re-authentication before access resumes, and test evidence an assessor can trace back to the requirement.

  1. Define and document the inactivity period

    The compliance lead and the platform owner agree on the predetermined period of inactivity after which the platform must stop user access to health information. The decision is recorded in a settings baseline that names the value, the business rationale, the owner who approved it and the systems it covers. The step is complete when the baseline is signed off and stored with the system documentation, so an assessor can see where the value came from. Confirm the value against your own policy and the current text of the criterion in the eCFR, since the requirement itself does not fix a number.

  2. Map every session type that touches health information

    The engineering team lists each route by which a user or client reaches health information in the self-hosted platform: the web interface, the API, administrative consoles, background integration accounts and any remote administration path. Each entry is tagged with the session mechanism it uses, such as a browser session, a token or a service login. The output is a session inventory that shows where the inactivity control must apply. The step is complete when the inventory has no unlisted route and the owner has reviewed it.

  3. Configure idle timeout across web, API and admin sessions

    The platform administrator sets the inactivity control on each session type from the inventory, using the platform's own configuration keys or admin settings. API tokens and service accounts are handled explicitly, because an idle token that is never expired may fall outside the user-session control. Each change is made through the change process, not by ad hoc edits on the production host. The step is complete when the live configuration matches the settings baseline for every session type in the inventory.

  4. Enforce re-authentication before access resumes

    Once a session has stopped, the platform must require the user to authenticate again before health information is shown or any action is allowed. The identity team checks that resuming access goes through the same identity provider and login method as the original session, and that cached pages or stored tokens cannot bypass the prompt. The output is a short record of the login path for each session type. The step is complete when a stopped session cannot reach data without a fresh authentication.

  5. Test with scripted idle sessions

    The security engineer writes scripted test cases that open a session, leave it idle for the configured period and then attempt to read health information or call an API endpoint. Each case records whether access stopped, whether re-authentication was required and whether any data appeared before the prompt. The tests run for every session type in the inventory and are repeated after any configuration or upgrade change. The step is complete when every case passes and the results are saved with timestamps and the tested version.

  6. Record the outputs as assessment evidence

    The compliance lead assembles the settings baseline, the test results and the change record for each configuration change, linking them to the session inventory. Each artifact names the system version, the person who ran the test and the date, so the evidence can be traced to a specific configuration. Gaps found in testing are logged with an owner and retested before closure. The step is complete when an independent reviewer can follow the chain from the requirement to the baseline, the test and the change record without asking the implementation team for explanations.

  7. Confirm the certified product's own conformance

    Where the platform is a Health IT Module that a developer certifies, the developer owns the certification and the test results issued under the ONC Health IT Certification Program, so the open-source configuration does not replace that process. Ask the developer or your certification body which test procedure and version applies to your module and whether your configuration falls within the tested scope. The step is complete when the scope question is answered in writing and any deviation from the certified configuration is documented.

Where time-out logic sits in the stack and why it breaks

An automatic time-out is only as strong as the weakest component that holds a session. In a typical web or API deployment, the idle timer may live in the browser, a reverse proxy or API gateway, the application's session store, or the identity provider (IdP) that issued the original sign-in. Each of these layers can keep a session alive independently, so the organization must decide which one is authoritative for the (d)(5)(i) inactivity period and make sure every other layer defers to it. Before a deployment is reviewed, map each trust boundary, record which component starts and resets the inactivity clock, and record where the session is forcibly ended. Confirm these details with the product documentation for each component in your own environment, since default behavior differs between platforms and versions.

The most common failure is a long-lived refresh token or cached session that keeps access alive after the user has stopped working. If the browser silently exchanges a refresh token for new access tokens, the application may treat the user as still signed in even though no human interaction has occurred. A cached session in the application or gateway can produce the same result when the idle timer only checks the session cookie and not the time of the last user action. Review token lifetimes at the IdP, the refresh token policy, the absolute session maximum and whether a refresh counts as activity. Ask the team to demonstrate, with a test account, that access to health information stops after the configured inactivity period and that the user must authenticate again to resume.

The IdP and the application must also agree on what counts as activity. If the IdP treats any background request, such as a heartbeat, token refresh or silent single sign-on check, as activity, the idle timer will never expire while a browser tab is open. If the application counts only explicit clicks and keystrokes, a user reading a long record could be logged out in the middle of legitimate work, which creates pressure to disable the timer. Document a single activity definition, map it to the setting in each component, and test both the expiry path and the re-authentication path. Illustrative example: a clinician leaves a workstation with a record open for a period longer than the configured limit, and the test confirms that the next request triggers sign-in rather than returning data.

How an idle session is stopped and resumed

The flow starts with a user session that is active in the application. The application's inactivity timer counts idle time, and when it reaches the period the developer has set, the application revokes access and invalidates the session tokens, which is the stop required by 170.315(d)(5)(i). When the user tries to return, the application sends them to the identity provider, which must authenticate them again before any access is regained under (d)(5)(ii). A new session is then issued and recorded. Check that the timeout value is configurable, that tokens are actually invalidated server-side, and that the re-authentication step cannot be bypassed.

Idle session stopped by the application, then re-authenticated through the identity provider.

Evidence that shows a time-out works and stays working

A time-out criterion is only as good as the proof behind it. The artifacts below show what the setting is, that it behaves correctly for each kind of session, and that it still behaves that way after upgrades and changes.

Documented inactivity period and baseline

Record the predetermined inactivity period the module enforces, the setting name, default value, the range an administrator can choose, and who may change it. Store the configuration baseline as a versioned file alongside the product documentation, so an assessor can compare the shipped default with what a customer deployed. Confirm with the developer whether the period is fixed, configurable, or both, because the answer changes what you must test and what you must document for customers.

Criterion text

Test records for each session type

Keep a dated test log for every session path that can reach electronic health information, including the web interface, API clients, mobile sessions and any administrative console. For each path, record the inactivity interval, the observed time-out, and whether access stopped completely rather than only hiding data on screen. A single passing test on one browser does not show that the criterion holds across the paths your customers use.

Re-authentication proof

Capture evidence that access cannot resume without fresh authentication. Screenshots or recorded sessions should show the user returned to a login step, that stale tokens or cookies no longer grant access, and that a refreshed page does not reopen the session. Include the authentication method used for resumption so the record ties back to the identity controls described in the d-series identity criterion.

Change logs for the time-out setting

Maintain a change record showing when the inactivity period was altered, who altered it, the old and new values, and the reason. Store these records in a system the administrator cannot silently edit. Auditors often ask for this history when a customer reports that sessions expire too early or too late, and a missing entry is hard to explain after the fact.

Retest results after each upgrade

Repeat the time-out tests after every release, patch, or change to the identity provider, proxy or session store, since these components can override the module setting. Compare results against the baseline and file any regression with its remediation and retest date. Confirm the upgrade schedule with the developer, because customers must receive updated modules by the dates set for each revised criterion.

Configuration drift monitoring

Use continuous configuration checks to confirm that deployed systems still match the documented baseline between certification and surveillance events. Open-source options such as Wazuh Security Configuration Assessment can compare configuration files and processes against YAML policies, and Fleet policies can ask yes or no questions of endpoints. Confirm that the chosen tool can check the specific setting on each platform, since coverage varies by operating system and application.

Wazuh SCA docs

What meeting the time-out criterion costs in money and effort

This table breaks down the cost components of meeting 170.315(d)(5), showing who is paid for each, whether it is one-time or recurring, and what drives it up or down. Use it to scope a quote and to see where open-source tooling reduces license spend while engineering effort remains. No prices or durations are given because none are supplied for this criterion.

Cost componentWho is paidOne-time or recurringWhat drives it
Session timeout configuration across interfacesInternal engineers or implementation partnerOne-time, then re-checked on changeNumber of user interfaces, APIs and session types the module exposes
Identity provider configuration for inactivity and re-authenticationIdentity and access team or implementation partnerOne-time, plus updates when identity settings changeIdentity architecture, such as single sign-on, local accounts or federated sessions
Testing each session type and resume pathTest engineers, QA or external testerOne-time per release cycle, then recurringCount of session types, browsers, clients and whether resume requires full re-authentication
Evidence capture for the time-out setting and re-authenticationCompliance lead and engineersRecurring after each releaseRelease frequency, how often settings change and how evidence is stored
Monitoring that time-out settings stay in placePlatform or security operations staffRecurringFleet size, number of hosts or services to check and alerting design
Open-source tooling for configuration checksEngineering time to set up and maintain; no license fee for the toolsOne-time setup, recurring upkeepChoice of tools, custom policy authoring and number of endpoints in scope
Independent review or assessment, if chosenAssessor, certification body or external testerRecurring at each assessment or review cycleScope, the assessor's fee basis and whether evidence is ready when they arrive

Which open-source tools can support time-out evidence

Wazuh's Security Configuration Assessment (SCA) scans monitored endpoints for misconfigurations using YAML policies. The policies are shipped mostly based on CIS benchmarks and can be extended with custom policies that check files, directories, registry keys and running processes, and it recommends remediation for failed checks. For time-out evidence, this is useful where a workstation or kiosk setting controls how long an idle session stays open before the screen locks. Wazuh is licensed under GPL-2.0-only, so confirm with counsel how its terms apply to your deployment before you distribute any modified agent or policy.

  • Host-level session settings: A custom policy can check that a screen-lock or idle setting exists on the endpoint and report pass or fail.
  • Custom policy authoring: Teams can write checks for their own baseline instead of relying only on shipped benchmark content.
  • Recurring results: Scan output gives a dated record of which endpoints pass, which supports a repeatable operating process.
  • Remediation guidance: Failed checks come with recommended fixes, which helps the platform team close gaps and show the change.
  • Scope limit: A passing host check does not prove that the application ends the session after inactivity.

Before relying on a Wazuh policy as evidence, confirm the exact check logic, the policy version and the endpoint population it covered.

Where time-out implementations usually fall short

A time-out that works in a demo can still leave health information open in practice. The gaps below cluster around what counts as activity, which credentials outlive a session, how re-entry is handled, and whether each deployment behaves the same way and can prove it.

Idle timers reset by background polling

Many clients refresh data in the background, so a browser tab or dashboard that polls an endpoint can reset the inactivity timer even when no person is at the keyboard. The criterion asks for a stop after a predetermined period of inactivity, so polling traffic should not count as user activity. Check whether the timer listens to user input events only, and test by leaving a chart open with no interaction and confirming access stops on schedule.

API tokens that outlive the session

A user can sign out of the interface while a bearer token, refresh token or integration credential keeps reading electronic health information. Either the token must be bound to the session lifecycle or its lifetime must be short and re-validated against the user's active state. Test by ending a session, then replaying the token from an API client and confirming the request is refused.

Re-login that skips authentication

When a user returns after a time-out, some products show a lock screen that accepts a click or a cached session instead of requiring fresh authentication. The criterion requires user authentication before access can be resumed or regained, so the resume path must run the same verification as a first login. Test each resume route, including browser back navigation, SSO silent renewal and mobile app wake-up.

Undocumented defaults across deployments

The inactivity period and the resume behavior are often set in configuration files, environment variables or identity provider policies, and each deployment can drift from the others. A default that changed during an upgrade may go unnoticed for months. Record the effective value in every environment, store it under change control, and ask the vendor which settings are product defaults and which are site overrides.

Session types with no evidence

Web sessions, mobile sessions, administrator consoles, reporting tools and integration accounts may each use a different timer or none at all. An assessor will ask for proof for each type, not one representative test. Build a table of session types with the configured period, the resume method and the test result, and keep dated screenshots, configuration exports and test logs for each row.

How much work does the time-out criterion take, and can we do it ourselves?

How much effort does the automatic time-out criterion take to meet?

The effort is usually modest compared with the criteria that need audit logs or encryption, but it is not zero. The criterion asks the module to stop user access to health information after a predetermined period of inactivity and to require authentication before access resumes. The work has three parts: configuring and testing the inactivity timer, building the re-authentication step into every access path (web, mobile, API sessions and any administrative console), and producing test records that show the behavior. Effort rises when a product has many client types, legacy session handling, or several identity providers. Ask your team to inventory every entry point that displays electronic health information before estimating hours.

Do we need outside help to prepare for this criterion?

Many developers prepare this criterion with their own engineers, because the technical work sits inside the product. Outside help is most useful for an independent view of session behavior, for documenting how the configuration is set and tested, and for checking that the evidence will make sense to a certification body. DeployOpen can prepare systems, controls and evidence for a compliance assessment, and can test a self-hosted deployment, but it does not issue certifications. An independent certification body or accredited testing lab issues the certification. Confirm with your certification body which test artifacts it expects before deciding how much help you need.

How long does preparation take for the time-out criterion?

Preparation time depends on scope, and no single duration applies across products. The main drivers are the number of user interfaces and APIs that expose health information, how much session handling is already centralized, whether the product uses a single identity provider, and how many test environments must be documented. A product with one web client and a central session service will move much faster than a platform with several legacy modules. Ask any advisor for a written scope that lists each access path, the test cases and the deliverables, and set the timeline from that document. Plan extra time for retesting after any change to the session or authentication code.

What does the work need from engineering and product teams?

Engineering owns the implementation, and product owns the decision about what the predetermined inactivity period is and how users resume a session. Engineers need to define the inactivity timer, confirm that it applies to every client, and make sure re-authentication cannot be bypassed by refreshing tokens or reopening a tab. Product must document the configured period, the user experience when a session stops, and any exceptions. Quality assurance needs scripted test cases that run each path. Security and compliance staff should review the written configuration so that the description matches the code. Agree on these owners early, because the most common delays come from unclear ownership of the timer setting.

Can self-hosted open-source tools produce evidence for the time-out criterion?

Open-source tools can help with the surrounding evidence, but they do not test the session timer inside your health IT module. Wazuh's Security Configuration Assessment checks endpoints against YAML policies, often based on CIS benchmarks, so it can show that host-level settings such as screen lock or idle policies are configured on managed machines. osquery can run scheduled queries across a fleet to read process and configuration state, and Fleet policies show which devices pass or fail a yes or no check. These outputs support the operating environment, not the application's inactivity logic. The module's own session tests, configuration screenshots and logs remain the primary evidence. Confirm with your certification body which evidence it accepts from endpoint tooling.

What are the limits of open-source endpoint tooling for this criterion?

The main limit is scope. Endpoint tools see devices and hosts, while the criterion applies to the health IT module's session behavior in every client and API path. A fleet policy can show that a laptop locks after a set idle period, but it cannot prove that a web session ends after the configured inactivity period or that a resumed session requires authentication. Velociraptor collects forensic artifacts and runs hunts across systems, which helps investigations but does not verify application logic. Treat these tools as supporting evidence for the environment, and plan separate, reproducible tests for the application. Document what each tool covers so an assessor does not mistake host checks for product proof.

How do we keep time-out evidence current after releases?

Evidence goes stale when session code, identity providers, client frameworks or the configured inactivity period change, so treat it as a release artifact rather than a one-time package. Attach the session test cases to your change process, rerun them on each release that touches authentication or session handling, and store the results with the version number. Keep the written configuration, including the predetermined inactivity period, under version control. Recheck the criterion when the applicable Part 170 requirements or the certification companion guide change. Ask your team to confirm the current revision of the companion guide before each certification cycle, since the guidance is updated over time.

What should we ask a partner before agreeing to a time-out scope?

Ask for a written scope that lists every access path in the module, the test cases, the evidence format and the retest approach. Confirm who performs each task and who signs off on the configured period. Ask how the partner handles changes after delivery and whether retesting is included or billed separately. Request a clear statement of what the partner does not do: it should prepare evidence and systems, while an independent certification body issues the certification. DeployOpen plans and implements self-hosted platforms in client infrastructure and delivers fixed-scope engagements agreed in writing before work starts, so a quote follows from the scope rather than a published price list.

How DeployOpen scopes the time-out work

DeployOpen scopes time-out work as a fixed engagement, agreed in writing before any work starts. The scope usually names the self-hosted platforms in the client's own infrastructure, the identity provider and session settings that control inactivity, the roles that can change them, and the evidence the client's compliance team needs to review. DeployOpen plans and implements the configuration, tests whether an idle session actually stops access to health information and whether re-authentication is required to resume it, and prepares the evidence. DeployOpen does not issue certifications, attestations or test reports that a developer relies on for certification. Only the health IT developer, through its ONC-Authorized Certification Body, can take a module through certification, so the scope should state that boundary plainly.

The scope decisions that matter most are which components hold session state, such as the web application, API gateway, identity provider and any desktop or mobile clients, and which of them the client controls. A session can be stopped in one layer while another keeps a token alive, so the scope should list every layer that issues or honors a session. Ask for the timeout value and its source, the re-authentication method, and whether administrators can change the predetermined period. Confirm with the client's developer or certification body which product version and configuration will be assessed, because a change to either can reopen the test.

After go-live, the scope should cover retesting after every change to the identity provider, session library, proxy or client build, since a routine upgrade can alter inactivity handling. DeployOpen can retest against the agreed scope and prepare updated evidence, and ongoing support is available as a retainer. Readers should ask for the test cases, the evidence format, the retest triggers and the handover owner in the written scope, and should confirm with their certification body what it will accept as evidence before the work begins.

How DeployOpen works on this

DeployOpen helps organizations prepare the session time-out capability and the evidence that shows it works for 170.315(d)(5). We plan, configure and document the self-hosted platforms in your own infrastructure, and we prepare the proof for your certification team and assessor, who make the final determination.

How we scope

  • Each engagement starts with a written scope that names the health IT modules, environments and user access paths covered by the time-out criterion.
  • We confirm the predetermined inactivity period, its configuration owner and where the setting is enforced across web, API and admin sessions.
  • Scope, deliverables and timelines are agreed in writing before work starts, and most engagements are fixed-scope, with a quote following from that scope.

How we build

  • We configure automatic session termination and re-authentication on resume, then test that stopped access cannot be reused without signing in again.
  • We align identity provider and SSO session settings with the application time-out so inactivity rules do not conflict or silently extend sessions.
  • We check how endpoint hardening and configuration checks, such as Wazuh, osquery or Fleet policies, can confirm that time-out settings stay in place on managed hosts.

How we hand over

  • We document the time-out configuration, the test steps and the results so your team and assessor can repeat the check independently.
  • We deliver an evidence pack with configuration exports, test records and change history, mapped to the inactivity and re-authentication requirements of 170.315(d)(5).
  • We confirm with your certification body which evidence format and sample scope they expect before final handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so time-out settings are rechecked after each platform update.
  • When a module is revised or updated, we retest the time-out behavior and refresh the documentation and evidence for the new version.
  • Your organization keeps ownership of its controls and certification decisions, while DeployOpen prepares systems and evidence for the independent assessment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.